mirror of
https://github.com/correl/SleekXMPP.git
synced 2024-11-24 03:00:15 +00:00
Fix a few typos.
This commit is contained in:
parent
be9e26b4a3
commit
738ec92b8e
1 changed files with 2 additions and 2 deletions
|
@ -92,7 +92,7 @@ Adding Functionality
|
||||||
Currently, our bot just sits dormantly inside the chat room, but we
|
Currently, our bot just sits dormantly inside the chat room, but we
|
||||||
would like it to respond to two distinct events by issuing a generic
|
would like it to respond to two distinct events by issuing a generic
|
||||||
message in each case to the chat room. In particular, when a member
|
message in each case to the chat room. In particular, when a member
|
||||||
mention's the bot's nickname inside the chat room, and when a member
|
mentions the bot's nickname inside the chat room, and when a member
|
||||||
joins the chat room.
|
joins the chat room.
|
||||||
|
|
||||||
Responding to Mentions
|
Responding to Mentions
|
||||||
|
@ -100,7 +100,7 @@ Responding to Mentions
|
||||||
|
|
||||||
Whenever a user mentions our bot's nickname in chat, our bot will
|
Whenever a user mentions our bot's nickname in chat, our bot will
|
||||||
respond with a generic message resembling *"I heard that, user."* We do
|
respond with a generic message resembling *"I heard that, user."* We do
|
||||||
this by examining all of the messages sent inside the chat, and looking
|
this by examining all of the messages sent inside the chat and looking
|
||||||
for the ones which contain the nickname string.
|
for the ones which contain the nickname string.
|
||||||
|
|
||||||
First, we register an event handler for the :term:`groupchat_message`
|
First, we register an event handler for the :term:`groupchat_message`
|
||||||
|
|
Loading…
Reference in a new issue