disabled command registering service (temporary)

This commit is contained in:
mmacierzanka committed 2021-09-18 01:27:51 +02:00
1 parent 3960e0ac26
commit e968667bbb
1 file changed
+2
+2
View File
@@ -377,6 +377,8 @@ export class CommandManager {
}
public async register(): Promise<void> {
console.warn("[⚠️ WARNING] Command registering is not functional in this build because of the huge structure rework. It will be available again soon.");
return;
const globalCommands = this._commands
.filter((c) => {
if (c.isGuildCommand() && (!Array.isArray(c.guilds) || c.guilds.length === 0)) {