Пример #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()
Пример #2
0
def on_quit():
    print("Exiting ...")
    print('Saving settings ...')
    settings.save()
    client.disconnect()
    loop.close()
Пример #3
0
def on_quit():
    print("Exiting ...")
    print('Saving settings ...')
    settings.save()
    client.disconnect()
    loop.close()