notification subscription reactions were being removed from auto-update `t/list` messages
This commit is contained in:
Tim Wilson 2020-09-10 11:10:56 -06:00 committed by GitHub
parent c11145ba84
commit 2952d2b143
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

4
bot.py
View File

@ -1661,9 +1661,9 @@ async def list_transfers(message, content="", repeat_msg_key=None):
del msgs[-1]
REPEAT_MSGS[repeat_msg_key]['msgs'] = msgs
if message.channel.last_message_id != msgs[-1].id:
rxnEmoji = ['📜','🖨','']
rxnEmoji = ['📜','🖨','','🔔','🔕']
else:
rxnEmoji = ['📜','']
rxnEmoji = ['📜','','🔔','🔕']
else:
msgs = [await message.channel.send(embed=e) for e in embeds]
if message.author.dm_channel is not None and message.channel.id == message.author.dm_channel.id: