zulip_bots: Make StateHandler optional.
This has the convenient side-effect of making the bot_handler.storage attribute read-only.
This commit is contained in:
parent
f41030b515
commit
2a74ad11c5
4 changed files with 42 additions and 12 deletions
|
@ -2,6 +2,11 @@
|
|||
|
||||
|
||||
class IncrementorHandler(object):
|
||||
META = {
|
||||
'name': 'Incrementor',
|
||||
'description': 'Example bot to test the update_message() function.',
|
||||
'uses_storage': True,
|
||||
}
|
||||
|
||||
def usage(self):
|
||||
return '''
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue