aboutsummaryrefslogtreecommitdiff
path: root/examples/echo.py
diff options
context:
space:
mode:
Diffstat (limited to 'examples/echo.py')
-rw-r--r--examples/echo.py4
1 files changed, 4 insertions, 0 deletions
diff --git a/examples/echo.py b/examples/echo.py
index d2b4b20f..21908533 100644
--- a/examples/echo.py
+++ b/examples/echo.py
@@ -1,4 +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')