102 lines
2.6 KiB
Plaintext
102 lines
2.6 KiB
Plaintext
{
|
|
"host": "irc.freenode.net",
|
|
"port": 6667,
|
|
"nick": "edm0nd",
|
|
"alternative_nicks": ["edmon", "edmond"],
|
|
"channels": ["#idi0crates"],
|
|
"speak_delay": 0.5,
|
|
"storage_file": "storage.json",
|
|
"resources_dir": "resources",
|
|
"error_message": "An error occured, sorry!",
|
|
"plugins": {
|
|
"beers": {
|
|
"commands": ["beer"],
|
|
"beers": ["Paix-Dieu"],
|
|
"opening_text": "/me cracks open a {beer} for {target}"
|
|
},
|
|
"common": {
|
|
"command_suffix": "please",
|
|
"handling_conditions": {
|
|
"sleep": {
|
|
"awake": true
|
|
}
|
|
}
|
|
},
|
|
"compliments": {
|
|
"sentences": ["you're breathtaking"],
|
|
"calm_rate": 100
|
|
},
|
|
"horoscope": {
|
|
"commands": ["horoscope"],
|
|
"meditation": "/me looks at the starts",
|
|
"url": "http://zwergf.elynx.fr/bots/horobot/",
|
|
"delay": 2
|
|
},
|
|
"journeemondiale": {
|
|
"commands": ["journée mondiale"],
|
|
"url": "https://www.journee-mondiale.com/"
|
|
},
|
|
"mood": {
|
|
"commands": ["calm down"],
|
|
"questions": ["how are you?"],
|
|
"greetings": {
|
|
"calm": ["Hi!", "Hello!"],
|
|
"pissed": ["Pfff..."]
|
|
},
|
|
"answer": {
|
|
"calm": "Fine!",
|
|
"pissed": "Pissed off..."
|
|
},
|
|
"calmed_message": "I'm calm now.",
|
|
"pissed_message": "I'm pissed off now..."
|
|
},
|
|
"notes": {
|
|
"commands": ["note down", "notes"],
|
|
"content_regex": "for (?P<target>\\S+) (?P<note>.+)",
|
|
"confirmation": "Ok.",
|
|
"deliver_format": "{dest}, {sender} tells you: {message}",
|
|
"limit": 5,
|
|
"too_many_notes": "There are too many notes for this user."
|
|
},
|
|
"opinion": {
|
|
"questions": ["what do you think of"],
|
|
"thinking": "Hhmmm",
|
|
"thinking_time": 2,
|
|
"positive": ["I like it."],
|
|
"negative": ["I don't like it."]
|
|
},
|
|
"random": {
|
|
"commands": ["choose"],
|
|
"separator": "or"
|
|
},
|
|
"sleep": {
|
|
"commands": ["sleep", "wake up"],
|
|
"aliases": {
|
|
"wake up": ["wakeup"]
|
|
},
|
|
"sleep_time": 23,
|
|
"wakeup_time": 7,
|
|
"snore": "Zzzz",
|
|
"sleep_messages": ["/me falls asleep"],
|
|
"wakeup_messages": ["/me wakes up"],
|
|
"snore_rate": 1.0
|
|
},
|
|
"translate": {
|
|
"commands": ["translate"],
|
|
"default_dest": "en",
|
|
"param_source": "from",
|
|
"param_dest": "to"
|
|
},
|
|
"wikipedia": {
|
|
"commands": ["science", "define"],
|
|
"lang": "en",
|
|
"ambiguous_response": "It is ambiguous.",
|
|
"empty_response": "I can't find it."
|
|
}
|
|
"youtube": {
|
|
"commands": ["youtube"],
|
|
"api_key": ""
|
|
}
|
|
}
|
|
}
|