aaaaaaaaaaaaaaaaaa

This commit is contained in:
SadlyNotSappho 2023-02-10 19:24:03 -08:00
parent 78c732a002
commit cfd972557d
3 changed files with 6 additions and 2 deletions

View File

@ -2,7 +2,7 @@
"name": "discord-button-roles", "name": "discord-button-roles",
"version": "1.0.0", "version": "1.0.0",
"main": "dist/index.js", "main": "dist/index.js",
"author": "@sapphire", "author": "SadlyNotSappho",
"license": "LGPL-3.0", "license": "LGPL-3.0",
"scripts": { "scripts": {
"build": "tsc", "build": "tsc",

View File

@ -14,7 +14,7 @@ export class UserCommand extends Command {
.setDescription(this.description); .setDescription(this.description);
}, },
{ {
guildIds: ['1030563119132594187'] // guildIds: []
// idHints: [] // idHints: []
} }
); );

View File

@ -19,5 +19,9 @@ export class UserCommand extends Command {
} }
]}] ]}]
}); });
await message.guild?.commands.fetch()
console.log('message.guild.commands.cache, after fetching:', message.guild?.commands.cache)
} }
} }