We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent e14a27c commit 7f28fe1Copy full SHA for 7f28fe1
1 file changed
AutoRole.py
@@ -23,16 +23,6 @@ async def on_ready():
23
#機器人的在線狀態
24
await bot.change_presence(status=discord.Status.online, activity=game)
25
26
-@bot.event
27
-#當有訊息時
28
-async def on_message(message):
29
- #排除自己的訊息,避免陷入無限循環
30
- if message.author == bot.user:
31
- return
32
- #如果包含 peko,機器人回傳 好油哦
33
- if message.content == "peko":
34
- await message.channel.send("好油哦")
35
-
36
@bot.event
37
#當有成員加入(DC群)時
38
async def on_member_join(member):
0 commit comments