🩹 comment devMode due breaking commands

This commit is contained in:
Axel Olausson Holtenäs 2022-04-13 23:47:00 +02:00
parent aa7f4edae2
commit 3d8d9c43bd
No known key found for this signature in database
GPG key ID: 9347A5E873995701

View file

@ -7,9 +7,9 @@ import logger from "@logger";
import { devMode, guildId } from "@config/other";
export default async (client: Client) => {
if (!devMode) {
client?.application?.commands?.set([], guildId).then(async () => {
logger.verbose(`Removed all guild based commands from ${guildId}`);
});
}
// if (!devMode) {
// client?.application?.commands?.set([], guildId).then(async () => {
// logger.verbose(`Removed all guild based commands from ${guildId}`);
// });
// }
};