diff --git a/src/config.test.rs b/src/config.test.rs new file mode 100644 index 0000000000000000000000000000000000000000..5fc3bb7609b2223a34b248e2df3b244c263e1cd3 --- /dev/null +++ b/src/config.test.rs @@ -0,0 +1,39 @@ +use serenity; + +pub static DISCORD_TOKEN: &str = include_str!("discord_token"); + +pub static SERVER_ID: u64 = 606351521117896704; +// #general +pub static MAIN_CHANNEL: serenity::model::id::ChannelId = + serenity::model::id::ChannelId(606351521117896706); +// #the-corner +pub static WELCOME_CHANNEL: serenity::model::id::ChannelId = + serenity::model::id::ChannelId(606351613816209418); +// #general +pub static ANNOUNCEMENT_CHANNEL: serenity::model::id::ChannelId = + serenity::model::id::ChannelId(606351521117896706); + +pub static BOT_ID: u64 = 607078903969742848; + +pub static VOTE_POOL_SIZE: i8 = 2; +pub static VOTE_ROLE: u64 = 607478818038480937; +pub static TIEBREAKER_ROLE: u64 = 607509283483025409; +pub static UNREGISTERED_MEMBER_ROLE: u64 = 608282247350714408; +pub static REGISTERED_MEMBER_ROLE: u64 = 608282133118582815; + +pub static COMMAND_PREFIX: &str = "!"; + +pub static FOR_VOTE: &str = "ðŸ‘"; +pub static AGAINST_VOTE: &str = "👎"; +pub static ABSTAIN_VOTE: &str = "🙊"; +pub static APPROVE_REACT: &str = "⬆"; +pub static DISAPPROVE_REACT: &str = "⬇"; +pub static UNSURE_REACT: &str = "â”"; +pub static ALLOWED_REACTS: &[&'static str] = &[ + FOR_VOTE, + AGAINST_VOTE, + ABSTAIN_VOTE, + APPROVE_REACT, + DISAPPROVE_REACT, + UNSURE_REACT, +]; diff --git a/src/config.ucc.rs b/src/config.ucc.rs new file mode 100644 index 0000000000000000000000000000000000000000..59304d7502e8be431a04cc590eb51f6b0c4bdcfd --- /dev/null +++ b/src/config.ucc.rs @@ -0,0 +1,39 @@ +use serenity; + +pub static DISCORD_TOKEN: &str = include_str!("discord_token"); + +pub static SERVER_ID: u64 = 264401248676085760; +// #ucc +pub static MAIN_CHANNEL: serenity::model::id::ChannelId = + serenity::model::id::ChannelId(264401248676085760); +// #welcome +pub static WELCOME_CHANNEL: serenity::model::id::ChannelId = + serenity::model::id::ChannelId(606750983699300372); +// #committee +pub static ANNOUNCEMENT_CHANNEL: serenity::model::id::ChannelId = + serenity::model::id::ChannelId(264411219627212801); + +pub static BOT_ID: u64 = 607078903969742848; + +pub static VOTE_POOL_SIZE: i8 = 7; +pub static VOTE_ROLE: u64 = 269817189966544896; +pub static TIEBREAKER_ROLE: u64 = 635370432568098817; +pub static UNREGISTERED_MEMBER_ROLE: u64 = 0; // does not exist +pub static REGISTERED_MEMBER_ROLE: u64 = 0; // does not exist + +pub static COMMAND_PREFIX: &str = "!"; + +pub static FOR_VOTE: &str = "ðŸ‘"; +pub static AGAINST_VOTE: &str = "👎"; +pub static ABSTAIN_VOTE: &str = "🙊"; +pub static APPROVE_REACT: &str = "⬆"; +pub static DISAPPROVE_REACT: &str = "⬇"; +pub static UNSURE_REACT: &str = "â”"; +pub static ALLOWED_REACTS: &[&'static str] = &[ + FOR_VOTE, + AGAINST_VOTE, + ABSTAIN_VOTE, + APPROVE_REACT, + DISAPPROVE_REACT, + UNSURE_REACT, +];