Imagine creating multiple bots in a single package (e.g. with shared guilds) - their state should be independent and ideally localized to each bot, and a bot db should then have buckets for guilds etc.
Furthermore, I would propose separating the logic of the bot state and guild state into their own types.
http://peter.bourgon.org/blog/2017/06/09/theory-of-modern-go.html
Imagine creating multiple bots in a single package (e.g. with shared guilds) - their state should be independent and ideally localized to each bot, and a bot db should then have buckets for guilds etc.
Furthermore, I would propose separating the logic of the bot state and guild state into their own types.
http://peter.bourgon.org/blog/2017/06/09/theory-of-modern-go.html