title: Node.js Discordie Bot Promise Rejection Error
body: <p>So, I'm getting a random promise rejection error, constantly. If you can help at all, that would be amazing :)</p>
  
  <p>So, here's the situation. I made a bot for Discord, and it worked great for about 5 minutes (I'm just using basic code until I get used to it, BTW). But, for  no reason I can figure out, I now get the error bellow every time I try to use one of the commands built into my bot.</p>
  
  <p>(node:9896) UnhandledPromiseRejectionWarning: Unhandled promise rejection (rejection id: 2): Error: Forbidden (Missing Permissions)</p>
  
  <p>I don't know how much knowing what my bot's coding looks like will help, I'm new to this (so I also don't know what part is giving me trouble), but I'll include the basic code bellow.</p>
  
  <pre><code>  var Discordie = require('discordie');
  
    const Events = Discordie.Events;
    const client = new Discordie();
  
    client.connect({
    token: 'Don't want to give out my token'
    });
  
    client.Dispatcher.on(Events.GATEWAY_READY, e =&gt; {
      console.log('connected as: ' + client.User.username);
      });
  
    require('events').EventEmitter.prototype._maxListeners = 100;
  
    client.Dispatcher.on(Events.MESSAGE_CREATE, e =&gt; {
    if (e.message.content == 'PING') {
      e.message.channel.sendMessage('PONG');
      }
    });
  </code></pre>
  
  <p>There's a lot of code after this, and I really want to get it to work. Any suggestions are appreciated, just remember I'm a complete noob and speak to me like I'm an idiot:)</p>