Edm0nd/config.json.example

61 lines
1.6 KiB
Plaintext
Raw Normal View History

2020-10-08 18:46:45 +02:00
{
"host": "irc.freenode.net",
"port": 6667,
"nick": "edm0nd",
"alternative_nicks": ["edmon", "edmond"],
"channels": ["#idi0crates"],
"speak_delay": 0.5,
2020-10-09 23:37:35 +02:00
"storage_file": "storage.json",
"resources_dir": "resources",
"error_message": "An error occured, sorry!",
"plugins": {
2020-10-09 18:57:08 +02:00
"beers": {
"commands": ["beer"],
"beers": ["Paix-Dieu"],
"opening_text": "/me cracks open a {beer} for {target}"
},
2020-10-09 12:49:35 +02:00
"common": {
"command_suffix": "please"
},
"horoscope": {
2020-10-09 12:49:35 +02:00
"commands": ["horoscope"],
"meditation": "/me looks at the starts",
"url": "http://zwergf.elynx.fr/bots/horobot/",
"delay": 2
2020-10-09 12:49:35 +02:00
},
"journeemondiale": {
"commands": ["journée mondiale"],
"url": "https://www.journee-mondiale.com/"
},
2020-10-09 12:49:35 +02:00
"mood": {
"questions": ["how are you?"],
"greetings": {
"calm": ["Hi!", "Hello!"],
"pissed": ["Pfff..."]
},
"answer": {
"calm": "Fine!",
"pissed": "Pissed off..."
}
2020-10-09 13:31:00 +02:00
},
2020-10-09 23:37:35 +02:00
"notes": {
"commands": ["note down", "notes"],
"content_regex": "for (?P<target>\\S+) (?P<note>.+)",
2020-10-12 19:09:42 +02:00
"confirmation": "Ok.",
"deliver_format": "{dest}, {sender} tells you: {message}",
"limit": 5,
"too_many_notes": "There are too many notes for this user."
2020-10-09 23:37:35 +02:00
},
2020-10-09 18:57:26 +02:00
"random": {
"commands": ["choose"],
"separator": "or"
},
2020-10-09 13:31:00 +02:00
"wikipedia": {
"commands": ["science", "define"],
"lang": "en",
"ambiguous_response": "It is ambiguous.",
"empty_response": "I can't find it."
}
}
2020-10-08 18:46:45 +02:00
}