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