qeled / discordie

Predictable JavaScript abstractions for Discord API.
https://qeled.github.io/discordie/
BSD 2-Clause "Simplified" License
190 stars 45 forks source link

client.User.setGame() not doing anything. #120

Closed ajgeiss0702 closed 6 years ago

ajgeiss0702 commented 6 years ago

I am making a simple bot just to play around with some of the features. I try to set the game, but nothing happens. Here is my code for it:

client.Dispatcher.on(Events.GATEWAY_READY, e => {
  console.log("Connected as: " + client.User.username);
  var game = {
    name: 'the best game'
  };
  client.User.setGame(game);
});

I have also tried simply giving it a string, same result.

Am I doing something wrong?

Edsardio commented 6 years ago

Should switch to the dev branch for this to work, Q isn't really active so he hasn't pushed it to master yet

ajgeiss0702 commented 6 years ago

Ok, thanks

ajgeiss0702 commented 6 years ago

How can I switch to the dev branch from node?

linuswillner commented 6 years ago

npm install github:qeled/discordie#dev

ajgeiss0702 commented 6 years ago

Thank you.