title: Discord.js: Manually triggering events
body: <p>I have a basic moderation bot in <code>discord.js</code>, written in <code>node.js</code>. I need to run some tests on the bots but to do so, I need to toggle an event. I know that <code>node.js</code> has an <code>e.dispatchEvent(event)</code> but, to my knowledge, <code>discord.js</code> does not have a function like that. </p>
  
  <p>I was wondering what the equivalent of that would be.</p>