Skip to content

Commit

Permalink
Add files via upload
Browse files Browse the repository at this point in the history
  • Loading branch information
i-am-zynn authored Feb 14, 2020
1 parent 99635f9 commit 5d18d04
Show file tree
Hide file tree
Showing 2 changed files with 22 additions and 0 deletions.
12 changes: 12 additions & 0 deletions Commandes/say.js
Original file line number Diff line number Diff line change
@@ -0,0 +1,12 @@
const Discord = require('discord.js');

module.exports.run = (client, message, args) => {
let say = args.join(' ').slice(0);

message.delete();
message.channel.send(say);
}

module.exports.help = {
name: 'say'
}
10 changes: 10 additions & 0 deletions Commandes/version.js
Original file line number Diff line number Diff line change
@@ -0,0 +1,10 @@
const Discord = require('discord.js');
const config = require('../config');

module.exports.run = (client, message, args) => {
message.channel.send('Version du bot : `' + config.version + '`');
}

module.exports.help = {
name: 'version'
}

0 comments on commit 5d18d04

Please sign in to comment.