Rename humbug-send to zulip-send.
(imported from commit 61400841f8fffe4c706d867aaa012059bcba271d)
This commit is contained in:
parent
084847b0d7
commit
402701dc8e
|
@ -69,15 +69,15 @@ msg will describe what went wrong.
|
|||
|
||||
#### Sending messages
|
||||
|
||||
You can use the included `humbug-send` script to send messages via the
|
||||
You can use the included `zulip-send` script to send messages via the
|
||||
API directly from existing scripts.
|
||||
|
||||
humbug-send hamlet@example.com cordelia@example.com -m \
|
||||
zulip-send hamlet@example.com cordelia@example.com -m \
|
||||
"Conscience doth make cowards of us all."
|
||||
|
||||
Alternatively, if you don't want to use your ~/.zuliprc file:
|
||||
|
||||
humbug-send --user shakespeare-bot@example.com \
|
||||
zulip-send --user shakespeare-bot@example.com \
|
||||
--api-key a0b1c2d3e4f5a6b7c8d9e0f1a2b3c4d5 \
|
||||
hamlet@example.com cordelia@example.com -m \
|
||||
"Conscience doth make cowards of us all."
|
||||
|
|
|
@ -1,6 +1,6 @@
|
|||
#!/usr/bin/env python
|
||||
# -*- coding: utf-8 -*-
|
||||
# humbug-send -- Sends a message to the specified recipients.
|
||||
# zulip-send -- Sends a message to the specified recipients.
|
||||
|
||||
# Copyright © 2012 Zulip, Inc.
|
||||
#
|
||||
|
@ -30,7 +30,7 @@ import logging
|
|||
|
||||
logging.basicConfig()
|
||||
|
||||
log = logging.getLogger('humbug-send')
|
||||
log = logging.getLogger('zulip-send')
|
||||
|
||||
def do_send_message(client, message_data ):
|
||||
'''Sends a message and optionally prints status about the same.'''
|
Loading…
Reference in a new issue