first message command, various single response commands

This commit is contained in:
Dragon Fire
2018-10-27 19:56:41 -04:00
parent 136b65b223
commit 8063ae9e34
10 changed files with 101 additions and 3 deletions
+19
View File
@@ -0,0 +1,19 @@
const Command = require('../../structures/Command');
const path = require('path');
module.exports = class NomCommand extends Command {
constructor(client) {
super(client, {
name: 'nom',
aliases: ['kanna-crab'],
group: 'single',
memberName: 'nom',
description: 'Posts a GIF of Kanna eating a crab.',
clientPermissions: ['ATTACH_FILES']
});
}
run(msg) {
return msg.say({ files: [path.join(__dirname, '..', '..', 'assets', 'images', 'nom.gif')] });
}
};
+19
View File
@@ -0,0 +1,19 @@
const Command = require('../../structures/Command');
const path = require('path');
module.exports = class SourceCommand extends Command {
constructor(client) {
super(client, {
name: 'source',
aliases: ['sauce'],
group: 'single',
memberName: 'source',
description: 'Hello! Can you give me the source?',
clientPermissions: ['ATTACH_FILES']
});
}
run(msg) {
return msg.say({ files: [path.join(__dirname, '..', '..', 'assets', 'images', 'source.png')] });
}
};
+18
View File
@@ -0,0 +1,18 @@
const Command = require('../../structures/Command');
const path = require('path');
module.exports = class SourceCommand extends Command {
constructor(client) {
super(client, {
name: 'yoff',
group: 'single',
memberName: 'yoff',
description: 'Posts a picture that truly defines modern art.',
clientPermissions: ['ATTACH_FILES']
});
}
run(msg) {
return msg.say({ files: [path.join(__dirname, '..', '..', 'assets', 'images', 'yoff.png')] });
}
};