Develop 5.0.0 - #37
Merged
Merged
Conversation
- this disables the bot's ability to scale horizontally Signed-off-by: Egg-03 <111327101+eggy03@users.noreply.github.com>
- brand-new command system - ive been working tirelessly for 10hours..i cant do it anymore Signed-off-by: Egg-03 <111327101+eggy03@users.noreply.github.com>
Signed-off-by: Egg-03 <111327101+eggy03@users.noreply.github.com>
Signed-off-by: Egg-03 <111327101+eggy03@users.noreply.github.com>
…t to a new package Signed-off-by: Egg-03 <111327101+eggy03@users.noreply.github.com>
Signed-off-by: Egg-03 <111327101+eggy03@users.noreply.github.com>
Signed-off-by: Egg-03 <111327101+eggy03@users.noreply.github.com>
Signed-off-by: Egg-03 <111327101+eggy03@users.noreply.github.com>
Signed-off-by: Egg-03 <111327101+eggy03@users.noreply.github.com>
Signed-off-by: Egg-03 <111327101+eggy03@users.noreply.github.com>
Signed-off-by: Egg-03 <111327101+eggy03@users.noreply.github.com>
Signed-off-by: Egg-03 <111327101+eggy03@users.noreply.github.com>
Signed-off-by: Egg-03 <111327101+eggy03@users.noreply.github.com>
Signed-off-by: Egg-03 <111327101+eggy03@users.noreply.github.com>
Signed-off-by: Egg-03 <111327101+eggy03@users.noreply.github.com>
Signed-off-by: Egg-03 <111327101+eggy03@users.noreply.github.com>
Signed-off-by: Egg-03 <111327101+eggy03@users.noreply.github.com>
eggy03
force-pushed
the
develop-5.0.0-new-schema
branch
from
October 3, 2026 09:55
6d5ce35 to
b84f03f
Compare
This branch was previously deployed
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Description
This PR adopts to the new schema used by the bot's API. The commands have undergone an overhaul and more customization options have been added. Customization options from the lite edition of the bot have also been added.
Changes
Commands
Audit Log and Message Log commands have been brought under the same roof.
auditlog set,auditlog view,auditlog remove,messagelog set,messagelog viewandmessagelog removehave been replaced by
config save [guild_event_channel][member_event_channel][message_event_channel],config viewandconfig update [guild_event_channel][member_event_channel][message_event_channel]respectively.Starting v5, the bot categorizes events into 3 types:
The new config commands allows you to assign a separate logging channel to each event category, giving you greater control over what your bot logs and where those events are sent.
Saving and Updating a Configuration
Use
config savewhen creating a new configuration andconfig updatewhen modifying an existing configuration.For example, if you only want Message Events to be logged, you can use:
config save [ ][ ][message_event_channel]or, if a configuration already exists:
config update [ ][ ][message_event_channel]Leaving a channel unspecified automatically disables logging for that event category.
For example, if your current configuration has Member Events and Message Events enabled and you want to additionally enable Guild Events, you must provide all three channels when using config update. If you omit the existing channels, those channels will be cleared and logging for those event categories will be disabled.
Viewing a configuration
Use
config viewto view existing configuration for your guild.Removing an existing configuration entirely
Use
config updatewith no channels to remove your existing configuration.Migration
If you are migrating from v2, 3 or 4, your existing guild data will be automatically migrated to the newer schema. Your existing server configuration will be migrated to work with the new schema.
Existing guild configurations will be mapped based on the following rules:
guild_event_channelandmember_event_channel. If the guild also had a channel registered for Message Log events, that channel will be assigned tomessage_event_channel.message_event_channelwill remain empty. The bot will therefore not log messages or other message-related events for that guild.guild_event_channelandmember_event_channelwill remain empty. The bot will therefore not log guild- or member-related events for that guild.You can use
config viewto verify whether your existing configuration matches with the new one.setuphas been renamed tohelpMore Customizations
Starting v5, you can allow for more customizations via environmental variables:
APP_NAME- changes the app name used internally (defaults to PaperTrailBot)APP_ACTIVITY- changes the activity showed in discord (defaults to /help | latest version)EMBED_SUCCESS_COLOR_INT- changes the color of the embeds which log creation type events (for e.g., Role Create, Sticker Create) (defaults to GREEN (712458))EMBED_WARNING_COLOR_INT- changes the color of the embeds which log update type events (for e.g., Role Update, Sticker Update) (defaults to YELLOW (16776960))EMBED_DESTRUCTIVE_COLOR_INT- changes the color of the embeds which log deletion type events (for e.g., Role Delete, Sticker Delete) (defaults to RED (16711680))Other Changes
Manual Sharding has been removed. This also means the bot is not capable of scaling horizontally anymore. I didn't want to bear the additional configuration burden associated with it.
Tasks for Native Builds