I am trying to send a private message to everyone in a discord channel if they have a certain role

后端 未结 0 1492
难免孤独
难免孤独 2021-01-14 03:12

HI i mannged to find this:

@bot.command(pass_context=True)
async def message_role(ctx, role: discord.Role, *, message):
    for member in ctx.message.server.m         


        
相关标签:
回答
  • 消灭零回复
提交回复
热议问题