removed unused argument from bot call to sendMessageAsMember

This commit is contained in:
Aster Fialla
2026-02-23 08:59:32 -05:00
parent 1d27db960c
commit 50c41990ed

View File

@@ -27,7 +27,7 @@ client.on(Events.MessageCreate, async (message) => {
// If message doesn't start with the bot prefix, it could still be a message with a proxy tag. If it's not, return.
if (!content.startsWith(messageHelper.prefix)) {
await webhookHelper.sendMessageAsMember(client, message, content).catch((e) => {
await webhookHelper.sendMessageAsMember(client, message).catch((e) => {
throw e
});
return;