예제 #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")
예제 #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
예제 #3
0
async def eight_ball(ctx):
    await ctx.reply(EasterEggs.EightBall(ctx.message.author))
예제 #4
0
async def teams(ctx):
    await ctx.reply(EasterEggs.Teams())
예제 #5
0
async def coolio(ctx):
    await ctx.reply(EasterEggs.Coolio())
예제 #6
0
async def nodought(ctx):
    await ctx.reply(EasterEggs.NoDought())
예제 #7
0
async def sad(ctx):
    await ctx.reply(EasterEggs.Sad())
예제 #8
0
async def h(ctx):
    await ctx.send(EasterEggs.H())
예제 #9
0
async def don(ctx):
    await ctx.reply(EasterEggs.Don())
예제 #10
0
async def furry(ctx):
    await ctx.reply(EasterEggs.Furry())
예제 #11
0
async def duis(ctx):
    await ctx.reply(EasterEggs.Duis())
예제 #12
0
async def zappa(ctx):
    await ctx.reply(EasterEggs.Zappa())
예제 #13
0
async def pika(ctx):
    await ctx.reply(EasterEggs.Pika())
예제 #14
0
async def turhols(ctx):
    await ctx.reply(EasterEggs.Turhols())
예제 #15
0
async def smh(ctx):
    await ctx.reply(EasterEggs.Smh())
예제 #16
0
async def f**k(ctx):
    await ctx.reply(EasterEggs.F**k())
예제 #17
0
async def oops(ctx):
    await ctx.send(EasterEggs.Oops())
예제 #18
0
async def daffy(ctx):
    await ctx.reply(EasterEggs.Daffy())
예제 #19
0
async def giddy(ctx):
    await ctx.reply(EasterEggs.Giddy())
예제 #20
0
async def twan(ctx):
    await ctx.reply(EasterEggs.Twan())