from plugin import Plugin
from utils import create_logger
from config import OwnerID

class Jacob_Noah(Plugin):
    is_global = True
    log = create_logger('noah_stuff')

    async def on_message(self, message, pfx):
        if message.content.startswith('<@' + self.client.id + '> kish meh'):
            await self.client.send_typing(message.channel)
            cmd_name = 'Jacob Noah Meme'
            self.log.info('User %s [%s] on server %s [%s], used the ' + cmd_name + ' command on #%s channel',
                          message.author,
                          message.author.id, message.server.name, message.server.id, message.channel)
            if message.author.id == OwnerID:
                await self.client.send_message(message.channel, 'Of course <@' + OwnerID + '>, my love, anything for you! Chu~')
            else:
                await self.client.send_message(message.channel, 'Ew <@' + OwnerID + '>... Would kindly piss off...')
from plugin import Plugin
from utils import create_logger
from config import OwnerID

class Jacob_Noah(Plugin):
    is_global = True
    log = create_logger('noah_stuff')

    async def on_message(self, message, pfx):
        if message.content.startswith('<@' + self.client.user.id + '> kish meh'):
            await self.client.send_typing(message.channel)
            cmd_name = 'Jacob Noah Meme'
            self.log.info('User %s [%s] on server %s [%s], used the ' + cmd_name + ' command on #%s channel',
                          message.author,
                          message.author.id, message.server.name, message.server.id, message.channel)
            if message.author.id == OwnerID:
                await self.client.send_message(message.channel, 'Of course <@' + OwnerID + '>, my love, anything for you! Chu~')
            else:
                await self.client.send_message(message.channel, 'Ew <@' + OwnerID + '>... Would kindly piss off...')
Fix for the noah thing