【发布时间】:2022-01-07 03:03:50
【问题描述】:
如何在欢迎消息中添加按钮? 按钮切换到另一个频道
@client.event
async def on_member_join(member):
channel = client.get_channel(channelID)
await channel.send(f'Hello')
【问题讨论】:
-
我不需要使用命令,我只需要在我的消息中添加一个按钮,机器人会在问候新成员时自动发送
标签: python discord discord.py bots