diff options
| author | 2020-07-15 10:44:11 +0200 | |
|---|---|---|
| committer | 2020-07-15 10:44:11 +0200 | |
| commit | 80c1dbb240b744ceed5d1ea56c44c91d0014c304 (patch) | |
| tree | 310676953118a03e5ba5229d6c0c1aef67fad63c | |
| parent | Create a UserMentionOrID converter. (diff) | |
How did that except except block get in?
Weird.
https://github.com/python-discord/bot/issues/1041
Diffstat (limited to '')
| -rw-r--r-- | bot/cogs/dm_relay.py | 3 | 
1 files changed, 0 insertions, 3 deletions
| diff --git a/bot/cogs/dm_relay.py b/bot/cogs/dm_relay.py index c5a3dba22..0dc15d4b1 100644 --- a/bot/cogs/dm_relay.py +++ b/bot/cogs/dm_relay.py @@ -60,9 +60,6 @@ class DMRelay(Cog):          else:              await ctx.message.add_reaction("✅")              self.bot.stats.incr("dm_relay.dm_sent") -        except discord.errors.Forbidden: -            log.debug("User has disabled DMs.") -            await ctx.message.add_reaction("❌")      async def fetch_webhook(self) -> None:          """Fetches the webhook object, so we can post to it.""" | 
