Skip to content

Commit 4342418

Browse files
committed
Fix incorrect rename
1 parent a71898d commit 4342418

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

discord/bot.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -644,7 +644,7 @@ def remove_check(self, func, *, call_once: bool = False) -> None:
644644

645645
try:
646646
l.remove(func)
647-
except guild_dataError:
647+
except ValueError:
648648
pass
649649

650650
def check_once(self, func):

0 commit comments

Comments
 (0)