FridayNightFunkinBoyfriendBot/commands/end.js

18 lines
No EOL
546 B
JavaScript

const CommandError = require('../CommandModules/command_error')
module.exports = {
name: 'end',
description:['/kill the bot or make it /suicide'],
trustLevel: 1,
aliases:['kys','kill','suicide'],
execute (context) {
const bot = context.bot
const message = context.arguments.join(' ')
const args = context.arguments
const source = context.source
source.sendFeedback(`${bot.username} fell out of the world`)
process.exit()
}
}
/*context.source.sendFeedback('farding right now....')
process.exit(1)
*/