feat: new slash commands and bug fixes #23

Merged
naomi merged 5 commits from feat/commands-two into main 2026-03-12 23:47:46 -07:00
Showing only changes of commit 36e095991c - Show all commits
+2 -5
View File
@@ -23,7 +23,6 @@ import {
type MessageActionRowComponentBuilder,
} from "discord.js";
import { ids } from "../config/ids.js";
import { logger } from "../utils/logger.js";
import type { Amari } from "../interfaces/amari.js";
const username = "naomilgbt";
@@ -117,9 +116,7 @@ export const checkRetroAchievements = async(
flags: [ MessageFlags.IsComponentsV2 ],
});
}));
} catch (error) {
if (error instanceof Error) {
await logger.error("checkRetroAchievements module", error);
}
} catch {
// Fetch errors from RetroAchievements are non-critical; the job retries every 10 minutes.
}
};