diff options
| author | Rapptz <[email protected]> | 2016-01-06 11:34:49 -0500 |
|---|---|---|
| committer | Rapptz <[email protected]> | 2016-01-06 11:34:49 -0500 |
| commit | 2ebfbbe471ce32a3cd29ee2099a3c9de77fa311c (patch) | |
| tree | 8a332c941434a695a4f7ca39e0e1aba8ee7f994e /examples/echo.py | |
| parent | [commands] Add CommandNotFound error. (diff) | |
| download | discord.py-2ebfbbe471ce32a3cd29ee2099a3c9de77fa311c.tar.xz discord.py-2ebfbbe471ce32a3cd29ee2099a3c9de77fa311c.zip | |
Examples now use Python 3.5. Remove echo.py example.
Diffstat (limited to 'examples/echo.py')
| -rw-r--r-- | examples/echo.py | 16 |
1 files changed, 0 insertions, 16 deletions
diff --git a/examples/echo.py b/examples/echo.py deleted file mode 100644 index 8a0ae864..00000000 --- a/examples/echo.py +++ /dev/null @@ -1,16 +0,0 @@ -import discord - -client = discord.Client() - [email protected]_event -def on_ready(): - print('Connected!') - print('Username: ' + client.user.name) - print('ID: ' + client.user.id) - [email protected]_event -def on_message(message): - if message.author.id != client.user.id: - yield from client.send_message(message.channel, message.content) - -client.run('email', 'password') |