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).
@ -24,9 +30,9 @@ googleApiKey: ""
# Copy the 'Search Engine ID' to the SearchId field # Copy the 'Search Engine ID' to the SearchId field
# #
# Do all steps again but enable image search for the ImageSearchId # Do all steps again but enable image search for the ImageSearchId
google: google:
searchId: searchId:
imageSearchId: imageSearchId:
# Settings for voting system for discordbots. Meant for use on global Ellie. # Settings for voting system for discordbots. Meant for use on global Ellie.
votes: votes:
# top.gg votes service url # top.gg votes service url
@ -46,7 +52,7 @@ votes:
# Patreon auto reward system settings. # Patreon auto reward system settings.
# go to https://www.patreon.com/portal -> my clients -> create client # go to https://www.patreon.com/portal -> my clients -> create client
patreon: patreon:
clientId: clientId:
accessToken: "" accessToken: ""
refreshToken: "" refreshToken: ""
clientSecret: "" clientSecret: ""
@ -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.
@ -80,25 +86,25 @@ db:
# Change only if you've changed the coordinator address or port. # Change only if you've changed the coordinator address or port.
coordinatorUrl: http://localhost:3442 coordinatorUrl: http://localhost:3442
# Api key obtained on https://rapidapi.com (go to MyApps -> Add New App -> Enter Name -> Application key) # Api key obtained on https://rapidapi.com (go to MyApps -> Add New App -> Enter Name -> Application key)
rapidApiKey: rapidApiKey:
# https://locationiq.com api key (register and you will receive the token in the email). # https://locationiq.com api key (register and you will receive the token in the email).
# Used only for .time command. # Used only for .time command.
locationIqApiKey: locationIqApiKey:
# https://timezonedb.com api key (register and you will receive the token in the email). # https://timezonedb.com api key (register and you will receive the token in the email).
# Used only for .time command # Used only for .time command
timezoneDbApiKey: timezoneDbApiKey:
# https://pro.coinmarketcap.com/account/ api key. There is a free plan for personal use. # https://pro.coinmarketcap.com/account/ api key. There is a free plan for personal use.
# Used for cryptocurrency related commands. # Used for cryptocurrency related commands.
coinmarketcapApiKey: coinmarketcapApiKey:
# Api key used for Osu related commands. Obtain this key at https://osu.ppy.sh/p/api # Api key used for Osu related commands. Obtain this key at https://osu.ppy.sh/p/api
osuApiKey: osuApiKey:
# Optional Trovo client id. # Optional Trovo client id.
# You should use this if Trovo stream notifications stopped working or you're getting ratelimit errors. # You should use this if Trovo stream notifications stopped working or you're getting ratelimit errors.
trovoClientId: trovoClientId:
# Obtain by creating an application at https://dev.twitch.tv/console/apps # Obtain by creating an application at https://dev.twitch.tv/console/apps
twitchClientId: twitchClientId:
# Obtain by creating an application at https://dev.twitch.tv/console/apps # Obtain by creating an application at https://dev.twitch.tv/console/apps
twitchClientSecret: twitchClientSecret:
# Command and args which will be used to restart the bot. # Command and args which will be used to restart the bot.
# Only used if bot is executed directly (NOT through the coordinator) # Only used if bot is executed directly (NOT through the coordinator)
# placeholders: # placeholders:
@ -111,5 +117,5 @@ twitchClientSecret:
# cmd: EllieBot.exe # cmd: EllieBot.exe
# args: "{0}" # args: "{0}"
restartCommand: restartCommand:
cmd: cmd:
args: args: