Created
February 3, 2017 00:00
-
-
Save ThatsNoMoon/907a13009b7439d567a4de6c69bcf7b3 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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