fix: bot crashing whenever someone disabled DMs and warning

This commit is contained in:
2024-03-03 17:29:10 +01:00
parent 81be67064b
commit 518a567806
2 changed files with 7 additions and 4 deletions

View File

@@ -17,7 +17,8 @@ class SubscribeCommand(commands.Cog):
await interaction.response.send_message(
":information_source: You have been subscribed to **BeReal. notifications**\n\
:arrow_right: You will receive every day notifications whenever it's\
time to BeReal.\n:warning: You may unsubscribe at any time using `/unsubscribe`.",
time to BeReal.\n:warning: You may unsubscribe at any time using `/unsubscribe`.\n\
:red_circle: **Make sure you enabled DMs from this server!**",
ephemeral=True,
)
else: