質問するログイン新規登録

質問編集履歴

1

2021/09/27 15:38

投稿

watn
watn

スコア0

title CHANGED
File without changes
body CHANGED
@@ -22,21 +22,7 @@
22
22
 
23
23
  ### 該当のソースコード
24
24
  ```
25
- async def up1(ctx):
26
- channel = bot.get_channel(CHANNEL_ID1)
27
- await channel.send('xxxxx')
28
25
 
29
-
30
- async def up2(ctx):
31
- channel = bot.get_channel(CHANNEL_ID2)
32
- await channel.send('xxxxx')
33
-
34
-
35
- async def up3(ctx):
36
- channel = bot.get_channel(CHANNEL_ID3)
37
- await channel.send('xxxxx')
38
-
39
-
40
26
  @bot.event()
41
27
  async def on_add_reaction(payload):
42
28
  if payload.channel_id != CHANNEL_ID4: