You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
@@ -165,13 +168,25 @@ If hosting the bot yourself you will need to adjust the `appsettings.json` file:
165
168
*`Discord:Implementation` - Allows you to set if you want to use the `Socket` or `Rest` discord API implementation. Don't change unless you know what you are doing and absolutely need it.
166
169
*`BotSettings:IconUrl` - The icon of the bot used in messages.
167
170
*`BotSettings:Url` - The homepage the bot links to.
171
+
*`BotSettings:GithubUrl` - The source code page the bot links to.
168
172
*`BotSettings:WarningRolePrefix` - The default prefix for warning roles of servers that have not configured their own.
169
173
*`BotSettings:WarningRoleColor` - The default color for warning roles on a server.
170
174
*`BotSettings:SupportServer` - A link to the support page for the bot.
171
175
*`BotSettings:Changelog` - The path to the changelog file on disk. Will be scanned for a new version of bot startup.
176
+
*`BotSettings:MaxChangelogsSendCount` - How many servers will be notified at once about a new version.
172
177
*`BotSettings:ReleaseInformation` - A file that contains information about the release of the bot. Will be printed in the `/help` command.
173
178
*`BotSettings:InviteUrl` - The invite URL users should use to invite the bot to their servers.
174
179
*`BotSettings:ErrorWebhookUrl` - A webhook errors will be sent to.
175
180
*`BotSettings:Jobs:CleanupWarningRoles` - The frequency in how often warnings created by the bot that are no longer used will be deleted.
181
+
*`BotSettings:Jobs:UpdateGuildChangelog` - How often the bot will check if more servers need to be informed about a new version.
176
182
177
183
Time spans for jobs are formatted in the format documented [here](https://docs.microsoft.com/en-us/dotnet/api/system.timespan.parse?view=net-6.0#system-timespan-parse(system-string)) under the section "Remarks" (`[ws][-]{ d | [d.]hh:mm[:ss[.ff]] }[ws]`).
184
+
185
+
### Discord developer portal settings
186
+
187
+
***Bot -> Privileged Gateway Intents**: `Presence Intent`, `Server Members Intent`
188
+
***OAuth2 -> General -> Redirects**: Add your redirect URL. In the example below `https://sahnee.dev/en/project/sahnee-bot/`
189
+
***Permissions**: When creating the invite URL the bot needs the following numeric permissions: `268627014`.
190
+
***Scopes**: The following scopes are required: `bot` and `application.commands`.
191
+
192
+
This for reference is the official invite URL: `https://discord.com/api/oauth2/authorize?client_id=689600370430836793&permissions=268627014&redirect_uri=https%3A%2F%2Fsahnee.dev%2Fen%2Fproject%2Fsahnee-bot%2F&scope=bot%20applications.commands`
Copy file name to clipboardExpand all lines: SahneeBot/CHANGELOG.md
+13-1Lines changed: 13 additions & 1 deletion
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -1,4 +1,16 @@
1
-
# CHANGELOG
1
+
# CHANGELOG
2
+
3
+
## 1.0.3
4
+
5
+
Changelogs after a new update are now sent to only a few servers at a time instead of all at once (causing the Discord API to trigger a rate limit). This should reduce the flood of false error messages some servers got after a new update has been released.
6
+
7
+
## 1.1.0
8
+
9
+
- We updated some internally used libraries to communicate with Discord. This should overall fix some common errors.
10
+
- We fixed an error in the warning cleanup job if a role without a name exists.
11
+
- We updated the changelog distribution system to not overload the bot after each update when sending out all these changelogs to you folks! (hopefully)
12
+
13
+
Additionally, we are currently conducting a user survey about the Sahnee-Bot. We'd love for everyone to share their opinion, regardless of if you are a server admin, moderator or a normal user: https://click.sahnee.dev/UsEHTYOj - Thank you for your time! 🙂
0 commit comments