Answer the question
In order to leave comments, you need to log in
Is there such a bot in Discord?
Maybe someone knows.
Is there a bot that, with the help of a command, grants the right to a specific channel on the server, but not with the help of a role, namely, it adds a specific person to the channel rights
Example: We play mafia ds, and there is a separate channel for the mafia itself, here we need a bot that gave the host's team the rights to the channel for the mafia.
Answer the question
In order to leave comments, you need to log in
Yes, this is possible for this you need a module random
Create your own roles for the game
@client.command(aliases = ['мафия'])
async def игра(ctx):
role = ctx.guild.get_role(
Тут айди ролей которых вы создали
)
await ctx.author.add_roles(role)
await ctx.send(
embed=discord.Embed(
description=f"**Игра началась**",
color=discord.Color.red(),
)
)
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question