#!/usr/bin/env python3
# -*- coding: utf-8 -*-

' qqBot '
from qqbot import QQBotSlot as qqbotslot, RunBot

__author__ = 'fucai'


@qqbotslot
def onQQMessage(bot, contact, member, content):
    if 'XXX' in contact.name:
        if '/Emoji128054' in content or '狗' in content or 'dog' in content:
            bot.SendTo(contact, 'message1')
        elif '娘' in content or 'niang' in content or '炮' in content or 'pao' in content:
            bot.SendTo(contact, 'message2')

if __name__ == '__main__':
    RunBot()
74e62bd9fd43af43b75303040d0ecc392cb4085b
<mask token>


@qqbotslot
def onQQMessage(bot, contact, member, content):
    if 'XXX' in contact.name:
        if '/Emoji128054' in content or '狗' in content or 'dog' in content:
            bot.SendTo(contact, 'message1')
        elif '娘' in content or 'niang' in content or '炮' in content or 'pao' in content:
            bot.SendTo(contact, 'message2')


<mask token>

<mask token>


@qqbotslot
def onQQMessage(bot, contact, member, content):
    if 'XXX' in contact.name:
        if '/Emoji128054' in content or '狗' in content or 'dog' in content:
            bot.SendTo(contact, 'message1')
        elif '娘' in content or 'niang' in content or '炮' in content or 'pao' in content:
            bot.SendTo(contact, 'message2')


if __name__ == '__main__':
    RunBot()

<mask token>
__author__ = 'fucai'


@qqbotslot
def onQQMessage(bot, contact, member, content):
    if 'XXX' in contact.name:
        if '/Emoji128054' in content or '狗' in content or 'dog' in content:
            bot.SendTo(contact, 'message1')
        elif '娘' in content or 'niang' in content or '炮' in content or 'pao' in content:
            bot.SendTo(contact, 'message2')


if __name__ == '__main__':
    RunBot()

<mask token>
from qqbot import QQBotSlot as qqbotslot, RunBot
__author__ = 'fucai'


@qqbotslot
def onQQMessage(bot, contact, member, content):
    if 'XXX' in contact.name:
        if '/Emoji128054' in content or '狗' in content or 'dog' in content:
            bot.SendTo(contact, 'message1')
        elif '娘' in content or 'niang' in content or '炮' in content or 'pao' in content:
            bot.SendTo(contact, 'message2')


if __name__ == '__main__':
    RunBot()

#!/usr/bin/env python3
# -*- coding: utf-8 -*-

' qqBot '
from qqbot import QQBotSlot as qqbotslot, RunBot

__author__ = 'fucai'


@qqbotslot
def onQQMessage(bot, contact, member, content):
    if 'XXX' in contact.name:
        if '/Emoji128054' in content or '狗' in content or 'dog' in content:
            bot.SendTo(contact, 'message1')
        elif '娘' in content or 'niang' in content or '炮' in content or 'pao' in content:
            bot.SendTo(contact, 'message2')

if __name__ == '__main__':
    RunBot()