diff options
| author | Alex Pooley (@zuedev) <zuedev@gmail.com> | 2026-07-23 22:39:33 +0100 |
|---|---|---|
| committer | Alex Pooley (@zuedev) <zuedev@gmail.com> | 2026-07-23 22:39:33 +0100 |
| commit | 4cccbdda3496aad74bdb3b4b2ad746f4367b13d9 (patch) | |
| tree | 38f8d27bee36eab2295dc5a2b044e6075bd20faf /174bg/discord-bot/source/commands | |
| parent | 2d7362b6fc73f4807f09f6f522fd2e1e2b306e04 (diff) | |
| download | unnamed-group-4cccbdda3496aad74bdb3b4b2ad746f4367b13d9.tar unnamed-group-4cccbdda3496aad74bdb3b4b2ad746f4367b13d9.tar.gz unnamed-group-4cccbdda3496aad74bdb3b4b2ad746f4367b13d9.tar.bz2 unnamed-group-4cccbdda3496aad74bdb3b4b2ad746f4367b13d9.tar.xz unnamed-group-4cccbdda3496aad74bdb3b4b2ad746f4367b13d9.zip | |
opti refactor
Diffstat (limited to '174bg/discord-bot/source/commands')
| -rw-r--r-- | 174bg/discord-bot/source/commands/requisition.js | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/174bg/discord-bot/source/commands/requisition.js b/174bg/discord-bot/source/commands/requisition.js index 02c7699..7c547d5 100644 --- a/174bg/discord-bot/source/commands/requisition.js +++ b/174bg/discord-bot/source/commands/requisition.js @@ -1,6 +1,6 @@ import { SlashCommandBuilder } from "discord.js"; import createTicket from "../utilities/createTicket.js"; -import notifyRoleByName from "../utilities/notifyRoleByName.js"; +import messageMembersByRoleName from "../utilities/messageMembersByRoleName.js"; export default { data: new SlashCommandBuilder() @@ -33,7 +33,7 @@ export default { }); // notify quartermasters - await notifyRoleByName( + await messageMembersByRoleName( interaction.guild, "quartermaster", `New requisition request from <@${interaction.user.id}>: ${contents}`, |
