Browse Source

Revamp showoffhourbot config

Lertsenem 3 years ago
parent
commit
4cff7554cd
4 changed files with 102 additions and 17 deletions
  1. 1 1
      showoffhourbot.conf
  2. 14 0
      showoffhourbot.rules.boosts.conf
  3. 7 16
      showoffhourbot.rules.conf
  4. 80 0
      showoffhourbot.rules.toots.conf

+ 1 - 1
showoffhourbot.conf

@@ -2,7 +2,7 @@
2 2
 sleep=50
3 3
 
4 4
 [rules]
5
-answer.conf
5
+showoffhourbot.rules.conf
6 6
 
7 7
 [sources]
8 8
 timeline=home,local,public

+ 14 - 0
showoffhourbot.rules.boosts.conf

@@ -0,0 +1,14 @@
1
+[boost #indiedevhour]
2
+pattern     = #indiedevhour
3
+ignore_case = true
4
+action      = boost
5
+
6
+[boost #showoffhour]
7
+pattern     = #showoffhour
8
+ignore_case = true
9
+action      = boost
10
+
11
+[boost #screenshotsaturday]
12
+pattern     = #screenshotsaturday
13
+ignore_case = true
14
+action      = boost

+ 7 - 16
showoffhourbot.rules.conf

@@ -28,24 +28,15 @@ action      = follow
28 28
 addressed   = true
29 29
 pattern     = help
30 30
 ignore_case = true
31
-action      = help
31
+action      = answer
32
+action_info = "Hi! I'm the ShowOffHourBot! I boost and toot about #showoffhour.
33
+               You can ask me:
34
+               - follow me
35
+               - unfollow me
36
+               - when is the next #showoffhour?
37
+               If you have more questions, maybe my master lertsenem can answer them? :)"
32 38
 
33 39
 [i don't understand]
34 40
 addressed   = true
35 41
 action      = answer
36 42
 action_info = "I'm sorry, I don't understand you. Maybe try asking me for 'help'?"
37
-
38
-[boost #indiedevhour]
39
-pattern     = #indiedevhour
40
-ignore_case = true
41
-action      = boost
42
-
43
-[boost #showoffhour]
44
-pattern     = #showoffhour
45
-ignore_case = true
46
-action      = boost
47
-
48
-[toot test]
49
-at          = 23 23 * * *
50
-action      = toot
51
-action_info = "Test toot"

+ 80 - 0
showoffhourbot.rules.toots.conf

@@ -0,0 +1,80 @@
1
+[soh1 1h before]
2
+at          = 0 23 * * tue
3
+action      = toot
4
+action_info = "Hey! You know what? Next hour is #showoffhour! Stay tuned!"
5
+
6
+[soh1 5mn before]
7
+at          = 55 23 * * tue
8
+action      = toot
9
+action_info ="It's almost time for the #showoffhour! Get ready!"
10
+
11
+[soh1 start]
12
+at          = 0 0 * * wed
13
+action      = toot
14
+action_info =  "It's the #showoffhour! What have you been working on lately?"
15
+
16
+[soh1 end]
17
+at          = 0 1 * * wed
18
+action      = toot
19
+action_info = "The #showoffhour is over! Time to go back to work so you'll have something new to show next time. :)"
20
+
21
+[soh2 1h before]
22
+at          = 0 11 * * wed
23
+action      = toot
24
+action_info = "Hey! You know what? Next hour is #showoffhour! Stay tuned!"
25
+
26
+[soh2 10mn before]
27
+at          = 50 11 * * wed
28
+action      = toot
29
+action_info = "Get your gifs ready, it's almost #showoffhour..."
30
+
31
+[soh2 start]
32
+at          = 0 12 * * wed
33
+action      = toot
34
+action_info = "The #showoffhour is here! Time to brag a bit! :}"
35
+
36
+[soh2 end]
37
+at          = 0 13 * * wed
38
+action      = toot
39
+action_info = "It's been an hour already... sorry but the #showoffhour will come back later."
40
+
41
+[soh3 1h before]
42
+at          = 0 17 * * sat
43
+action      = toot
44
+action_info = "Hey! You know what? Next hour is #showoffhour! Stay tuned!"
45
+
46
+[soh3 5mn before]
47
+at          = 55 17 * * sat
48
+action      = toot
49
+action_info = "Brace yourselves, #showoffhour is coming!"
50
+
51
+[soh3 start]
52
+at          = 0 18 * * sat
53
+action      = toot
54
+action_info = "Let's rock this place up with some gifs! It's the #showoffhour!"
55
+
56
+[soh3 end]
57
+at          = 0 19 * * sat
58
+action      = toot
59
+action_info = "The #showoffhour is over! Don't worry though, it'll be back soon!"
60
+
61
+[soh4 1h before]
62
+at          = 0 5 * * sun
63
+action      = toot
64
+action_info = "Hey! You know what? Next hour is #showoffhour! Stay tuned!"
65
+
66
+[soh4 1Omn before]
67
+at          = 50 5 * * sun
68
+action      = toot
69
+action_info = "Ten minutes before the #showoffhour! Prepare yourselves!"
70
+
71
+[soh4 start]
72
+at          = 0 6 * * sun
73
+action      = toot
74
+action_info = "Psst, #gamedev and other creatives, the #showoffhour is here, show us your magic!"
75
+
76
+[soh4 end]
77
+at          = 0 7 * * sun
78
+action      = toot
79
+action_info = "It's the end of this #showoffhour, any subsequent gif will be... well... boosted.
80
+               But you should keep them for the next one! :)"