回答編集履歴

1

変数名の変更

2021/09/29 14:28

投稿

Tai4
Tai4

スコア49

test CHANGED
@@ -16,11 +16,11 @@
16
16
 
17
17
  async def hs(message):
18
18
 
19
- def check(wait_message):
19
+ def check(waited_message):
20
20
 
21
- is_dm = type(wait_message.channel) == discord.DMChannel
21
+ is_dm = type(waited_message.channel) == discord.DMChannel
22
22
 
23
- is_same_user = wait_message.author == message.author
23
+ is_same_user = waited_message.author == message.author
24
24
 
25
25
  return is_dm and is_same_user
26
26