aboutsummaryrefslogtreecommitdiff
path: root/examples/reply.py
diff options
context:
space:
mode:
Diffstat (limited to 'examples/reply.py')
-rw-r--r--examples/reply.py8
1 files changed, 0 insertions, 8 deletions
diff --git a/examples/reply.py b/examples/reply.py
index e23db962..f3f56c72 100644
--- a/examples/reply.py
+++ b/examples/reply.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_message(message):
if message.content.startswith('!hello'):