@client.command( pass_context = True )
async def кик( ctx, member: discord.Member, *, reason = 'bb city' ):
emb = discord.Embed( title = 'kick', colour = discord.Color.red() )
await member.kick( reason = reason )
emb.set_author( name = member.name, icon_url = member.avatar_url )
emb.add_field( name = 'kick uses', value = 'Kick user : {}'.format( member.mention ) )
emb.set_footer( text = 'Был кикнуt оt {}'.format( ctx.author.name ), icon_url = ctx.author.avatar_url )
await ctx.send( embed = emb )
-
Вопрос задан
-
137 просмотров