Exemplo n.º 1
0
def command_users_in(m):
    cid = m.chat.id
    users_in = Log.listUsersInside()
    bot.send_message(cid, users_in)
Exemplo n.º 2
0
def command_users_in(m):
    cid = m.chat.id
    users_in = Log.listUsersInside()
    bot.send_message(cid, users_in) 
Exemplo n.º 3
0
def command_status(m):
    cid = m.chat.id
    if Log.listUsersCount() > 0:
        bot.send_message(cid, "Site Open")
    else:
        bot.send_message(cid, "Site Closed")
Exemplo n.º 4
0
def command_status(m):
    cid = m.chat.id
    if Log.listUsersCount() > 0:
        bot.send_message(cid, "Site Open")
    else:
        bot.send_message(cid, "Site Closed")