我试图在一个不和谐的渠道向每个人发送一个私人信息,如果他们有一个特定的角色。from discord.ext import commandsasync def message_role(ctx, role: discord.Role, *, message):
for member in ctx.message.server.m
我最近接触了OpeNweather应用程序接口,在这篇文章的帮助下我做了一个简单的当前天气命令:How to make a weather command using discord.py v1.4.1我是API的新手,所以我需要使用Forecast API的帮助(文档可以在这里找到https://openweathermap.org/api/hourly-forecast) 我正在为我的机器人使用discord.py重写