generated from nhcarrigan/template
feat: new slash commands and bug fixes #23
@@ -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.
|
||||
}
|
||||
};
|
||||
|
||||
Reference in New Issue
Block a user