Update edit_slash_response.ts

This commit is contained in:
ITOH
2021-04-23 23:27:51 +02:00
parent 2d1177290a
commit 9831ccf76e

View File

@@ -69,7 +69,7 @@ export async function editSlashResponse(
);
// If the original message was edited, this will not return a message
if (!options.messageId) return result;
if (!options.messageId) return result as undefined;
const message = await structures.createDiscordenoMessage(
result as DiscordMessage,