add couple comments

This commit is contained in:
Ean Milligan (Bastion) 2023-04-08 05:11:41 -04:00
parent c8befee5f4
commit 487079713f
1 changed files with 2 additions and 0 deletions

View File

@ -27,6 +27,7 @@ const getLfgMembers = (rawMemberList: string): Array<LFGMember> =>
// Remove LFGMember from array filter
const removeLfgMember = (memberList: Array<LFGMember>, memberId: bigint): Array<LFGMember> => memberList.filter((member) => member.id !== memberId);
// Handles updating the fields and editing the event
const editEvent = async (
bot: Bot,
interaction: Interaction,
@ -59,6 +60,7 @@ const editEvent = async (
}
};
// Generic no response response
const noEdit = async (bot: Bot, interaction: Interaction) =>
bot.helpers.sendInteractionResponse(interaction.id, interaction.token, {
type: InteractionResponseTypes.DeferredUpdateMessage,