Skip to content

Commit

Permalink
Add ping to logs
Browse files Browse the repository at this point in the history
  • Loading branch information
jeremy-rifkin committed Nov 2, 2024
1 parent 9a4b28e commit b14abe9
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions src/wheatley.ts
Original file line number Diff line number Diff line change
Expand Up @@ -221,6 +221,8 @@ export const skill_roles_order_id = [
"331719591405551616",
];

export const zelis = "199943082441965577";

// General config
// TODO: Can eliminate this stuff
export const root_ids = new Set([
Expand Down Expand Up @@ -630,7 +632,7 @@ export class Wheatley {
if (!this.log_channel) {
return;
}
send_long_message(this.log_channel, `🛑 Critical error: ${to_string(arg)}`)
send_long_message(this.log_channel, `🛑 Critical error: ${to_string(arg)} <@${zelis}>`)
.catch(() => M.error)
.finally(() => {
if (arg instanceof Error) {
Expand Down Expand Up @@ -674,7 +676,7 @@ export class Wheatley {
if (!this.log_channel) {
return;
}
send_long_message(this.log_channel, `🚨 Alert: ${message}`)
send_long_message(this.log_channel, `🚨 Alert: ${message} <@${zelis}>`)
.catch(M.error)
.finally(() => {
Sentry.captureMessage(message);
Expand Down

0 comments on commit b14abe9

Please sign in to comment.