forgot to build
This commit is contained in:
4
dist/discord.js
vendored
4
dist/discord.js
vendored
@@ -1,6 +1,7 @@
|
||||
"use strict";
|
||||
Object.defineProperty(exports, "__esModule", { value: true });
|
||||
exports.registerCommands = void 0;
|
||||
/* eslint-disable camelcase */
|
||||
const rest_1 = require("@discordjs/rest");
|
||||
const v9_1 = require("discord-api-types/v9");
|
||||
// list of commands to register with discord
|
||||
@@ -46,7 +47,8 @@ const commands = [
|
||||
}
|
||||
]
|
||||
}
|
||||
], commandNames = commands.map(c => c.name);
|
||||
];
|
||||
/*commandNames = commands.map(c => c.name);*/
|
||||
/**
|
||||
* register/reload commands on guild(s)
|
||||
* @param token discord bot token
|
||||
|
||||
Reference in New Issue
Block a user