Exemplo n.º 1
0
async def normq(ctx):
    blueTeam, _ = Queue.getTeamList()
    await ctx.send(
        "Duis says I am not supposed to queue, but I don't listen to players worse than me..."
    )
    await ctx.send("!q")
    if (len(blueTeam) >= 1):
        await sendMessage(ctx, EasterEggs.NormQ(), "active")
    else:
        await sendMessage(
            ctx, EasterEggs.NormQ(), "queue" if len(blueTeam) == 0
            and Queue.getQueueLength() != 6 else "popped")
Exemplo n.º 2
0
async def on_message(message: discord.Message):
    if (message.author != client.user):
        # message was a reply
        if (message.reference is not None):
            if (any(queue_cmd == message.content.split(" ")[0][1:]
                    for queue_cmd in valid_commands)):
                replied_to_msg = await message.channel.fetch_message(
                    message.reference.message_id)
                replied_to_msg_embeds = replied_to_msg.embeds

                if (not any(embed.title == "Teams are Set!"
                            for embed in replied_to_msg_embeds)):
                    await replied_to_msg.delete()

                await client.process_commands(message)
                await message.delete()

            elif (EasterEggs.commandIsEasterEgg(message)):
                await client.process_commands(message)

        elif (EasterEggs.commandIsEasterEgg(message)):
            await client.process_commands(message)
            return
Exemplo n.º 3
0
async def eight_ball(ctx):
    await ctx.reply(EasterEggs.EightBall(ctx.message.author))
Exemplo n.º 4
0
async def teams(ctx):
    await ctx.reply(EasterEggs.Teams())
Exemplo n.º 5
0
async def coolio(ctx):
    await ctx.reply(EasterEggs.Coolio())
Exemplo n.º 6
0
async def nodought(ctx):
    await ctx.reply(EasterEggs.NoDought())
Exemplo n.º 7
0
async def sad(ctx):
    await ctx.reply(EasterEggs.Sad())
Exemplo n.º 8
0
async def h(ctx):
    await ctx.send(EasterEggs.H())
Exemplo n.º 9
0
async def don(ctx):
    await ctx.reply(EasterEggs.Don())
Exemplo n.º 10
0
async def furry(ctx):
    await ctx.reply(EasterEggs.Furry())
Exemplo n.º 11
0
async def duis(ctx):
    await ctx.reply(EasterEggs.Duis())
Exemplo n.º 12
0
async def zappa(ctx):
    await ctx.reply(EasterEggs.Zappa())
Exemplo n.º 13
0
async def pika(ctx):
    await ctx.reply(EasterEggs.Pika())
Exemplo n.º 14
0
async def turhols(ctx):
    await ctx.reply(EasterEggs.Turhols())
Exemplo n.º 15
0
async def smh(ctx):
    await ctx.reply(EasterEggs.Smh())
Exemplo n.º 16
0
async def f**k(ctx):
    await ctx.reply(EasterEggs.F**k())
Exemplo n.º 17
0
async def oops(ctx):
    await ctx.send(EasterEggs.Oops())
Exemplo n.º 18
0
async def daffy(ctx):
    await ctx.reply(EasterEggs.Daffy())
Exemplo n.º 19
0
async def giddy(ctx):
    await ctx.reply(EasterEggs.Giddy())
Exemplo n.º 20
0
async def twan(ctx):
    await ctx.reply(EasterEggs.Twan())