Fixed some miscellaneous warnings in the build process

And also updated games.yml and creds_example.yml
This commit is contained in:
Toastie (DCS Team) 2024-07-19 15:31:09 +12:00
parent 2e8e4daa25
commit 8316b03c8c
Signed by: toastie_t0ast
GPG key ID: 27F3B6855AFD40A4
8 changed files with 28 additions and 13 deletions

View file

@ -2,6 +2,8 @@
Mostly based on [keepachangelog](https://keepachangelog.com/en/1.1.0/) except date format. a-c-f-r-o Mostly based on [keepachangelog](https://keepachangelog.com/en/1.1.0/) except date format. a-c-f-r-o
## Unreleased
### Added ### Added
- Added: Added a `'afk <msg>?` command which sets an afk message which will trigger whenever someone pings you - Added: Added a `'afk <msg>?` command which sets an afk message which will trigger whenever someone pings you

View file

@ -1,4 +1,5 @@
using System.Text.Json.Serialization; #nullable disable
using System.Text.Json.Serialization;
namespace EllieBot.Modules.Games.Common.ChatterBot; namespace EllieBot.Modules.Games.Common.ChatterBot;

View file

@ -1,4 +1,5 @@
using System.Text.Json.Serialization; #nullable disable
using System.Text.Json.Serialization;
namespace EllieBot.Modules.Games.Common.ChatterBot; namespace EllieBot.Modules.Games.Common.ChatterBot;

View file

@ -1,4 +1,5 @@
using System.Text.Json.Serialization; #nullable disable
using System.Text.Json.Serialization;
namespace EllieBot.Modules.Games.Common.ChatterBot; namespace EllieBot.Modules.Games.Common.ChatterBot;

View file

@ -1,4 +1,5 @@
using System.Text.Json.Serialization; #nullable disable
using System.Text.Json.Serialization;
namespace EllieBot.Modules.Games.Common.ChatterBot; namespace EllieBot.Modules.Games.Common.ChatterBot;

View file

@ -1,4 +1,5 @@
using EllieBot.Modules.Searches.Common; #nullable disable
using EllieBot.Modules.Searches.Common;
using System.Net.Http.Json; using System.Net.Http.Json;
using System.Text.Json.Serialization; using System.Text.Json.Serialization;

View file

@ -1,5 +1,5 @@
# DO NOT CHANGE # DO NOT CHANGE
version: 7 version: 9
# Bot token. Do not share with anyone ever -> https://discordapp.com/developers/applications/ # Bot token. Do not share with anyone ever -> https://discordapp.com/developers/applications/
token: "" token: ""
# List of Ids of the users who have bot owner permissions # List of Ids of the users who have bot owner permissions

View file

@ -57,18 +57,26 @@ raceAnimals:
# Which chatbot API should bot use. # Which chatbot API should bot use.
# 'cleverbot' - bot will use Cleverbot API. # 'cleverbot' - bot will use Cleverbot API.
# 'gpt' - bot will use GPT API # 'gpt' - bot will use GPT API
chatBot: Gpt chatBot: OpenAi
chatGpt: chatGpt:
# Url to any openai api compatible url.
# Make sure to modify the modelName appropriately
# DO NOT add /v1/chat/completions suffix to the url
apiUrl: https://api.openai.com
# Which GPT Model should bot use. # Which GPT Model should bot use.
# gpt35turbo - cheapest # gpt-3.5-turbo - cheapest
# gpt4o - more expensive, higher quality # gpt-4o - more expensive, higher quality
# #
modelName: Gpt35Turbo # If you are using another openai compatible api, you may use any of the models supported by that api
# How should the chat bot behave, what's its personality? (Usage of this counts towards the max tokens) modelName: gpt-3.5-turbo
# How should the chatbot behave, what's its personality?
# This will be sent as a system message.
# Usage of this counts towards the max tokens.
personalityPrompt: You are a chat bot willing to have a conversation with anyone about anything. personalityPrompt: You are a chat bot willing to have a conversation with anyone about anything.
# The maximum number of messages in a conversation that can be remembered. (This will increase the number of tokens used) # The maximum number of messages in a conversation that can be remembered.
# This will increase the number of tokens used.
chatHistory: 5 chatHistory: 5
# The maximum number of tokens to use per GPT API call # The maximum number of tokens to use per OpenAi API call
maxTokens: 100 maxTokens: 100
# The minimum number of tokens to use per GPT API call, such that chat history is removed to make room. # The minimum number of tokens to use per GPT API call, such that chat history is removed to make room.
minTokens: 30 minTokens: 30