diff --git a/examples/deleted.py b/examples/deleted.py index 3b6b98978..3bd38ec31 100644 --- a/examples/deleted.py +++ b/examples/deleted.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') diff --git a/examples/echo.py b/examples/echo.py index d2b4b20fe..219085330 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') diff --git a/examples/edits.py b/examples/edits.py index cb07dc6b3..3bf375dcd 100644 --- a/examples/edits.py +++ b/examples/edits.py @@ -1,5 +1,9 @@ import discord import time +import logging + +# Set up the logging module to output diagnostic to the console. +logging.basicConfig() client = discord.Client() client.login('email', 'password') diff --git a/examples/reply.py b/examples/reply.py index 0697704da..e23db9622 100644 --- a/examples/reply.py +++ b/examples/reply.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')