Exemplo n.º 1
0
def on_quit():
    print("Exiting ...")
    print("Saving settings ...")
    settings.save()
    print("Setting presence")
    call_threadsafe(set_client_presence, False)
    client.disconnect()
    loop.close()
Exemplo n.º 2
0
def on_quit():
    print("Exiting ...")
    print('Saving settings ...')
    settings.save()
    client.disconnect()
    loop.close()
Exemplo n.º 3
0
def on_quit():
    print("Exiting ...")
    print('Saving settings ...')
    settings.save()
    client.disconnect()
    loop.close()