質問編集履歴
1
エラー文の欠落
test
CHANGED
File without changes
|
test
CHANGED
@@ -122,6 +122,8 @@
|
|
122
122
|
```
|
123
123
|
|
124
124
|
```error
|
125
|
+
|
126
|
+
------
|
125
127
|
Ignoring exception in on_message
|
126
128
|
Traceback (most recent call last):
|
127
129
|
File "/home/hage/.local/lib/python3.9/site-packages/discord/client.py", line 343, in _run_event
|
@@ -132,6 +134,7 @@
|
|
132
134
|
register_dic(words)
|
133
135
|
File "/home/hage/github/discordbot/discordbot.py", line 17, in register_dic
|
134
136
|
if len(words) == 0: return
|
137
|
+
TypeError: object of type 'generator' has no len()
|
135
138
|
```
|
136
139
|
|
137
140
|
エラーが出てお手上げ状態です。
|