mirror of
https://github.com/Equicord/Equicord.git
synced 2025-01-18 21:33:35 -05:00
Fix Some Names
This commit is contained in:
parent
92fe7335fb
commit
1e6cfb8bd2
1 changed files with 5 additions and 5 deletions
|
@ -61,7 +61,7 @@ async function showNotification(message: Message, guildId: string | undefined):
|
|||
new Audio("https://discord.com/assets/9422aef94aa931248105.mp3").play();
|
||||
}
|
||||
} catch (error) {
|
||||
new Logger("BypassDND").error("Failed to notify user: ", error);
|
||||
new Logger("BypassStatus").error("Failed to notify user: ", error);
|
||||
}
|
||||
}
|
||||
|
||||
|
@ -74,8 +74,8 @@ function ContextCallback(name: "guild" | "user" | "channel"): NavContextMenuPatc
|
|||
children.splice(-1, 0, (
|
||||
<Menu.MenuGroup>
|
||||
<Menu.MenuItem
|
||||
id={`dnd-${name}-bypass`}
|
||||
label={`${enabled ? "Remove" : "Add"} DND Bypass`}
|
||||
id={`status-${name}-bypass`}
|
||||
label={`${enabled ? "Remove" : "Add"} Status Bypass`}
|
||||
icon={() => Icon(enabled)}
|
||||
action={() => {
|
||||
let bypasses: string[] = settings.store[`${name}s`].split(", ");
|
||||
|
@ -113,7 +113,7 @@ const settings = definePluginSettings({
|
|||
},
|
||||
allowOutsideOfDms: {
|
||||
type: OptionType.BOOLEAN,
|
||||
description: "Allow selected users to bypass DND outside of DMs too (acts like a channel/guild bypass, but it's for all messages sent by the selected users)"
|
||||
description: "Allow selected users to bypass status outside of DMs too (acts like a channel/guild bypass, but it's for all messages sent by the selected users)"
|
||||
},
|
||||
notificationSound: {
|
||||
type: OptionType.BOOLEAN,
|
||||
|
@ -169,7 +169,7 @@ export default definePlugin({
|
|||
}
|
||||
}
|
||||
} catch (error) {
|
||||
new Logger("BypassDND").error("Failed to handle message: ", error);
|
||||
new Logger("BypassStatus").error("Failed to handle message: ", error);
|
||||
}
|
||||
}
|
||||
},
|
||||
|
|
Loading…
Reference in a new issue