Answer the question
In order to leave comments, you need to log in
Answer the question
In order to leave comments, you need to log in
hello, there is no such function, but it can be written.
here is the code
@client.command(aliases = ['репорт']) #aliases это список название для команды
async def report(ctx, *, message):
channel = discord.uttils.get(ctx.guild.TextChannels, name = 'название канала')
await channel.send(f'новая жалоба\n{message} ')
await ctx.send('жалоба отправлена', delete_after = 5)
вот пример кода. Улучшите его с помощью embed.
поправьте табуляцию, так как с телефона писать не легко.
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question