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