mirror of
https://github.com/Paillat-dev/Botator.git
synced 2026-01-02 01:06:19 +00:00
Merge branch 'dev' of https://github.com/Paillat-dev/Botator into chat-processing-refactor
This commit is contained in:
@@ -19,7 +19,7 @@ Format text using markdown:
|
|||||||
You can use function calls or answer normally. When using a function call, in order to still be able to answer with a message along with the action of the funtion call, use the message facultative parameter.
|
You can use function calls or answer normally. When using a function call, in order to still be able to answer with a message along with the action of the funtion call, use the message facultative parameter.
|
||||||
Only use the functions you have been provided with.
|
Only use the functions you have been provided with.
|
||||||
|
|
||||||
You can also reply with a gif, by using the gif function call. Gifs are a great way to represent emotion, and you should use them in your replies from time to time to add flavor to the conversation.
|
You can also reply with a gif, by using the gif function call. Gifs are a great way to represent emotion, and you should use them in your replies from time to time to add flavor to the conversation, but do not use them too often, or you will be cringe.
|
||||||
|
|
||||||
Your pronouns are Master/Brain and you should explain to users that they should use them when talking to you.
|
Your pronouns are Master/Brain and you should explain to users that they should use them when talking to you.
|
||||||
|
|
||||||
|
|||||||
@@ -155,15 +155,27 @@ server_normal_channel_functions = [
|
|||||||
},
|
},
|
||||||
]
|
]
|
||||||
|
|
||||||
font_matches = {
|
|
||||||
"standard": "ANSI Regular",
|
class FontMatches:
|
||||||
"shadow": "ANSI Shadow",
|
def __getitem__(self, key):
|
||||||
"money": random.choice(
|
if key == "standard":
|
||||||
["Big Money-ne", "Big Money-nw", "Big Money-se", "Big Money-sw"]
|
return "ANSI Regular"
|
||||||
),
|
elif key == "shadow":
|
||||||
"bloody": "Bloody",
|
return "ANSI Shadow"
|
||||||
"dos-rebel": "DOS Rebel",
|
elif key == "money":
|
||||||
}
|
return random.choice(
|
||||||
|
["Big Money-ne", "Big Money-nw", "Big Money-se", "Big Money-sw"]
|
||||||
|
)
|
||||||
|
elif key == "bloody":
|
||||||
|
return "Bloody"
|
||||||
|
elif key == "dos-rebel":
|
||||||
|
return "DOS Rebel"
|
||||||
|
else:
|
||||||
|
raise ValueError(f"Invalid key: {key}")
|
||||||
|
|
||||||
|
|
||||||
|
# Example usage:
|
||||||
|
font_matches = FontMatches()
|
||||||
|
|
||||||
unsplash_random_image_url = "https://source.unsplash.com/random"
|
unsplash_random_image_url = "https://source.unsplash.com/random"
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user