Example #1
0
def rjomba():
    message = ''
    attachment = random.choice(return_mongo(collection='rjomba', id_='id'))
    return message, attachment
Example #2
0
def cat_mem():
    attachment = random.choice(return_mongo(collection='cat_memes', id_='id'))
    return None, attachment
Example #3
0
def press():
    attachment = random.choice(return_mongo(collection='f', id_='id'))
    return None, attachment
Example #4
0
def ajomba():
    attachment = random.choice(return_mongo(collection='ajomba', id_='id'))
    return None, attachment
Example #5
0
def cat():
    text = 'Вот вам котик :) \n В следующий раз я пришлю тебе другого котика'
    attachment = random.choice(return_mongo(collection='cat', id_='id'))
    return text, attachment