def dance(cmd, message, args):
interaction = grab_interaction(cmd.db, 'dance')
target = get_target(message)
auth = message.author
icons = ['??', '??']
icon = secrets.choice(icons)
if not target or target.id == message.author.id:
response = discord.Embed(color=0xdd2e44, title=f'{icon} {auth.display_name} dances.')
else:
response = discord.Embed(color=0xdd2e44, title=f'{icon} {auth.display_name} dances with {target.display_name}.')
response.set_image(url=interaction['URL'])
response.set_footer(text=make_footer(cmd, interaction))
await message.channel.send(embed=response)
评论列表
文章目录