Пример #1
0
async def tourR2(msg):
    await faith.send_message(msg.channel,
        "We do bench underperforming members when we struggle against a boss. "
        "If you're benched, please don't take it personally. You're always "
        "welcomed to come back for the very next raid. "
        "That's about it for raids!")
    convo.setReply(msg.author, check.confirmation, tour4)
Пример #2
0
async def tour5(msg):
    await faith.send_message(msg.channel,
        "We try to live up to our name and be a home of casuals and raiders "
        "alike, just like we've been doing in the last 7 years. "
        "Welcome to our guild!")
    convo.setReply(msg.author,
        (lambda x: "thank" in x.content.lower()),
        tour6)
Пример #3
0
async def moreFunction(message):
    f  = random.choice(FaithData.capabilities)
    r1 = "Have I mentioned that I can " + f + "?"
    r2 = "Umm... I can " + f + "."
    r3 = "I can also " + f + "!"
    convo.setReply(message.author, (lambda x: "else" in x.content),
    	    moreFunction)
    await faith.send_message(message.channel,
        random.choice([r1, r2, r3]))
Пример #4
0
async def function(message):
    f1 = random.choice(FaithData.capabilities)
    f2 = random.choice(FaithData.capabilities)
    while f1 == f2:
        f2 = random.choice(FaithData.capabilities)
    r1 = "Umm... I can " + f1 + " and " + f2 +"?"
    r2 = "To start with, I'm able to " + f1 + " and " + f2 + "..."
    convo.setReply(message.author, (lambda x: "else" in x.content),
    	    moreFunction)
    await faith.send_message(message.channel,
        random.choice([r1, r2]))
Пример #5
0
async def tour1(msg):
    if check.negative(msg):
        await faith.send_message(msg.channel,
            "Sorry! I must've misunderstood.")
        convo.clearReply(msg.author)
        return
    await faith.send_message(msg.channel,
            "Ok! The most interesting thing is our in-game calendar. "
            "All guild events are posted on there. If you have event "
            "ideas, please let me or the officers know after this tour! "
            "Ready to move on?")
    convo.setReply(msg.author, check.confirmation, tour2)
Пример #6
0
async def neck(message):
    spec = getSpec(message.content.lower())
    if not spec:
        await faith.send_message(message.channel,
                "What class/spec are you playing?")
        convo.setReply(message.author,
            (lambda x: getSpec(x.content.lower())), neckReply)
    else:
        iv = random.choice(["Icy Veins said \"",
                        "According to Icy Veins, \""])
        await faith.send_message(message.channel,
                iv + FaithData.neckenchs[spec] + "\".")
Пример #7
0
async def tour4(msg):
    await faith.send_message(msg.channel,
        "Our guild bank is free for all. If you want something that "
        "you can't take out, please let an officer (orange rank and above) "
        "know! Try to donate when you take something out though.")
    convo.setReply(msg.author, check.confirmation, tour5)
Пример #8
0
async def tourR1(msg):
    await faith.send_message(msg.channel,
        "We distribute loots using a rank system that's based on both "
        "performance and participation. "
        "For more details, see <#274725221041307649>.")
    convo.setReply(msg.author, check.confirmation, tourR2)
Пример #9
0
async def tourR(msg):
    await faith.send_message(msg.channel,
        "Check the in-game calendar for raid times and requirements. "
        "Our Friday nights have the lowest requirements so that's "
        "usually a great place to start.")
    convo.setReply(msg.author, check.confirmation, tourR1)
Пример #10
0
async def tour2(msg):
    await faith.send_message(msg.channel,
            "Our raid team is around 5th in horde on our server. "
            "We're always looking for more raiders! "
            "Do you want to hear about our raids?")
    convo.setReply(msg.author, check.binary, tour3)
Пример #11
0
async def tour(msg):
    await faith.send_message(msg.channel,
        "Hello! My name is Faith, and I'm your tour guide today. "
        "Are you ready?")
    convo.setReply(msg.author, check.binary, tour1)
    return