Delete shutdown.js
This commit is contained in:
parent
c473664918
commit
b3d9cd32de
1 changed files with 0 additions and 13 deletions
|
@ -1,13 +0,0 @@
|
|||
|
||||
module.exports = {
|
||||
name: 'shutdown',
|
||||
description: '(Owner Only) Shuts down the bot.',
|
||||
execute(client, message, args) {
|
||||
if (message.author.id == 309427567004483586) {
|
||||
message.channel.send("<a:NyabotWorking:697147309531594843> Shutting Down...").then
|
||||
client.destroy()
|
||||
.catch(console.error)
|
||||
} else {
|
||||
message.channel.send("<:NyabotDenied:697145462565896194> Access Denied, You must be bot owner to execute this command.");
|
||||
}
|
||||
}}
|
Reference in a new issue