diff options
| -rw-r--r-- | bot/exts/moderation/dm_relay.py | 5 | 
1 files changed, 5 insertions, 0 deletions
| diff --git a/bot/exts/moderation/dm_relay.py b/bot/exts/moderation/dm_relay.py index 68a48c67c..1d2206e27 100644 --- a/bot/exts/moderation/dm_relay.py +++ b/bot/exts/moderation/dm_relay.py @@ -55,6 +55,11 @@ class DMRelay(Cog):          )          paste_link = await send_to_paste_service(metadata + output, extension="txt") + +        if paste_link is None: +            await ctx.send(f"{Emojis.cross_mark} Failed to upload output to hastebin.") +            return +          await ctx.send(paste_link)      async def cog_check(self, ctx: Context) -> bool: | 
