Rename the 'humbug' API module to 'zulip'.
(imported from commit b3a3d7c05459cbb0110cd0fbe2197d779f3a6264)
This commit is contained in:
parent
9aaefde9b2
commit
084847b0d7
26 changed files with 78 additions and 78 deletions
|
@ -42,8 +42,8 @@ A typical simple bot sending API messages will look as follows:
|
|||
At the top of the file:
|
||||
|
||||
# Make sure the Zulip API distribution's root directory is in sys.path, then:
|
||||
import humbug
|
||||
humbug_client = humbug.Client(email="your-bot@example.com")
|
||||
import zulip
|
||||
zulip_client = zulip.Client(email="your-bot@example.com")
|
||||
|
||||
When you want to send a message:
|
||||
|
||||
|
@ -53,7 +53,7 @@ When you want to send a message:
|
|||
"subject": "your subject",
|
||||
"content": "your content",
|
||||
}
|
||||
humbug_client.send_message(message)
|
||||
zulip_client.send_message(message)
|
||||
|
||||
Additional examples:
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue