forked from HoloTech/subathon-tracker-bot
Compare commits
6 Commits
ef7789dc9c
..
master
| Author | SHA1 | Date | |
|---|---|---|---|
| 46a0fea467 | |||
| 4683beb2c5 | |||
| d334f900f8 | |||
| 20db56cd7d | |||
| 7aed63f756 | |||
| 0ba39816c9 |
@@ -13,3 +13,6 @@
|
||||
[submodule "src/modules/exec"]
|
||||
path = src/modules/exec
|
||||
url = https://git.thewisewolf.dev/HoloTech/exec-plugin.git
|
||||
[submodule "src/modules/pluscampaign"]
|
||||
path = src/modules/pluscampaign
|
||||
url = https://git.thewisewolf.dev/CarmiCoven/pluscampaign-plugin.git
|
||||
|
||||
@@ -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)
|
||||
|
||||
Submodule
+1
Submodule src/modules/pluscampaign added at 97bdf8e8e3
+1
-1
Submodule src/modules/tracker updated: d7ef852ebb...2f4778d0b8
Reference in New Issue
Block a user