예제 #1
0
async def kiss(cmd: SigmaCommand, message: discord.Message, args: list):
    interaction = await grab_interaction(cmd.db, 'kiss')
    target = get_target(message)
    auth = message.author
    if not target or target.id == message.author.id:
        response = discord.Embed(color=0xe75a70, title=f'👄 {auth.display_name} tries to kiss themself.')
    else:
        response = discord.Embed(color=0xe75a70, title=f'👄 {auth.display_name} kisses {target.display_name}.')
    response.set_image(url=interaction['url'])
    response.set_footer(text=make_footer(cmd, interaction))
    await message.channel.send(embed=response)
예제 #2
0
async def highfive(cmd: SigmaCommand, message: discord.Message, args: list):
    interaction = await grab_interaction(cmd.db, 'highfive')
    target = get_target(message)
    auth = message.author
    if not target or target.id == message.author.id:
        response = discord.Embed(color=0xffcc4d, title=f'👏 {auth.display_name} high-fives themself.')
    else:
        response = discord.Embed(color=0xffcc4d, title=f'👏 {auth.display_name} high-fives {target.display_name}.')
    response.set_image(url=interaction['URL'])
    response.set_footer(text=make_footer(cmd, interaction))
    await message.channel.send(embed=response)
예제 #3
0
async def shrug(cmd: SigmaCommand, message: discord.Message, args: list):
    interaction = await grab_interaction(cmd.db, 'shrug')
    target = get_target(message)
    auth = message.author
    if not target or target.id == message.author.id:
        response = discord.Embed(color=0xffcc4d, title=f'­Ъци {auth.display_name} shrugs.')
    else:
        response = discord.Embed(color=0xffcc4d, title=f'­Ъци {auth.display_name} shrugs at {target.display_name}.')
    response.set_image(url=interaction['url'])
    response.set_footer(text=make_footer(cmd, interaction))
    await message.channel.send(embed=response)
예제 #4
0
async def fap(cmd: SigmaCommand, message: discord.Message, args: list):
    interaction = await grab_interaction(cmd.db, 'fap')
    target = get_target(message)
    auth = message.author
    if not target or target.id == message.author.id:
        response = discord.Embed(color=0x5dadec, title=f'💦 {auth.display_name} faps.')
    else:
        response = discord.Embed(color=0x5dadec, title=f'💦 {auth.display_name} faps to {target.display_name}.')
    response.set_image(url=interaction['URL'])
    response.set_footer(text=make_footer(cmd, interaction))
    await message.channel.send(embed=response)
예제 #5
0
async def feed(cmd: SigmaCommand, message: discord.Message, args: list):
    interaction = await grab_interaction(cmd.db, 'feed')
    target = get_target(message)
    auth = message.author
    if not target or target.id == message.author.id:
        response = discord.Embed(color=0xF9F9F9, title=f'🍰 {auth.display_name} eats some food.')
    else:
        response = discord.Embed(color=0xF9F9F9, title=f'🍰 {auth.display_name} feeds {target.display_name}.')
    response.set_image(url=interaction['url'])
    response.set_footer(text=make_footer(cmd, interaction))
    await message.channel.send(embed=response)
예제 #6
0
async def dance(cmd: SigmaCommand, message: discord.Message, args: list):
    interaction = await 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)
예제 #7
0
async def punch(cmd, pld):
    """
    :param cmd: The command object referenced in the command.
    :type cmd: sigma.core.mechanics.command.SigmaCommand
    :param pld: The payload with execution data and details.
    :type pld: sigma.core.mechanics.payload.CommandPayload
    """
    interaction = await grab_interaction(cmd.db, 'punch')
    target, auth = get_target(pld.msg.guild.me, pld.msg), get_author(pld.msg.guild.me, pld.msg)
    ender = 'punches themself' if target.id == pld.msg.author.id else f'punches {target.display_name}'
    response = discord.Embed(color=0xffcc4d, title=f'👊 {auth.display_name} {ender}.')
    response.set_image(url=interaction['url'])
    response.set_footer(text=await make_footer(cmd, interaction))
    await pld.msg.channel.send(embed=response)
예제 #8
0
async def explode(cmd: SigmaCommand, message: discord.Message, args: list):
    interaction = await grab_interaction(cmd.db, 'explode')
    target = get_target(message)
    auth = message.author
    if not target or target.id == message.author.id:
        response = discord.Embed(color=0xcf4737,
                                 title=f'💥 {auth.display_name} explodes.')
    else:
        response = discord.Embed(
            color=0xcf4737,
            title=f'💥 {auth.display_name} blows up {target.display_name}.')
    response.set_image(url=interaction['url'])
    response.set_footer(text=make_footer(cmd, interaction))
    await message.channel.send(embed=response)
예제 #9
0
async def sip(cmd: SigmaCommand, message: discord.Message, args: list):
    interaction = await grab_interaction(cmd.db, 'sip')
    target = get_target(message)
    auth = message.author
    if not target or target.id == message.author.id:
        response = discord.Embed(
            color=0xa6d388,
            title=f'🍵 {auth.display_name} sips their beverage.')
    else:
        response = discord.Embed(
            color=0xa6d388,
            title=
            f'🍵 {auth.display_name} takes a sip with {target.display_name}.')
    response.set_image(url=interaction['URL'])
    response.set_footer(text=make_footer(cmd, interaction))
    await message.channel.send(embed=response)
예제 #10
0
async def dance(cmd, pld):
    """
    :param cmd: The command object referenced in the command.
    :type cmd: sigma.core.mechanics.command.SigmaCommand
    :param pld: The payload with execution data and details.
    :type pld: sigma.core.mechanics.payload.CommandPayload
    """
    interaction = await grab_interaction(cmd.db, 'dance')
    target, auth = get_target(pld.msg.guild.me,
                              pld.msg), get_author(pld.msg.guild.me, pld.msg)
    icon = secrets.choice(icons)
    ender = 'dances' if target.id == pld.msg.author.id else f'dances with {target.display_name}'
    response = discord.Embed(color=0xdd2e44,
                             title=f'{icon} {auth.display_name} {ender}.')
    response.set_image(url=interaction['url'])
    response.set_footer(text=await make_footer(cmd, interaction))
    await pld.msg.channel.send(embed=response)