mirror of
https://github.com/ZeppelinBot/Zeppelin.git
synced 2025-05-24 10:05:03 +00:00
Typed log functions + more
This commit is contained in:
parent
13043508c2
commit
dd78ac0090
166 changed files with 4021 additions and 869 deletions
|
@ -19,7 +19,7 @@ export async function safeFindRelevantAuditLogEntry(
|
|||
} catch (e) {
|
||||
if (isDiscordAPIError(e) && e.code === 50013) {
|
||||
const logs = pluginData.getPlugin(LogsPlugin);
|
||||
logs.log(LogType.BOT_ALERT, {
|
||||
logs.logBotAlert({
|
||||
body: "Missing permissions to read audit log",
|
||||
});
|
||||
return;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue