Skip to content
This repository has been archived by the owner on Oct 2, 2023. It is now read-only.

Commit

Permalink
Merge branch 'experimental' into translations
Browse files Browse the repository at this point in the history
  • Loading branch information
Defelo committed May 1, 2020
2 parents c4b74a5 + 30abedf commit 3bfaf43
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 2 deletions.
3 changes: 2 additions & 1 deletion cogs/metaquestion.py
Original file line number Diff line number Diff line change
Expand Up @@ -86,7 +86,8 @@ async def on_raw_reaction_add(self, message: Message, emoji: PartialEmoji, membe
else:
return True

await message.delete()
await message.clear_reactions()
await message.edit(content=message.content + " http://metafrage.de/", embed=None)
return False

return True
Expand Down
2 changes: 1 addition & 1 deletion morpheushelper.py
Original file line number Diff line number Diff line change
Expand Up @@ -258,7 +258,7 @@ async def prepare():
channel: TextChannel = bot.get_channel(event.channel_id)
if not isinstance(channel, TextChannel):
return
return await channel.fetch_message(event.message_id)
return [await channel.fetch_message(event.message_id)]

await call_event_handlers("raw_reaction_clear", identifier=event.message_id, prepare=prepare)

Expand Down

0 comments on commit 3bfaf43

Please sign in to comment.