Merge pull request #150 from felixonmars/patch-1

Correct a typo in features/overview.rst
This commit is contained in:
Joshua Salzedo 2020-11-21 20:07:47 -08:00 committed by GitHub
commit b7e5c5741e
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 2 additions and 2 deletions

View File

@ -53,7 +53,7 @@ In addition, it registers the `pydle.Client.on_ctcp(from, query, contents)` hook
request, and a per-type hook in the form of `pydle.Client.on_ctcp_<type>(from, contents)`, which allows you to act upon CTCP request, and a per-type hook in the form of `pydle.Client.on_ctcp_<type>(from, contents)`, which allows you to act upon CTCP
requests of type `type`. `type` will always be lowercased. A few examples of `type` can be: `action`, `time`, `version`. requests of type `type`. `type` will always be lowercased. A few examples of `type` can be: `action`, `time`, `version`.
Finally, it registers the `pydle.Client.on_ctcp_reply(from, queyr, contents)` hook, which acts similar to the above hook, Finally, it registers the `pydle.Client.on_ctcp_reply(from, query, contents)` hook, which acts similar to the above hook,
except it is triggered when the client receives a CTCP response. It also registers `pydle.Client.on_ctcp_<type>_reply`, which except it is triggered when the client receives a CTCP response. It also registers `pydle.Client.on_ctcp_<type>_reply`, which
works similar to the per-type hook described above. works similar to the per-type hook described above.
@ -252,4 +252,4 @@ Support For `RPL_WHOIS_HOST` messages, this allows pydle to expose an IRC users
real IP address and host, if the bot has access to that information. real IP address and host, if the bot has access to that information.
This information will fill in the `real_ip_address` and `real_hostname` fields This information will fill in the `real_ip_address` and `real_hostname` fields
of an :class:`pydle.Client.whois()` response. of an :class:`pydle.Client.whois()` response.