Skip to content

Commit

Permalink
[ReTrigger] add message reference to fake retrigger messages
Browse files Browse the repository at this point in the history
  • Loading branch information
TrustyJAID committed Jun 17, 2021
1 parent 81c937c commit c6d2810
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions retrigger/message.py
Expand Up @@ -29,6 +29,7 @@ def __init__(self, *, message: discord.Message) -> None:
self.channel = message.channel
self.content = message.content
self.guild = message.channel.guild # type: ignore
self.reference = message.reference
# this is required to fix an issue with cooldown commands
self._edited_timestamp = message.created_at
# this attribute being in almost everything (and needing to be) is a pain
Expand Down

0 comments on commit c6d2810

Please sign in to comment.