Update ban.js
This commit is contained in:
parent
b5453e9563
commit
4edb15af8f
1 changed files with 1 additions and 1 deletions
|
@ -1,5 +1,5 @@
|
|||
exports.run = async (client, message, args, level) => {
|
||||
const user = message.mentions.users.first();
|
||||
const user = message.mentions.users.first() || client.users.get("username", args[0]).id;
|
||||
parseUser(message, user);
|
||||
const modlog = client.channels.find('name', config.modLogChannel);
|
||||
const caseNum = await caseNumber(client, modlog);
|
||||
|
|
Loading…
Reference in a new issue