Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
19 commits
Select commit Hold shift + click to select a range
dbb36db
refactor(logging): make botstrap logging useful
onerandomusername Oct 21, 2025
095a7d4
style: format with ruff, fix typehints, save magic values as constants
onerandomusername Oct 21, 2025
add90e3
upgrade application flags if intents weren't enabled
onerandomusername Oct 21, 2025
5f1e5f1
provide an invite link if the bot isn't in the configured guild
onerandomusername Oct 21, 2025
a05e494
refactor: cache guild info and guild channels
onerandomusername Oct 25, 2025
83544e5
refactor: request all webhooks at once, match by name
onerandomusername Oct 21, 2025
24da972
fix: only override the webhook ID for configuring webhooks
onerandomusername Oct 22, 2025
8293c2b
add audit log reason to requests that support it
onerandomusername Oct 22, 2025
2d5b83c
refactor: sync emojis to the test guild
onerandomusername Oct 25, 2025
2d760f8
refactor: rewrite Botstrap to be a class instead of one big-old if st…
onerandomusername Oct 27, 2025
3b6c0d5
provide a helpful error message when BOT_TOKEN is not set, use pydant…
onerandomusername Oct 29, 2025
07b4e61
apply suggestions from code review
onerandomusername Oct 29, 2025
1993071
remove special forum channel handling
onerandomusername Oct 29, 2025
27a16d6
interface updates, typehints, variable names
onerandomusername Oct 29, 2025
c08d731
fix: touch env_file if it doesn't exist
onerandomusername Oct 30, 2025
c081d72
don't use a property api request
onerandomusername Oct 30, 2025
d090e96
fix: add utf8 encoding for windows support
onerandomusername Nov 1, 2025
d371a59
apply suggestions from review
onerandomusername Nov 9, 2025
e970511
fix: require matched webhooks to have a token
onerandomusername Nov 10, 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