Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Wanted: supporting multiple Discord guilds simultaneously #308

Open
ProducerMatt opened this issue Jun 27, 2023 · 1 comment
Open

Wanted: supporting multiple Discord guilds simultaneously #308

ProducerMatt opened this issue Jun 27, 2023 · 1 comment

Comments

@ProducerMatt
Copy link
Member

Would be nice for one Stampy instance to connect to multiple Discord guilds.

at first I thought this would require a bottom-up rewrite. But I quickly realized that most of the messages sent through the system don't care what Guild it's in, they usually just need the text and the channel. The fact that channel IDs are unique across servers is vital to this.

Where it becomes more complicated is regarding certain modules like the stamp collecting, reply management, and factoid saving. In these cases we wouldn't want the functions to return the same result across servers, so they need to be aware of the guild. This raises the question of how currently existing databases (Factoid database, Stamp database, etc) could be migrated to record which guild is being tracked with each message.

@ProducerMatt
Copy link
Member Author

This feature is available in the new Elixir codebase: https://github.com/ProducerMatt/stampede

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant