mirror of
https://github.com/pieartsy/PluralFlux.git
synced 2026-04-16 17:45:28 +10:00
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 args = messageHelper.parseCommandArgs(content, commandName);
|
||||||
|
|
||||||
const command = commands.get(commandName);
|
const command = commands.get(commandName);
|
||||||
if (command || command.alias) {
|
if (command) {
|
||||||
try {
|
try {
|
||||||
await command.execute(message, client, args);
|
await command.execute(message, client, args);
|
||||||
} catch (err) {
|
} catch (err) {
|
||||||
|
|||||||
Reference in New Issue
Block a user