def parse_message(message):
    """
    !meme [meme name]; [(optional) text1]; [(optional) text2]
    """
    args = []
    template, top, bot = '', '', ''
    try:
        args = message.split('!meme')[1].split(';')
        print(args)
        cnt = len(args)    
        if cnt >= 1:
            template = args[0].lstrip().split(' ')[0]
        if cnt >= 1:
            top = args[0].lstrip().split(' ')[1]
        if cnt >= 2:
            bot = args[1]
        return {'template': template, 'top': top, 'bot': bot}
    except Exception as e:
        return False