aboutsummaryrefslogtreecommitdiff
path: root/examples/echo.py
diff options
context:
space:
mode:
Diffstat (limited to 'examples/echo.py')
-rw-r--r--examples/echo.py8
1 files changed, 0 insertions, 8 deletions
diff --git a/examples/echo.py b/examples/echo.py
index 21908533..ce5eef90 100644
--- a/examples/echo.py
+++ b/examples/echo.py
@@ -1,16 +1,8 @@
import discord
-import logging
-
-# Set up the logging module to output diagnostic to the console.
-logging.basicConfig()
client = discord.Client()
client.login('email', 'password')
-if not client.is_logged_in:
- print('Logging in to Discord failed')
- exit(1)
-
@client.event
def on_ready():
print('Connected!')