realraum / r3bot-irc

Limnoria plugin for realraum related IRC stuff
2 stars 1 forks source link

let users become listeners of the !food function #4

Open PeterTheOne opened 9 years ago

PeterTheOne commented 9 years ago
stefan2904 commented 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

stefan2904 commented 9 years ago

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:

stefan2904 commented 9 years ago

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