Open PeterTheOne opened 9 years ago
Register myself
!foodlisteners register
Deregister myself
!foodlisteners deregister
!foodlisteners unregister
Info:
Is a registry.SpaceSeparatedListOfStrings
Get: self.registryValue('food.listeners')
Set: self.setRegistryValue('food.listeners', value=['foo', 'bar'])
:question:
=> done in b60b46bd0b75a338cb33060c4f3924863555db17
Register email address
!foodemail register spam@google.com
Deregister email address
!foodemail deregister spam@google.com
!foodemail unregister spam@google.com
Info:
Is a registry.SpaceSeparatedListOfStrings
Get: self.registryValue('food.emails')
Set: self.setRegistryValue('food.emails', value=['foo', 'bar'])
:question:
For the Limnoria-API see: http://doc.supybot.aperio.fr/en/latest/develop/advanced_plugin_config.html#the-built-in-registry-types
For the Limnoria-Test-API see: http://doc.supybot.aperio.fr/en/latest/develop/advanced_plugin_testing.html