- Fix about command pfp
- Update sub/unsub command perms
This commit is contained in:
parent
dcf5518288
commit
04d3cb80e0
|
@ -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",
|
||||
|
|
4
index.js
4
index.js
|
@ -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":
|
||||
|
|
Loading…
Reference in a new issue