aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRatakor <ratakor@disroot.org>2023-09-01 17:23:47 +0200
committerRatakor <ratakor@disroot.org>2023-09-01 17:23:47 +0200
commitfd6978d98b672ff23901e295a7e4a22b422e3759 (patch)
treed898adea65bc270151657c71e27e0cd7d1cc1545
parentc063a063ad88253eabd640d090194a7cb30eb5e1 (diff)
Move CHANNEL_ID_HALF/DOUBLE to config.h
-rw-r--r--config.def.h6
-rw-r--r--src/raids.c2
2 files changed, 5 insertions, 3 deletions
diff --git a/config.def.h b/config.def.h
index 8f1007b..6eff705 100644
--- a/config.def.h
+++ b/config.def.h
@@ -8,6 +8,9 @@
#define TOKEN "YOUR-BOT-TOKEN"
#define PREFIX "?"
+#define CHANNEL_ID_HALF 0UL
+#define CHANNEL_ID_DOUBLE 0UL
+
/* list of channel ids to check for stats screenshots */
static const u64snowflake stats_ids[] = {
0,
@@ -15,7 +18,8 @@ static const u64snowflake stats_ids[] = {
/* list of channel ids to check for raids screenshots */
static const u64snowflake raids_ids[] = {
- 0,
+ CHANNEL_ID_DOUBLE,
+ CHANNEL_ID_HALF,
};
/* list of chinese slayers for raids screenshots */
diff --git a/src/raids.c b/src/raids.c
index 5e8e387..cdf6f1c 100644
--- a/src/raids.c
+++ b/src/raids.c
@@ -9,8 +9,6 @@
#include "nolan.h"
#define DAMAGE_CAP 300000000 /* weekly */
-#define CHANNEL_ID_HALF 1146931774069416027
-#define CHANNEL_ID_DOUBLE 1146932363805331476
enum {
SUCCESS,