mirror of
https://github.com/arthur-pbty/xiao.git
synced 2026-06-11 03:14:35 +02:00
Remove all useless async
This commit is contained in:
@@ -32,11 +32,11 @@ module.exports = class RinSayCommand extends commando.Command {
|
||||
content: rinContent
|
||||
});
|
||||
if (message.content.type !== 'dm') {
|
||||
message.delete();
|
||||
return message.delete();
|
||||
}
|
||||
}
|
||||
catch (err) {
|
||||
message.channel.send(':x: Error! Message failed to send!');
|
||||
return message.channel.send(':x: Error! Message failed to send!');
|
||||
}
|
||||
}
|
||||
};
|
||||
|
||||
Reference in New Issue
Block a user