-
Notifications
You must be signed in to change notification settings - Fork 8
Description
Should we make an effort to make the plugin work across multiple networks.
Currently the plugin ignores the network that you are connected to, and instead uses the channel name to store and retrieve game info.
The downfall of not using network in identifying games and logs is that if you want to run TriviaTime on 2 networks with the same channel name, you would not be able to. eg. you want to run #trivialand on oftc and freenode.
This would be a significant rewrite. Most tables would need to have 'network' row added. And self.games would have to be a 2 dimensional dictionary instead of the current 1 dimension.
I am also not sure how networks would be stored. I think the alias would be used for referencing network. I am worried if the network alias changed then you might 'lose' data. eg. you used to call irc.freenode.net 'freenode' and now you call it 'irc.freenode.net' as an alias
Regardless I think this is a good idea for making a robust plugin.