【发布时间】:2020-03-10 20:05:34
【问题描述】:
所以我有一个可以显示状态的代码(在底部),但我是 python 和脚本的新手,有人帮忙吗?
我试过这样做 =
@client.event
async def on_ready()
await client_presence(activity=discord.Activity(name= "test1", "test2", "test3", type=discord.ActivityType.watching))
但这当然没有用,因为它只是要使用“test1”,现在我不知道该怎么做,所以我来到这里!
@client.event
async def on_ready():
await client.change_presence(activity=discord.Activity(name="You type !help | Made by Iharvested, type !baselink to obtain me!", type=discord.ActivityType.watching))
【问题讨论】:
-
这似乎是关于discord.py 而不是discord.js。
标签: python discord.py