【发布时间】:2020-12-01 02:25:48
【问题描述】:
我需要帮助的部分在底部 任何建议和帮助将不胜感激。 以下是全部代码:
#Get Discord
import discord
# Client
client= discord.Client()
@client.event
async def on_ready():
# Commands
testing_channel = client.get_channel(781417659019034634)
await testing_channel.send ('Ready')
@client.event
async def on_message(message):
if message.content == 'why is corey sad':
testing_channel = client.get_channel(781417659019034634)
await testing_channel.send ('Because julia got a bf 0.2 secs after breaking up with him')
@client.event
async def on_typing(channel, user, when):
if user.id == 574638576155754498:
testing_channel = client.get_channel(781417659019034634)
await testing_channel.send('Why')
【问题讨论】:
-
有什么问题?
-
也尽快删除您的令牌并更改它!!!!!!!有人可以控制你的机器人
-
我现在就去做!而且每当有人键入它时,它就不会说该消息。
标签: discord.py