Guilds helpers

This commit is contained in:
TriForMine
2021-10-21 19:38:09 +02:00
parent baf8583976
commit 20616e8a36
29 changed files with 156 additions and 167 deletions
@@ -66,5 +66,5 @@ export async function editSlashResponse(bot: Bot, token: string, options: Discor
// If the original message was edited, this will not return a message
if (!options.messageId) return result as undefined;
return bot.transformers.message(result);
return bot.transformers.message(bot, result);
}
@@ -10,5 +10,5 @@ export async function getOriginalInteractionResponse(bot: Bot, token: string) {
bot.constants.endpoints.INTERACTION_ORIGINAL_ID_TOKEN(bot.applicationId, token)
);
return bot.transformers.message(result);
return bot.transformers.message(bot, result);
}