You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
So the code that you want is in src/commands/servers/turn_check.rs, specifically the method create_messages_for_new_turn, which is the code that DMs all the players and should probably be the code that DMs the channel too.
// `src/slash_commands.rs`
let guilds = http // (or `cache`)
// The bot is only ever in one server per instance, so yolo
.get_guilds(&GuildPagination::After(GuildId(0)), 1)
.await?;
and get the http from its parent function update_details_cache_loop. These should all be cached via the HttpAndCache serenity thing so I'm not worried about performance or whatever and it makes it resilient to channel renames and also you don't have to persist any channel IDs in the db or whatever.
idk if it should be automatic, or a toggle, or opt-in, or what. A toggle means you suddenly got to care about the db stuff. But no toggle means idk somebody can spam you or something?
When a turn changes, either edit a pinned message, or just output into channel
The text was updated successfully, but these errors were encountered: