diff --git a/doctor_dinosaur.py b/doctor_dinosaur.py index a57deee..6665f8e 100644 --- a/doctor_dinosaur.py +++ b/doctor_dinosaur.py @@ -1,5 +1,6 @@ import discord import random +import sys client = discord.Client() @@ -44,7 +45,7 @@ def dice(count): @client.event async def on_ready(): - print('logged in as {0.user}'.format(client)) + print('logged in as {0.user}'.format(client), file=sys.stderr) await client.change_presence(activity=discord.Game('!n for n dice, !0 for chance die')) @client.event @@ -56,7 +57,7 @@ async def on_message(message): try: count=int(message.content.split()[0][1:]) except ValueError: - print('error parsing message {0}'.format(message.content)) + print('error parsing message {0}'.format(message.content), file=sys.stderr) return if count > 69: