- Fix about command pfp
- Update sub/unsub command perms
This commit is contained in:
parent
dcf5518288
commit
04d3cb80e0
|
@ -2,7 +2,7 @@
|
||||||
{
|
{
|
||||||
"name": "subscribe",
|
"name": "subscribe",
|
||||||
"description": "Subscribe to a weather.im room",
|
"description": "Subscribe to a weather.im room",
|
||||||
"default_member_permissions": 0,
|
"default_member_permissions": 16,
|
||||||
"options": [
|
"options": [
|
||||||
{
|
{
|
||||||
"name": "room",
|
"name": "room",
|
||||||
|
@ -66,7 +66,7 @@
|
||||||
{
|
{
|
||||||
"name": "unsubscribe",
|
"name": "unsubscribe",
|
||||||
"description": "Unsubscribe from a weather.im room",
|
"description": "Unsubscribe from a weather.im room",
|
||||||
"default_member_permissions": 0,
|
"default_member_permissions": 16,
|
||||||
"options": [
|
"options": [
|
||||||
{
|
{
|
||||||
"name": "room",
|
"name": "room",
|
||||||
|
@ -81,7 +81,7 @@
|
||||||
{
|
{
|
||||||
"name": "list",
|
"name": "list",
|
||||||
"description": "List all subscribed rooms for this channel",
|
"description": "List all subscribed rooms for this channel",
|
||||||
"default_member_permissions": 0
|
"default_member_permissions": 16
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
"name": "about",
|
"name": "about",
|
||||||
|
|
4
index.js
4
index.js
|
@ -892,6 +892,7 @@ discord.on("interactionCreate", async (interaction) => {
|
||||||
await getUniqueChannels().then((unique) => {
|
await getUniqueChannels().then((unique) => {
|
||||||
uniques = unique;
|
uniques = unique;
|
||||||
});
|
});
|
||||||
|
discord.users.fetch("289884287765839882").then((chrisUser) => {
|
||||||
const embed = {
|
const embed = {
|
||||||
title: "About Me!",
|
title: "About Me!",
|
||||||
thumbnail: {
|
thumbnail: {
|
||||||
|
@ -926,10 +927,11 @@ discord.on("interactionCreate", async (interaction) => {
|
||||||
color: 0x00ff00,
|
color: 0x00ff00,
|
||||||
footer: {
|
footer: {
|
||||||
text: "Made by @chrischrome with <3",
|
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] });
|
interaction.reply({ embeds: [embed] });
|
||||||
|
})
|
||||||
});
|
});
|
||||||
break;
|
break;
|
||||||
case "rooms":
|
case "rooms":
|
||||||
|
|
Loading…
Reference in a new issue