Switch to TOML for config file, fix bugs.

This commit is contained in:
OK
2023-03-22 21:37:33 +01:00
parent 7ed9049892
commit c85153c490
9 changed files with 69 additions and 37 deletions
+13
View File
@@ -0,0 +1,13 @@
openai-key = "OPENAIKEY"
discord-token = "DISCORDTOKEN"
model = "gpt-4"
max-tokens = 1024
temperature = 0.9
top-p = 1.0
presence-penalty = 1.0
frequency-penalty = 1.0
history-limit = 10
welcome-channel = "welcome"
staff-channel = "staff"
join-message = "Hi! I am {name}, and I am new here."
system = "You are an smart AI"