summaryrefslogtreecommitdiff
path: root/src/config.rs
diff options
context:
space:
mode:
authorNatrixAeria <upezu@student.kit.edu>2020-09-27 20:58:35 +0200
committerNatrixAeria <upezu@student.kit.edu>2020-09-27 20:58:35 +0200
commita2f8d36a3747a1a07212ed4af5d3fb857687e96a (patch)
treeee0d665837b7689bda90d1018c3f2e798cc38774 /src/config.rs
parent0723199ed2495d73dc9a62d33eab7481ca1245f0 (diff)
Cache channelsfeature-channels
Diffstat (limited to 'src/config.rs')
-rw-r--r--src/config.rs22
1 files changed, 18 insertions, 4 deletions
diff --git a/src/config.rs b/src/config.rs
index cd8a55b..fd00c24 100644
--- a/src/config.rs
+++ b/src/config.rs
@@ -1,6 +1,20 @@
+macro_rules! bot_name {
+ () => {
+ "Cupido"
+ };
+}
+
pub const TOKEN_ENV: &str = "DISCORD_TOKEN";
pub const GLOBAL_COMMAND_PREFIX: &str = "!<3";
-pub const META_CHANNEL_NAME: &str = "Cupido Shuffler";
-pub const META_CHANNEL_DESCRIPTION: &str = "All channels related to cupido";
-pub const HELP_TEXT: &str = "Cupido is a discord bot to get to know your people.
-Cupido is open-source <https://git.kobert.dev/lovefinderrz.git/>!";
+pub const META_CHANNEL_NAME: &str = concat!(bot_name!(), " Shuffler");
+pub const META_CHANNEL_DESCRIPTION: &str = concat!("All channels related to ", bot_name!());
+pub const LOBBY_CHANNEL_NAME: &str = "lobby";
+pub const LOBBY_CHANNEL_DESCRIPTION: &str = "You wanna get shuffled? You're at the right place!";
+pub const HELP_TEXT: &str = concat!(
+ bot_name!(),
+ " - your partner for getting shuffled.
+",
+ bot_name!(),
+ " is a discord bot to get to know your people.
+This software is open-source <https://git.kobert.dev/lovefinderrz.git/>!"
+);