FridayNightFunkinBoyfriendBot/commands/rc.js

18 lines
485 B
JavaScript
Raw Normal View History

const CommandError = require('../CommandModules/command_error')
2023-12-17 14:55:27 -05:00
module.exports = {
name: 'rc',
description:['refill the bots core'],
2023-12-20 11:54:03 -05:00
trustLevel: 0,
2023-12-17 14:55:27 -05:00
aliases:['refillcore'],
execute (context) {
const bot = context.bot
if (!bot.options.Core.CorelessMode){
throw new CommandError('&4Could not fill core because Coreless mode is active!')
}else {
2023-12-17 14:55:27 -05:00
bot.core.refill()
context.source.sendFeedback('Successfully Refilled Core!')
}
}
2023-12-17 14:55:27 -05:00
}