diff options
| author | Rapptz <[email protected]> | 2016-04-08 22:02:38 -0400 |
|---|---|---|
| committer | Rapptz <[email protected]> | 2016-04-08 22:02:38 -0400 |
| commit | 72e84a1b47049d44498738458f8bf89c302a033a (patch) | |
| tree | a3dbf45c3063494cafa2a8898e6e401ca686d8db /examples/background_task.py | |
| parent | Change login, start and run to be variadic. (diff) | |
| download | discord.py-72e84a1b47049d44498738458f8bf89c302a033a.tar.xz discord.py-72e84a1b47049d44498738458f8bf89c302a033a.zip | |
Change all email/password pair examples to use token.
Diffstat (limited to 'examples/background_task.py')
| -rw-r--r-- | examples/background_task.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/examples/background_task.py b/examples/background_task.py index d08415e3..38dbf482 100644 --- a/examples/background_task.py +++ b/examples/background_task.py @@ -23,7 +23,7 @@ loop = asyncio.get_event_loop() try: loop.create_task(my_background_task()) - loop.run_until_complete(client.login('email', 'password')) + loop.run_until_complete(client.login('token')) loop.run_until_complete(client.connect()) except Exception: loop.run_until_complete(client.close()) |