Skip to content

Commit b757dea

Browse files
committed
fix: typeerror
1 parent 2a91242 commit b757dea

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

bot.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1527,7 +1527,7 @@ async def process_commands(self, message):
15271527
thread = await self.threads.find(channel=ctx.channel)
15281528
if thread is not None:
15291529
# If thread is snoozed (moved), auto-unsnooze when a mod sends a message directly in channel
1530-
behavior = self.config.get("snooze_behavior", "delete").lower()
1530+
behavior = (self.config.get("snooze_behavior") or "delete").lower()
15311531
if thread.snoozed and behavior == "move":
15321532
if not thread.snooze_data:
15331533
try:

0 commit comments

Comments
 (0)