Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
18 commits
Select commit Hold shift + click to select a range
41d23e2
refactor(logging): make botstrap logging useful
onerandomusername Oct 21, 2025
6b3b3ac
style: format with ruff, fix typehints, save magic values as constants
onerandomusername Oct 21, 2025
b787bc1
upgrade application flags if intents weren't enabled
onerandomusername Oct 21, 2025
b488508
provide an invite link if the bot isn't in the configured guild
onerandomusername Oct 21, 2025
85665ee
refactor: cache guild info and guild channels
onerandomusername Oct 25, 2025
f6b31cc
refactor: request all webhooks at once, match by name
onerandomusername Oct 21, 2025
4e3fab0
fix: only override the webhook ID for configuring webhooks
onerandomusername Oct 22, 2025
3d44321
add audit log reason to requests that support it
onerandomusername Oct 22, 2025
82fa0b1
refactor: sync emojis to the test guild
onerandomusername Oct 25, 2025
084b45f
refactor: rewrite Botstrap to be a class instead of one big-old if st…
onerandomusername Oct 27, 2025
ea5c265
provide a helpful error message when BOT_TOKEN is not set, use pydant…
onerandomusername Oct 29, 2025
f0cd9ce
apply suggestions from code review
onerandomusername Oct 29, 2025
a1facf2
remove special forum channel handling
onerandomusername Oct 29, 2025
f83cd4d
interface updates, typehints, variable names
onerandomusername Oct 29, 2025
4236b13
fix: touch env_file if it doesn't exist
onerandomusername Oct 30, 2025
438ca32
don't use a property api request
onerandomusername Oct 30, 2025
8eee160
fix: add utf8 encoding for windows support
onerandomusername Nov 1, 2025
075fc05
Merge branch 'main' into qt/beginner-friendly-botstrap
onerandomusername Nov 1, 2025
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion bot/constants.py
Original file line number Diff line number Diff line change
Expand Up @@ -264,7 +264,7 @@ class Webhook(BaseModel):
channel: int


class _Webhooks(EnvConfig, env_prefix="webhooks_"):
class _Webhooks(EnvConfig, env_prefix="webhooks_", nested_model_default_partial_update=True):

big_brother: Webhook = Webhook(id=569133704568373283, channel=Channels.big_brother)
dev_log: Webhook = Webhook(id=680501655111729222, channel=Channels.dev_log)
Expand Down
Loading