aboutsummaryrefslogtreecommitdiff
path: root/174bg/discord-bot/source/commands
diff options
context:
space:
mode:
authorAlex Pooley (@zuedev) <zuedev@gmail.com>2026-07-23 22:39:33 +0100
committerAlex Pooley (@zuedev) <zuedev@gmail.com>2026-07-23 22:39:33 +0100
commit4cccbdda3496aad74bdb3b4b2ad746f4367b13d9 (patch)
tree38f8d27bee36eab2295dc5a2b044e6075bd20faf /174bg/discord-bot/source/commands
parent2d7362b6fc73f4807f09f6f522fd2e1e2b306e04 (diff)
downloadunnamed-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.js4
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}`,