From e3172c638cb5a491c9cdc062caf263b97b7af449 Mon Sep 17 00:00:00 2001
From: tec <tec@ucc.gu.uwa.edu.au>
Date: Sun, 20 Oct 2019 21:44:13 +0800
Subject: [PATCH] Add test server and ucc server config

---
 src/config.test.rs | 39 +++++++++++++++++++++++++++++++++++++++
 src/config.ucc.rs  | 39 +++++++++++++++++++++++++++++++++++++++
 2 files changed, 78 insertions(+)
 create mode 100644 src/config.test.rs
 create mode 100644 src/config.ucc.rs

diff --git a/src/config.test.rs b/src/config.test.rs
new file mode 100644
index 0000000..5fc3bb7
--- /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 0000000..59304d7
--- /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,
+];
-- 
GitLab