Skip to content
Merged
Changes from all commits
Commits
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
5 changes: 4 additions & 1 deletion techsupport_bot/commands/application.py
Original file line number Diff line number Diff line change
Expand Up @@ -911,7 +911,10 @@ async def execute(self: Self, config: munch.Munch, guild: discord.Guild) -> None
# Update the database
audit_log = []
for app in apps:
user = await guild.fetch_member(int(app.applicant_id))
try:
user = await guild.fetch_member(int(app.applicant_id))
except discord.NotFound:
user = None
if not user:
audit_log.append(
f"Application by user: `{app.applicant_name}` was rejected because"
Expand Down