therealmistericraft / MisteriBot

The MisteriBot is a Discord Bot, actually designed only to work on my Server, but I want to change this.
2 stars 0 forks source link

Reaction commands wont work on other applications #43

Closed therealmistericraft closed 4 years ago

therealmistericraft commented 4 years ago

Problem Description

If the script runs on another Discord Application (other Token), Reactions from the bot get noticed as user reactions.

Example

  1. Bot runs with other token than mine
  2. *help gets executed
  3. The Close Reaction from the bot will close the help embed

Problem Source

In the on_raw_reaction_add Methods, there are only exceptions for the IDs of MisteriBot an MisteriBot W.I.P.

Fix

Instead of ID exceptions, there should be an exception for client.user.id