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>
<ImplicitUsings>true</ImplicitUsings>
<SatelliteResourceLanguages>en</SatelliteResourceLanguages>
<Version>5.1.0</Version>
<Version>5.1.1</Version>
<!-- Output/build -->
<RunWorkingDirectory>$(MSBuildProjectDirectory)</RunWorkingDirectory>

View file

@ -156,7 +156,7 @@ public sealed class Creds : IBotCredentials
public Creds()
{
Version = 8;
Version = 9;
Token = string.Empty;
UsePrivilegedIntents = true;
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'.
# Also, in that case you should be using EllieBot.Coordinator to start the bot, and it will correctly override this value.
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.
# Then, go to APIs and Services -> Credentials and click Create credentials -> API key.
# Used only for Youtube Data Api (at the moment).
@ -24,9 +30,9 @@ googleApiKey: ""
# Copy the 'Search Engine ID' to the SearchId field
#
# Do all steps again but enable image search for the ImageSearchId
google:
searchId:
imageSearchId:
google:
searchId:
imageSearchId:
# Settings for voting system for discordbots. Meant for use on global Ellie.
votes:
# top.gg votes service url
@ -46,7 +52,7 @@ votes:
# Patreon auto reward system settings.
# go to https://www.patreon.com/portal -> my clients -> create client
patreon:
clientId:
clientId:
accessToken: ""
refreshToken: ""
clientSecret: ""
@ -56,7 +62,7 @@ patreon:
botListToken: ""
# Official cleverbot api key.
cleverbotApiKey: ""
# Official GPT-3 api key.
# OpenAi api key.
gpt3ApiKey: ""
# 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.
@ -80,25 +86,25 @@ db:
# Change only if you've changed the coordinator address or port.
coordinatorUrl: http://localhost:3442
# 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).
# Used only for .time command.
locationIqApiKey:
locationIqApiKey:
# https://timezonedb.com api key (register and you will receive the token in the email).
# Used only for .time command
timezoneDbApiKey:
timezoneDbApiKey:
# https://pro.coinmarketcap.com/account/ api key. There is a free plan for personal use.
# Used for cryptocurrency related commands.
coinmarketcapApiKey:
coinmarketcapApiKey:
# Api key used for Osu related commands. Obtain this key at https://osu.ppy.sh/p/api
osuApiKey:
osuApiKey:
# Optional Trovo client id.
# 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
twitchClientId:
twitchClientId:
# 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.
# Only used if bot is executed directly (NOT through the coordinator)
# placeholders:
@ -111,5 +117,5 @@ twitchClientSecret:
# cmd: EllieBot.exe
# args: "{0}"
restartCommand:
cmd:
args:
cmd:
args: