Compare commits

..

2 Commits

3 changed files with 6 additions and 2 deletions

View File

@ -13,6 +13,9 @@ export type MemberAdditionalAcknowledgement =
| "Chair of the Board of Governors" | "Chair of the Board of Governors"
| "Vice Chair of the Board of Governors" | "Vice Chair of the Board of Governors"
| "Voting Seat Member of the Board of Governors" | "Voting Seat Member of the Board of Governors"
| "Non-Voting Seat Member of the Board of Governors"
| "Commissioner of the Contract Review Committee"
| "Member of the Contract Review Committee"
| string; | string;
export const MemberGuildRoleIDMap = { export const MemberGuildRoleIDMap = {

View File

@ -26,7 +26,7 @@ export default class Eval extends DiscordInteractionCommand {
option.setName("depth").setDescription("The depth of the inspection.").setRequired(false) option.setName("depth").setDescription("The depth of the inspection.").setRequired(false)
); );
// this checks against the database and adds all of the partners that are "allowed to perform dev commands" // this checks against the database and adds all the partners that are "allowed to perform dev commands"
// doing the database check in the initialization prevents us from having to check the database every time this command is ran // doing the database check in the initialization prevents us from having to check the database every time this command is ran
PartnerModel.find({ canPerformDevCommands: true }).then((partners) => { PartnerModel.find({ canPerformDevCommands: true }).then((partners) => {
for (const partner of partners) { for (const partner of partners) {
@ -68,7 +68,7 @@ export default class Eval extends DiscordInteractionCommand {
evaled = "undefined"; evaled = "undefined";
} }
} catch (error) { } catch (error) {
// @ts-ignore // @ts-expect-error No throws in this block return anything other than an error.
evaled = error.stack; evaled = error.stack;
} }

View File

@ -1,4 +1,5 @@
export { default as Eval } from "./Eval"; export { default as Eval } from "./Eval";
export { default as Partner } from "./Partner"; export { default as Partner } from "./Partner";
export { default as Ping } from "./Ping"; export { default as Ping } from "./Ping";
export { default as TLS } from "./TLS";
export { default as Whois } from "./Whois"; export { default as Whois } from "./Whois";