11 Commits

Author SHA1 Message Date
Rapptz
8591cfc5e7 Run black on all examples and require it for CI 2022-03-24 23:40:59 -04:00
Austin
5780ff5ef0
Add message content intent to examples 2022-03-06 23:04:48 -05:00
pikaninja
1952060e1a
make examples on_ready consistent 2021-04-09 18:05:33 -04:00
Rapptz
9d39b135f4 Modernize code to use f-strings
This also removes the encoding on the top, since Python 3 does it by
default. It also changes some methods to use `yield from`.
2021-04-04 07:03:53 -04:00
Capn
dd5762d9ed Add missing asyncio imports from the examples 2018-11-24 22:17:58 -05:00
Modelmat
1436af3b18 Removes redundant asyncio import
Not much point importing asyncio when it's not being used, it was there for when @asyncio.coroutine was used previously
2018-08-22 21:06:09 -04:00
Rapptz
1e09432c45 Update examples to use the new generic wait_for. 2017-01-26 04:30:47 -05:00
Rapptz
f8a5d890fe Update examples to match the new rewrite API. 2017-01-03 20:58:11 -05:00
Rapptz
72e84a1b47 Change all email/password pair examples to use token. 2016-04-08 22:02:38 -04:00
Rapptz
2ebfbbe471 Examples now use Python 3.5. Remove echo.py example. 2016-01-06 11:34:49 -05:00
Rapptz
ba3e00c3bf Add guessing game example to showcase wait_for_message. 2015-12-19 23:57:42 -05:00