updated pagination, upped version to 5.1.1

This commit is contained in:
Toastie (DCS Team) 2024-06-29 15:20:23 +12:00
parent 831f21580f
commit 3e3ccfb498
Signed by: toastie_t0ast
GPG key ID: 27F3B6855AFD40A4
3 changed files with 23 additions and 17 deletions

View file

@ -4,7 +4,7 @@
<Nullable>enable</Nullable> <Nullable>enable</Nullable>
<ImplicitUsings>true</ImplicitUsings> <ImplicitUsings>true</ImplicitUsings>
<SatelliteResourceLanguages>en</SatelliteResourceLanguages> <SatelliteResourceLanguages>en</SatelliteResourceLanguages>
<Version>5.1.0</Version> <Version>5.1.1</Version>
<!-- Output/build --> <!-- Output/build -->
<RunWorkingDirectory>$(MSBuildProjectDirectory)</RunWorkingDirectory> <RunWorkingDirectory>$(MSBuildProjectDirectory)</RunWorkingDirectory>

View file

@ -156,7 +156,7 @@ public sealed class Creds : IBotCredentials
public Creds() public Creds()
{ {
Version = 8; Version = 9;
Token = string.Empty; Token = string.Empty;
UsePrivilegedIntents = true; UsePrivilegedIntents = true;
OwnerIds = new List<ulong>(); OwnerIds = new List<ulong>();

View file

@ -13,6 +13,12 @@ usePrivilegedIntents: true
# note: If you are planning to have more than one shard, then you must change botCache to 'redis'. # note: If you are planning to have more than one shard, then you must change botCache to 'redis'.
# Also, in that case you should be using EllieBot.Coordinator to start the bot, and it will correctly override this value. # Also, in that case you should be using EllieBot.Coordinator to start the bot, and it will correctly override this value.
totalShards: 1 totalShards: 1
# Pledge 5$ or more on https://patreon.com/elliebot and connect your discord account to Patreon.
# Go to https://dashy.elliebot.net/me and login with your discord account
# Go to the Keys page and click "Generate New Key" and copy it here
# You and anyone else with the permission to run `.prompt` command will be able to use natural language to run bot's commands.
# For example '@Bot how's the weather in Paris' will return the current weather in Paris as if you were to run `.weather Paris` command.
ellieAiToken:
# Login to https://console.cloud.google.com, create a new project, go to APIs & Services -> Library -> YouTube Data API and enable it. # Login to https://console.cloud.google.com, create a new project, go to APIs & Services -> Library -> YouTube Data API and enable it.
# Then, go to APIs and Services -> Credentials and click Create credentials -> API key. # Then, go to APIs and Services -> Credentials and click Create credentials -> API key.
# Used only for Youtube Data Api (at the moment). # Used only for Youtube Data Api (at the moment).
@ -56,7 +62,7 @@ patreon:
botListToken: "" botListToken: ""
# Official cleverbot api key. # Official cleverbot api key.
cleverbotApiKey: "" cleverbotApiKey: ""
# Official GPT-3 api key. # OpenAi api key.
gpt3ApiKey: "" gpt3ApiKey: ""
# Which cache implementation should bot use. # Which cache implementation should bot use.
# 'memory' - Cache will be in memory of the bot's process itself. Only use this on bots with a single shard. When the bot is restarted the cache is reset. # 'memory' - Cache will be in memory of the bot's process itself. Only use this on bots with a single shard. When the bot is restarted the cache is reset.