Skip to content

Commit c930f80

Browse files
authored
Merge branch 'main' into main
2 parents 494ac71 + 7b9ef16 commit c930f80

2 files changed

Lines changed: 8 additions & 6 deletions

File tree

README.md

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,10 +1,10 @@
11
### Twitch-Chat
22

3-
📜 I made an script in Python for receive message from twitch chat.
3+
📜 I did a script in Python to receive messages from a twitch chat.
44

55
## Tutorial 💻
66

7-
For use the bot, make sure to do this:
7+
To use the bot, make sure to do this:
88

99
```py
1010
class Bot(commands.Bot):
@@ -32,9 +32,9 @@ bot = Bot()
3232
bot.run()
3333
```
3434

35-
And now, you can run the script and you'll have message content and message's author !
35+
And now, you can run the script and you'll have messages content and messages's authors !
3636

3737

38-
## Wanna contact us ? 🤔
38+
## Wanna contact me ? 🤔
3939

40-
If you wanna contact us, send mail at miyucode@gmail.com
40+
If you wanna contact me, send me an mail at miyucode@gmail.com

chat.py

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,9 @@ async def event_ready(self):
1616
async def event_message(self, ctx: commands.Context):
1717
print(f"{ctx.author.name} : {ctx.content}")
1818

19-
19+
@commands.command()
20+
async def event_message(self, ctx: commands.Context):
21+
print(f"{ctx.author.name} : {ctx.content}")
2022

2123
bot = Bot()
2224
bot.run()

0 commit comments

Comments
 (0)