forked from HoloTech/subathon-tracker-bot
Compare commits
5 Commits
| Author | SHA1 | Date | |
|---|---|---|---|
| 46a0fea467 | |||
| 4683beb2c5 | |||
| d334f900f8 | |||
| 20db56cd7d | |||
| 7aed63f756 |
@@ -197,3 +197,9 @@ class Bot(commands.Bot):
|
||||
await self.add_token(row.token, row.refresh_token)
|
||||
except Exception:
|
||||
logger.exception(f"Failed to add token for {row}")
|
||||
|
||||
async def event_command_error(self, payload: commands.CommandErrorPayload) -> None:
|
||||
if isinstance(payload.exception, commands.CommandNotFound):
|
||||
logger.debug(f"Attempt to execute nonexistent command for context {payload.context!r}")
|
||||
else:
|
||||
return await super().event_command_error(payload)
|
||||
|
||||
+1
-1
Submodule src/modules/pluscampaign updated: 0923f32a82...97bdf8e8e3
+1
-1
Submodule src/modules/tracker updated: d7ef852ebb...2f4778d0b8
Reference in New Issue
Block a user