12 lines
No EOL
315 B
JavaScript
12 lines
No EOL
315 B
JavaScript
const CommandError = require('../CommandModules/command_error')
|
|
|
|
module.exports = {
|
|
name: 'errortest',
|
|
description:['test errors'],
|
|
execute (context) {
|
|
const message = context.arguments.join(' ')
|
|
//context.source.sendFeedback('hint hover your mouse over the error')
|
|
throw new Error(message)
|
|
|
|
}
|
|
} |