-
Notifications
You must be signed in to change notification settings - Fork 2
Notes
Stuff we've spoken about
-
Periodic DB committing
-
Some sort of centralized BBM provided way of managing timers for modules
-
util.State, keep track of things like users on channel, modes, more?partially done. -
Getters/setters (Server object -> back to getter from Settings?)
-
command_and_wait, util provided functionality that takes a command for a server, blocks until response, and returns the response for modules to use for things like checking if a PM wasn't delivered due to user offline or channel banlists, etc.
- See here: SendAndWait
-
Consider PRIORITY
-
Priority probably only comes into play when you want to "overwrite" an existing hook, and then only really makes sense in the "send" event. But really, the only case where you would want to overwrite a send event, is if you wanted to overwrite the default send event, and implement your own. I need to think some more about this.
-
The more module convenience the better,
things like event.isadmin and the like might be really handy, or that can be left for module writer I suppose. I think it's nice thoughWe will do this through utilities. -
In Servers settings, change structure to dict where servername is the key and corresponding serveropts are the value to ensure unique (and existent) server names at configuration level
-
Finalize how we're doing logging
-
botinst wrapper for context aware things like bot.say (auto messages to event.channel)? Maybe this falls under too much preprocessing too
-
Cache aliases (ultra low priority)
-
Module dependencies, currently solved by load-order. Consider more automated ways of handling it
-
Webhelpers dependency. How many dependencies are we okay with?
-
Replace webhelpers with your custom DISTANCE_IN_TIME thing from your old bbm.. I was just using it as placeholder.
-
Support multiple aliases for commands (Mapping.command should be Mapping.commands, a tuple)
-
Allow config to supply alternate nicks to use before trying nicksuffix on alterCollidedNick
- Reconsider auto alias adding sometime... Maybe make this optional
- lol for butt module, make a bestofbutts
- Tell preprocessing
- Goes hand in hand with alias preprocessing
- lol forget about this until 100 years