Working on viewas
diff --git a/src/utils/singleNotify.ts b/src/utils/singleNotify.ts
index e762487..8e3aa60 100644
--- a/src/utils/singleNotify.ts
+++ b/src/utils/singleNotify.ts
@@ -13,7 +13,8 @@
type: string,
guild: string,
message: string | true,
- severity: "Critical" | "Warning" | "Info" = "Info"
+ severity: "Critical" | "Warning" | "Info" = "Info",
+ pings?: string[]
) {
const data = await client.database.guilds.read(guild);
if (data.logging.staff.channel === null) return;
@@ -30,6 +31,11 @@
const channel = await client.channels.fetch(data.logging.staff.channel);
if (!channel) return;
if (!channel.isTextBased()) return;
+ if (pings) {
+ await channel.send({
+ content: pings.map((ping) => `<@${ping}>`).join(" ")
+ });
+ }
await channel.send({
embeds: [
new EmojiEmbed()