R
R
RieldaBot2021-09-23 21:47:50
Python
RieldaBot, 2021-09-23 21:47:50

How to make a moderation team?

I have code

@bot.command()
async def manage(ctx, member: discord.Member):
    await member.send(f'{member.mention}, запрос на выдачу роли **ОДОБРЕН**')

How to make this command for those roles that have Administrator ?

Answer the question

In order to leave comments, you need to log in

2 answer(s)
A
Alexander, 2021-09-23
@RieldaBot

https://stackoverflow.com/questions/51240878/disco...

D
demon666top, 2021-09-25
@demon666top

It's easy
@bot.command()
@commands.has_permissions(ban_members=True, kick_members=True)
async def manage(ctx, member: discord.Member):
await member.send(f'{member.mention}, ban request roles **APPROVED**')

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question