No description
Find a file
Lukáš Nedbálek 06b88b73c0 fix: use fetch_member instead of get_member for guild membership check
/kruh looked up guild membership via Guild.get_member(), which only
reads the local gateway member cache. The bot doesn't request the
privileged members intent, and since /kruh can be invoked from DMs
(no guild-scoped interaction to populate that guild's cache), the
lookup returned None for genuine members, always producing "Are you
a member of the 'Kruhy MFF UK' server?" regardless of actual
membership.

fetch_member() makes a real API call instead of a cache lookup, so
it works correctly regardless of intents or where the command was
invoked from.

Also awaited a second stray self.log() call in the role-assignment
failure path that was missed in an earlier fix.
2026-09-20 00:12:50 +02:00
bin fix: re-raise after logging startup failure so the service can restart 2026-09-19 23:28:25 +02:00
cobuild cont: copy external data before starting 2026-06-22 15:46:02 +02:00
common feat: container setup prep test 2025-09-14 10:03:56 +02:00
data.example/kruhobot rework: slash commands, migration cog, polished auth 2026-08-31 14:51:40 +02:00
kruhobot fix: use fetch_member instead of get_member for guild membership check 2026-09-20 00:12:50 +02:00
.gitignore chore: ignore .venv 2025-09-14 15:44:17 +02:00
requirements.txt feat: container setup prep test 2025-09-14 10:03:56 +02:00
setup.py feat: container fixes 2025-09-14 15:45:20 +02:00