<commit_before>; This file aims to show how the specialised Giesela ConfigParser works.
; The so called GCP is a more advanced version of python's ConfigParser. It introduces flags
; to the values which allows for non-string value settings.
; Flags are found at the end of the value in the format of "\<flag identifier>". Some basic flags are:
; \i for integer numbers
; \f for float numbers
; and most important: \json for everything that can be serialised using Json (This is mostly for lists)
; booleans and strings are handled natively and don't require a flag.

[Settings]
_token = <Your discord token>
owner_id = <your discord id>
command_prefix = <command prefix (i.e. !)>

; Giesela only responds to messages from channels whose ids are in this list
bound_channels = ["<id>", "<id>"]\json

; In these channels one must not provide the command prefix
owned_channels = ["<id>", "<id>"]\json

; These commands can be used in private chat with Giesela
private_chat_commands = ["<cmd>", "<cmd>"]\json<commit_msg>Add idle_game<commit_after>; This file aims to show how the specialised Giesela ConfigParser works.
; The so called GCP is a more advanced version of python's ConfigParser. It introduces flags
; to the values which allows for non-string value settings.
; Flags are found at the end of the value in the format of "\<flag identifier>". Some basic flags are:
; \i for integer numbers
; \f for float numbers
; and most important: \json for everything that can be serialised using Json (This is mostly for lists)
; booleans and strings are handled natively and don't require a flag.

[Settings]
_token = <Your discord token>
owner_id = <your discord id>
command_prefix = <command prefix (i.e. !)>
idle_game = Type !help

; Giesela only responds to messages from channels whose ids are in this list
bound_channels = ["<id>", "<id>"]\json

; In these channels one must not provide the command prefix
owned_channels = ["<id>", "<id>"]\json

; These commands can be used in private chat with Giesela
private_chat_commands = ["<cmd>", "<cmd>"]\json
{'fraction_non_alphanumeric': 0.08767657087189479, 'fraction_numerical': 0.0, 'mean_word_length': 4.581521739130435, 'pattern_counts': {'":': 0, '<': 23, '<?xml version=': 0, '>': 23, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '5364686', 'n_tokens_mistral': 570, 'n_tokens_neox': 560, 'n_words': 295}