Edm0nd/config.json.example

147 lines
3.8 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-11-05 23:04:39 +01:00
"caretaker": {
"warm_welcome": ["Hi {target}!"],
"cold_welcome": ["Oh no..."],
"nice_farewell": [":("],
"bad_farewell": ["Good riddance."],
"welcome_rate": 10,
"farewell_rate": 10
},
2021-06-06 18:28:43 +02:00
"capture": {
"rate": 0.1,
"things": "🍇🍈🍉🍊🍋🍌🍍🥭🍎🍏🍐🍑🍒🍓",
"capture_sentence": "Catch!",
"captured_sentence": "Well done {winner}, you got that {thing}!"
},
2020-10-09 12:49:35 +02:00
"common": {
"command_suffix": "please",
"handling_conditions": {
"sleep": {
"awake": true
}
2020-11-04 22:46:09 +01:00
},
"question_mark": "?"
2020-10-09 12:49:35 +02:00
},
2020-11-04 19:09:18 +01:00
"compliments": {
"sentences": ["you're breathtaking"],
"calm_rate": 100
},
"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
},
2020-11-04 21:18:54 +01:00
"insults": {
"commands": ["insult"],
"sentences": ["idiot"],
"pissed_rate": 33,
"deny_message": "No."
},
"journeemondiale": {
"commands": ["journée mondiale"],
"url": "https://www.journee-mondiale.com/"
},
2020-11-04 22:46:09 +01:00
"miscreactions": {
"reactions": [
"stop", "king", "mmm", "ooo", "detector", "question_marks",
"repeat_letters"
],
"rate": 0,
"stop_message": "This was your last {subject}...",
"king_message": "{king} is the king of {subject}.",
"kings": ["*<B^)"],
"detector_message": "/me grabs its {subject} detector",
"detector_process": "...",
"detector_pos": "OK go on...",
"detector_neg": "Halt!"
},
2020-10-09 12:49:35 +02:00
"mood": {
2020-11-02 16:39:57 +01:00
"commands": ["calm down"],
2020-10-09 12:49:35 +02:00
"questions": ["how are you?"],
"greetings": {
"calm": ["Hi!", "Hello!"],
"pissed": ["Pfff..."]
},
"answer": {
"calm": "Fine!",
"pissed": "Pissed off..."
2020-11-02 16:39:57 +01:00
},
2020-11-02 16:54:32 +01:00
"calmed_message": "I'm calm now.",
"pissed_message": "I'm pissed off now..."
2020-10-09 13:31:00 +02:00
},
"music": {
"commands": ["music", "album"]
},
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-11-02 18:34:55 +01:00
"opinion": {
"questions": ["what do you think of"],
"thinking": "Hhmmm",
"thinking_time": 2,
"positive": ["I like it."],
"negative": ["I don't like it."]
},
2020-10-09 18:57:26 +02:00
"random": {
"commands": ["choose"],
"separator": "or"
},
2020-11-01 19:27:12 +01:00
"sleep": {
2020-11-02 13:31:39 +01:00
"commands": ["sleep", "wake up"],
2020-11-02 17:58:00 +01:00
"aliases": {
"wake up": ["wakeup"]
},
2020-11-02 13:31:39 +01:00
"sleep_time": 23,
"wakeup_time": 7,
"snore": "Zzzz",
"sleep_messages": ["/me falls asleep"],
"wakeup_messages": ["/me wakes up"],
2020-11-02 13:31:39 +01:00
"snore_rate": 1.0
2020-11-01 19:27:12 +01:00
},
2020-11-04 17:21:52 +01:00
"translate": {
"commands": ["translate"],
"default_dest": "en",
"param_source": "from",
"param_dest": "to"
},
"unknowncommand": {
"api_key": "",
"max_pods": 1
},
2020-11-05 23:52:20 +01:00
"unknownquestion": {
"pass_to_misc_rate": 50
},
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-11-03 16:15:23 +01:00
"youtube": {
"commands": ["youtube"],
"api_key": ""
}
}
2020-10-08 18:46:45 +02:00
}