-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathexample.config.yaml
42 lines (34 loc) · 1.32 KB
/
example.config.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
server: irc.afternet.org # The server to connect to.
nick: jamician # The bot's nickname.
prefix: '!' # All commands will begin with this prefix.
client: # Options passed to the IRC client.
channels: ['#alakajam']
autoConnect: true
userName: Jamician
realName: Alakajam.com bot, AKA "Jamician"
admin: # Administration config.
users: [] # A list of friendly IRC users.
blockList: [] # A list of mean IRC users.
password: muffins # A strong password.
api: # API endpoints, listed by command.
timeleft: &featuredEvent 'https://alakajam.com/api/featuredEvent'
panic: *featuredEvent
random: *featuredEvent
theme: *featuredEvent
find: 'https://alakajam.com/api/user/{{user}}/latestEntry'
commands:
panic:
messages:
- "Just {{time}} left. Get a move on!"
- "{{time}} to get your asses in gear!"
- "Come on, you can do it! {{time}} left!"
- "{{time}} left to perfect your masterpiece!"
- "{{time}} left. PANIC! \\D:/"
- "Dreams will be crushed in {{time}} and counting."
random:
pending: "{{event.title}} has not started yet"
empty: "No entries for {{event.title}}"
entry: >
Random entry for {{event.title|safe}}: '{{entry.title|safe}}'
by {{ entry.users | join(', ','title') | safe }}:
https://alakajam.com/{{entry.event_name}}/{{entry.id}}