forked from pgitox/botterino
-
Notifications
You must be signed in to change notification settings - Fork 0
/
sample-rounds.yaml
144 lines (123 loc) · 5.99 KB
/
sample-rounds.yaml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
# rounds use yaml syntax
# indentation must be two spaces
# use http://www.yamllint.com/ to check your round file syntax! if something is wrong the program will crash!
# post a round but do not reply to any comments (host everything yourself)
vegas_round:
title: 'What are my coordinates?'
url: imgur.com/notarealurl
# put the title in quotes (either single or double).
# If the title itself contains quotes , use the opposite style of quotes.
# If an apostrophe is used in your title, it is counted as a single quote
# post a round and reply to all comments
# must specify answer and tolerance
# answer must be in decimal format
vegas_round:
title: 'What are my coordinates?'
answer: 36.170439, -115.139889
tolerance: 50.0
url: https://i.imgur.com/qBRRrbD.jpg
# post a round and check text (case insensitive)
# use the 'text' field to check text and add 'similarity'
# similarity ranges from 0.0 - 1.0
# a similarity of 1.0 will only correct exact matches
# this is not a good method to check for short strings
# be careful when using this. don't get banned.
# (can also check text and coordinates on the same round)
text_round:
title: what did johnny have to say about this restaurant on google maps?
text: Lorem ipsum dolor sit amet, consectetur adipiscing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua. Ut enim ad minim veniam, quis nostrud exercitation ullamco laboris nisi ut aliquip ex ea commodo consequat. Duis aute irure dolor in reprehenderit in voluptate velit esse cillum dolore eu fugiat nulla pariatur. Excepteur sint occaecat cupidatat non proident, sunt in culpa qui officia deserunt mollit anim id est laborum
similarity: .9 # will correct the guess if it is at least 90% similar to the answer. This field is required to check text
url: https://i.imgur.com/qBRRrbD.jpg
# check text (case sensitive)
# the ignorecase field is implicitly true if unspecified
text_round:
title: foo
url: imgur.com/abcd
text: Some Text
similarity: .96
ignorecase: False
# post a round, only reply to comments with incorrect coordinates
# this means you will have to correct the winning comment yourself
# useful if you want to ask an additional question
manualround:
title: 'What are my coordinates? What is the name of the man to my right?'
answer: 76.170439, -85.139889
tolerance: 20.0
url: https://i.imgur.com/qBRRrbD.jpg
manual: true
# post a round with a message
# posts the message as a top level comment when the round is submitted
Japanese:
title: '100 Music Video Rounds in 100 Languages - #13 Japanese - Coordinates of the drummer on the rooftop within 10 meters please'
answer: 25.046965, 121.522235
tolerance: 10
url: https://cdn.discordapp.com/attachments/735309018112983102/764113099388747786/unknown.png
message: "hello my name is itox and I like bridges"
# post a round with a message containing multiple lines (add the | after 'message:')
# posts the message as a top level comment when the round is submitted
# note that reddit commenting requires two new lines to display a single new line
Japanese:
title: '100 Music Video Rounds in 100 Languages - #13 Japanese - Coordinates of the drummer on the rooftop within 10 meters please'
answer: 25.046965, 121.522235
tolerance: 10
url: https://cdn.discordapp.com/attachments/735309018112983102/764113099388747786/unknown.png
message: |
In this series I will be doing a music video round for 100 lanuages in order of total number of speakers
[here](https://www.visualcapitalist.com/wp-content/uploads/2020/02/the-100-most-spoken-languages.jpg) is the full list
I will be using.
Maksing only indicates the language and not necessarily the location
# post a message after the round is over
Turkey_Round:
title: 'this is a title'
answer: 23.234,123.2312325
tolerance: 29.0
url: google.com
after: 'Full SP: [insert SP here]'
# check multiple coordinates
# instead of specifying 'answer' and 'tolerance'
# you must now specify 'answers' and 'tolerances'
# each coordinate in 'answers' must be in quotes
# you must have as many tolerances as you have answers
# coords in guess can be in any order
# coords MUST be in decimal format
# # can be combined with the other options like manual or after
Example:
title: give me 3 coordinates within 20m, 60m, 40m respectively in google maps decimal format
answers: ['55.1894288,30.19891', '5.3539059,-1.3835478', '69.511346, 103.513381']
tolerances: [20, 60, 40]
url: https://i.imgur.com/XhDXplk.jpg
# add multiple rounds in rounds.yaml
# to do this, just put two rounds right next to each other like this:
round_1:
title: 'foo'
answer: 12.34, 56.78
tolerance: 42.0
url: google.com
round_2:
title: 'foo2'
answer: 12.34, 56.78
tolerance: 52.0
url: bing.com
# remember to save the file rounds.yaml
# rounds.yaml can be edited to add new rounds while the bot is running
# when rounds are loaded, they are removed from rounds.yaml saved to a file called archive.yaml
# Automatically number rounds of a series
# Rules explained below
Series:
title: Coordinates of this bridge?
series: Trains on Bridges
answer: 42.4343543,45.434543
tolerance: 32
url: https://i.imgur.com/7z48TYm.jpg
# Botterino will search through titles of your most recent 100 pg rounds for the string given in `series`
# titles must match the following format: [<series> #N] or [<series> #N/N] (tolerant of whitespce, # optional, no brackets optional)
# if a match is found, the series number will be incremented
# in the above example, if a previous round was named:
# a. [Round <Round Number>] Trains on Bridges #19 Coordinates of this bridge?
# b. [Round <Round Number>] [Trains on Bridges #19/350] Coordinates of this bridge?
# c. <There was no match found>
# the resulting title becomes:
# a. [Round <Round Number>] [Trains on Bridges #20] Coordinates of this bridge?
# b. [Round <Round Number>] [Trains on Bridges #20/350] Coordinates of this bridge?
# c. [Round <Round Number>] [Trains on Bridges #1]
# if no match is found this round will be labeled as the first round in the series