mirror of
https://github.com/arthur-pbty/xiao.git
synced 2026-06-24 02:15:10 +02:00
Make Code Prettier
This commit is contained in:
@@ -24,7 +24,7 @@ module.exports = class SayCommand extends Command {
|
||||
}
|
||||
|
||||
run(msg, args) {
|
||||
if (!msg.channel.permissionsFor(this.client.user).has('MANAGE_MESSAGES'))
|
||||
if(!msg.channel.permissionsFor(this.client.user).has('MANAGE_MESSAGES'))
|
||||
return msg.say('This Command requires the `Manage Messages` Permission.');
|
||||
const { text } = args;
|
||||
msg.delete();
|
||||
|
||||
Reference in New Issue
Block a user