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