mirror of
https://github.com/cassoule/flopobot_v2.git
synced 2026-03-18 21:40:27 +01:00
Update app.js comment with proper file extension (#12)
Commands are defined in `commands.js`, not `commands.json`.
This commit is contained in:
2
app.js
2
app.js
@@ -178,7 +178,7 @@ app.post('/interactions', async function (req, res) {
|
||||
app.listen(PORT, () => {
|
||||
console.log('Listening on port', PORT);
|
||||
|
||||
// Check if guild commands from commands.json are installed (if not, install them)
|
||||
// Check if guild commands from commands.js are installed (if not, install them)
|
||||
HasGuildCommands(process.env.APP_ID, process.env.GUILD_ID, [
|
||||
TEST_COMMAND,
|
||||
CHALLENGE_COMMAND,
|
||||
|
||||
Reference in New Issue
Block a user