File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 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
1010class Bot (commands .Bot ):
@@ -32,9 +32,9 @@ bot = Bot()
3232bot.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
Original file line number Diff line number Diff 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
2123bot = Bot ()
2224bot .run ()
You can’t perform that action at this time.
0 commit comments