Skip to content

Games/logs across multiple networks #236

@rootcoma

Description

@rootcoma

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.

Metadata

Metadata

Assignees

No one assigned

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions