final version of stop
This commit is contained in:
parent
6a8559b33f
commit
ca6161933d
1 changed files with 4 additions and 3 deletions
|
@ -4,7 +4,7 @@ module.exports = {
|
||||||
execute(client, message, args) {
|
execute(client, message, args) {
|
||||||
if (message.author.id == 309427567004483586) {
|
if (message.author.id == 309427567004483586) {
|
||||||
const embed = {
|
const embed = {
|
||||||
"title": ":AnitroxWorking: **Shutting Down...**",
|
"title": "<a:AnitroxWorking:697147309531594843> **Shutting Down...**",
|
||||||
"description": "See you next time!",
|
"description": "See you next time!",
|
||||||
"color": 9442302,
|
"color": 9442302,
|
||||||
"footer": {
|
"footer": {
|
||||||
|
@ -13,8 +13,9 @@ module.exports = {
|
||||||
}
|
}
|
||||||
};
|
};
|
||||||
message.channel.send({ embed });
|
message.channel.send({ embed });
|
||||||
client.destroy()
|
setTimeout(function(){
|
||||||
process.exit()
|
client.destroy()
|
||||||
|
}, 5000);
|
||||||
} else {
|
} else {
|
||||||
const denied = {
|
const denied = {
|
||||||
"title": ":AnitroxDenied: Access Denied",
|
"title": ":AnitroxDenied: Access Denied",
|
||||||
|
|
Reference in a new issue