summaryrefslogtreecommitdiff
path: root/src/storage/settings.rs
diff options
context:
space:
mode:
Diffstat (limited to 'src/storage/settings.rs')
-rw-r--r--src/storage/settings.rs6
1 files changed, 2 insertions, 4 deletions
diff --git a/src/storage/settings.rs b/src/storage/settings.rs
index 76eacc7..cfeda64 100644
--- a/src/storage/settings.rs
+++ b/src/storage/settings.rs
@@ -2,8 +2,6 @@ use poise::serenity_prelude::{ChannelId, GuildId, ReactionType};
use redis_macros::{FromRedisValue, ToRedisArgs};
use serde::{Deserialize, Serialize};
-pub const SETTINGS_KEY: &str = "settings-v1";
-
#[derive(poise::ChoiceParameter)]
pub enum Properties {
GuildId,
@@ -21,12 +19,12 @@ pub enum Properties {
pub struct Settings {
pub guild_id: GuildId,
pub pinboard_channel: Option<ChannelId>,
- pub pinboard_watch: Option<Vec<ChannelId>>,
pub pinboard_enabled: bool,
+ pub pinboard_watch: Option<Vec<ChannelId>>,
pub reactboard_channel: Option<ChannelId>,
+ pub reactboard_enabled: bool,
pub reactboard_requirement: Option<u64>,
pub reactboard_reactions: Option<Vec<ReactionType>>,
- pub reactboard_enabled: bool,
pub optional_commands_enabled: bool,
}