FridayNightFunkinBoyfriendBot/commands/errortest.js

14 lines
385 B
JavaScript
Raw Normal View History

2023-12-17 14:55:27 -05:00
const CommandError = require('../CommandModules/command_error')
module.exports = {
name: 'errortest',
description:['test errors'],
aliases:['error', 'errtest', 'errtst'],
2023-12-20 11:54:03 -05:00
trustLevel: 0,
2023-12-17 14:55:27 -05:00
execute (context) {
const message = context.arguments.join(' ')
//context.source.sendFeedback('hint hover your mouse over the error')
throw new Error(message)
}
}