forked from PluralFlux/PluralFlux
got rid of alias until i figure out command handler
This commit is contained in:
2
bot.js
2
bot.js
@@ -35,7 +35,7 @@ client.on(Events.MessageCreate, async (message) => {
|
||||
const args = messageHelper.parseCommandArgs(content, commandName);
|
||||
|
||||
const command = commands.get(commandName);
|
||||
if (command || command.alias) {
|
||||
if (command) {
|
||||
try {
|
||||
await command.execute(message, client, args);
|
||||
} catch (err) {
|
||||
|
||||
Reference in New Issue
Block a user