Edm0nd/config.json.example
2023-08-24 00:26:04 +02:00

225 lines
6.5 KiB
Plaintext

{
"host": "irc.libera.chat",
"port": 6667,
"nick": "edm0nd-ex",
"alternative_nicks": ["edmon-ex", "edmond-ex"],
"channels": ["#idi0crates"],
"speak_delay": 0.5,
"storage_file": "storage.json",
"resources_dir": "resources",
"error_message": "An error occured, sorry!",
"plugins": {
"ambience": {
"commands": ["ambience"],
"themes": {
"space": "🌏🌠✨💫🌌🎑🛸🚀🛰️🪐",
"nature": "🌬🌺🌸💮🌿🌾🐠🐋🦈",
"dancefloor": "🥵👠🔥🕺💃🙌✊🤚🖐",
"love": "🤧😂🤗♥❤❣💕💞💓🔥🌶💘💖💗",
"music": "🎶🎵",
"misc": "🔝🔃🔄⏫🆙🧁🍡🦸🦹🧞🌋🌃🏙️🌄🌅🌇🎆🗿🎇"
},
"effect_rate": 33,
"target_word": "for"
},
"beers": {
"commands": ["beer"],
"beers": ["Paix-Dieu"],
"opening_text": "/me cracks open a {beer} for {target}",
"target_word": "for"
},
"caretaker": {
"warm_welcome": ["Hi {target}!"],
"cold_welcome": ["Oh no..."],
"nice_farewell": [":("],
"bad_farewell": ["Good riddance."],
"welcome_rate": 10,
"farewell_rate": 10
},
"capture": {
"rate": 0.1,
"things": "🍇🍈🍉🍊🍋🍌🍍🥭🍎🍏🍐🍑🍒🍓",
"capture_sentence": "Catch!",
"captured_sentence": "Well done {winner}, you got that {thing}!"
},
"capturegive": {
"commands": ["give"],
"content_regex": "my (?P<thing>\\S+) to (?P<person>\\S+)",
"no_such_thing_reply": "You don't have such {thing}."
},
"capturelist": {
"commands": ["collection"],
"reply": "{target} captured {num} things : {things}",
"empty_reply": "{target} did not capture anything yet!"
},
"common": {
"command_suffix": "please",
"handling_conditions": {
"sleep": {
"awake": true
}
},
"question_mark": "?"
},
"compliments": {
"sentences": ["you're breathtaking"],
"calm_rate": 100
},
"doupsland": {
"commands": ["doupsland"]
},
"gpt3": {
"openai_key": "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",
"join_lines": "; ",
"computing_replies": ["Hmm…"]
},
"horoscope": {
"commands": ["horoscope"],
"meditation": "/me looks at the stars",
"url": "http://zwergf.elynx.fr/bots/horobot/",
"delay": 2
},
"insults": {
"commands": ["insult"],
"sentences": ["idiot"],
"pissed_rate": 33,
"deny_message": "No."
},
"journeemondiale": {
"commands": ["international day"],
"dates": ["01-01 NYE"],
"no_entry_reply": "Nothing special today."
},
"meteofrance": {
"commands": ["météo"],
"aliases": {
"météo": ["meteo"]
},
"result_message": "{nearest_s}; {today_s}.",
"nearest_message": "({city} @ {hour}) {weather}, {temp}, {wind} and {rain}",
"temp_format": "{temp_c}°C (windchill {temp_wc})",
"wind_format": "wind {speed} km/h to {direction}",
"unknown_direction": "unknown",
"rain_chance_format": "{p}% over {h}",
"all_rain_format": "rain chances {all_percs}",
"today_message": "today {temp_minmax}, {rain}, and sunset at {sunset}",
"minmax_temp_format": "max {t_max} min {t_min}"
},
"miscreactions": {
"reactions": [
"stop", "king", "mmm", "ooo", "detector", "question_marks",
"repeat_letters", "nudge"
],
"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!",
"nudging": "/me nudges {target}"
},
"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..."
},
"music": {
"commands": ["music", "album"]
},
"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."]
},
"playlistoftheday": {
"commands": ["playlist of the day"],
"not_fresh_reply": "It's not from today but here it is: {url}"
},
"plus": {
"commands": ["plus"]
},
"randomchoice": {
"commands": ["choose"],
"separator": "or",
"not_enough": "Not enough choices!"
},
"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
},
"shrlok": {
"socket_path": "/tmp/shrlok.sock",
"file_root": "/tmp",
"url_root": "http://localhost/"
},
"taxref": {
"commands": ["taxref", "scientifize"],
"not_found_reply": "Not found!",
"reply": "{sci_name}, {fr_name}, {family}, {cd_nom}, {cd_ref}",
"ambiguous_reply": "Ambiguous! It can be: ",
"unnamed_species": "(no name)"
},
"translate": {
"commands": ["translate"],
"default_dest": "en",
"param_source": "from",
"param_dest": "to"
},
"unknownquestion": {
"pass_to_misc_rate": 50
},
"wikipedia": {
"commands": ["science", "define"],
"lang": "en",
"ambiguous_response": "It is ambiguous.",
"empty_response": "I can't find it."
},
"wolframalpha": {
"commands": ["wolfram"],
"aliases": {
"wolfram": ["wolframalpha", "compute"]
},
"api_key": "URTWTW-3KHWL4VV8W",
"max_pods": 1
},
"yell": {
"commands": ["yell"],
"target_word": "to",
"loudness": 5
},
"youtube": {
"commands": ["youtube"],
"api_key": "AIzaSyCSyKdjGxcfjcj7FmgQRlWXF7ARpX8TC80"
}
}
}