diff options
author | 2019-12-25 12:15:23 -0800 | |
---|---|---|
committer | 2020-02-12 10:07:46 -0800 | |
commit | 9e859302ecf2a4d0fd092b21c24ba03401821c0c (patch) | |
tree | 79f0d84b7d56f9f47f2c85c3f52b14522a135e89 | |
parent | Sync: fix overwriting message with None after editing it (diff) |
Sync: remove author mention from confirm prompt
-rw-r--r-- | bot/cogs/sync/syncers.py | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/bot/cogs/sync/syncers.py b/bot/cogs/sync/syncers.py index 5652872f7..ceb046b3e 100644 --- a/bot/cogs/sync/syncers.py +++ b/bot/cogs/sync/syncers.py @@ -43,7 +43,7 @@ class Syncer(abc.ABC): allowed_emoji = (constants.Emojis.check_mark, constants.Emojis.cross_mark) msg_content = ( f'Possible cache issue while syncing {self.name}s. ' - f'Found no {self.name}s or more than {self.MAX_DIFF} {self.name}s were changed. ' + f'More than {self.MAX_DIFF} {self.name}s were changed. ' f'React to confirm or abort the sync.' ) @@ -63,7 +63,7 @@ class Syncer(abc.ABC): message = await channel.send(f"<@&{constants.Roles.core_developer}> {msg_content}") else: - await message.edit(content=f"{message.author.mention} {msg_content}") + await message.edit(content=msg_content) # Add the initial reactions. for emoji in allowed_emoji: |