We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 8c5c540 commit ee00088Copy full SHA for ee00088
ktbpa/ktbpa.py
@@ -9,7 +9,7 @@ def __init__(self, bot):
9
super().__init__()
10
11
async def on_message(self, message):
12
- if message.content[0] != "?":
+ if message.content and message.content[0] != "?":
13
return
14
15
text = message.content
0 commit comments