Added status message
This commit is contained in:
parent
a67aca7363
commit
f9d75b3531
7
bot.js
7
bot.js
@ -33,6 +33,11 @@ var bot = new Discord.Client({
|
||||
bot.on('ready', function (evt) {
|
||||
logger.info('Connected');
|
||||
logger.info('Logged in as: ' + bot.username + ' - (' + bot.id + ')');
|
||||
bot.setPresence({
|
||||
game: {
|
||||
name: 'with dice'
|
||||
}
|
||||
});
|
||||
});
|
||||
|
||||
bot.on('message', function (user, userID, channelID, message, evt) {
|
||||
@ -77,7 +82,7 @@ bot.on('message', function (user, userID, channelID, message, evt) {
|
||||
}
|
||||
});
|
||||
|
||||
function error(error, channelID){
|
||||
function error(error, channelID) {
|
||||
var res = "Sorry, something went wrong.";
|
||||
|
||||
sendMessage(channelID, res);
|
||||
|
||||
Loading…
Reference in New Issue
Block a user