From f20b765b5e0605b5c1c93c64affd263d87636b2f Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Laura=20B=C3=A9cogn=C3=A9e?= Date: Fri, 18 Feb 2022 18:18:18 +0100 Subject: [PATCH] Update chat.py --- chat.py | 8 ++------ 1 file changed, 2 insertions(+), 6 deletions(-) diff --git a/chat.py b/chat.py index d4da61e..df7ad04 100644 --- a/chat.py +++ b/chat.py @@ -9,15 +9,11 @@ def __init__(self): async def event_ready(self): # We are logged in and ready to chat and use commands... - print(f'Connected on {self.nick} with success ! - Twitch Bot') + print(f'Hello {self.nick}') @commands.command() - async def hello(self, ctx: commands.Context): - # Send a hello back! - await ctx.send(f'Hello {ctx.author.name}!') - async def event_message(self, ctx: commands.Context): - print(f"From {ctx.author.name}: {ctx.content}") + print(f"{ctx.author.name} : {ctx.content}") bot = Bot() bot.run()