Skip to content

Instantly share code, notes, and snippets.

@ThatsNoMoon
Created February 3, 2017 00:00
Show Gist options
  • Save ThatsNoMoon/907a13009b7439d567a4de6c69bcf7b3 to your computer and use it in GitHub Desktop.
Save ThatsNoMoon/907a13009b7439d567a4de6c69bcf7b3 to your computer and use it in GitHub Desktop.
const commando = require('discord.js-commando');
class GameCommand extends commando.Command {
constructor(client) {
super(client, {
name: 'game',
group: 'general',
memberName: 'game',
description: 'Sets bot\'s game status',
format: '``game [game]`'
});
}
async run(message, args) {
if (message.author.id == 257711607096803328) {
message.reply('hello ThatsNoMoon');
}
else {
message.reply('go away, weirdo');
}
}
module.exports = GameCommand;
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment