- Fix about command pfp

- Update sub/unsub command perms
This commit is contained in:
Christopher Cookman 2024-06-18 15:33:18 -06:00
parent dcf5518288
commit 04d3cb80e0
Signed by: ChrisChrome
GPG key ID: A023A26E42C33A42
2 changed files with 45 additions and 43 deletions

View file

@ -2,7 +2,7 @@
{
"name": "subscribe",
"description": "Subscribe to a weather.im room",
"default_member_permissions": 0,
"default_member_permissions": 16,
"options": [
{
"name": "room",
@ -66,7 +66,7 @@
{
"name": "unsubscribe",
"description": "Unsubscribe from a weather.im room",
"default_member_permissions": 0,
"default_member_permissions": 16,
"options": [
{
"name": "room",
@ -81,7 +81,7 @@
{
"name": "list",
"description": "List all subscribed rooms for this channel",
"default_member_permissions": 0
"default_member_permissions": 16
},
{
"name": "about",

View file

@ -892,6 +892,7 @@ discord.on("interactionCreate", async (interaction) => {
await getUniqueChannels().then((unique) => {
uniques = unique;
});
discord.users.fetch("289884287765839882").then((chrisUser) => {
const embed = {
title: "About Me!",
thumbnail: {
@ -926,10 +927,11 @@ discord.on("interactionCreate", async (interaction) => {
color: 0x00ff00,
footer: {
text: "Made by @chrischrome with <3",
icon_url: "https://cdn.discordapp.com/avatars/289884287765839882/2b00063a92adfe08f325353eee29e348.webp?size=1024&format=webp&width=0&height=256"
icon_url: chrisUser.avatarURL()
}
}
interaction.reply({ embeds: [embed] });
})
});
break;
case "rooms":