API: Rename list_subscriptions to get_subscriptions.
This commit is contained in:
parent
503e8ed82d
commit
57e8886dfe
4 changed files with 5 additions and 5 deletions
|
@ -36,7 +36,7 @@ class IRCBot(irc.bot.SingleServerIRCBot):
|
|||
print("Listening now. Please send an IRC message to verify operation")
|
||||
|
||||
def check_subscription_or_die(self) -> None:
|
||||
resp = self.zulip_client.list_subscriptions()
|
||||
resp = self.zulip_client.get_subscriptions()
|
||||
if resp["result"] != "success":
|
||||
print("ERROR: %s" % (resp["msg"],))
|
||||
exit(1)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue