* Move command files into directories * Edit relative paths * Update gitignore * Finish support for commands in subdir * Split up getCommandFiles into own function * Add support for subdirs on help command
14 lines
No EOL
253 B
JavaScript
14 lines
No EOL
253 B
JavaScript
module.exports = {
|
|
name: 'say',
|
|
description: 'Repeats arguments',
|
|
execute({message, args}) {
|
|
|
|
if(args.length == 0)
|
|
message.channel.send("Can't send empty message");
|
|
else{
|
|
message.channel.send(args.join(" "))
|
|
message.delete()
|
|
}
|
|
|
|
}
|
|
}; |