Ejemplo n.º 1
0
def twitter_send(c, sender, msg):
    if have_access(sender) is True:
        twitt.statuses.update(status=msg)
        c.notice(sender, "Twitt o treści '{0}' został opublikowany".format(msg))
    else:
        c.notice(sender, "Nie masz uprawnień do wysyłania wiadomości")
Ejemplo n.º 2
0
def kill(c, nick):    
    if have_access(nick) is True:
        c.disconnect()
    else:
        c.notice(nick, "Brak uprawnień do komendy")
Ejemplo n.º 3
0
def kill(c, nick):
    if have_access(nick) is True:
        c.disconnect()
    else:
        c.notice(nick, "Brak uprawnień do komendy")