to an option object

This commit is contained in:
ITOH
2021-04-30 18:57:44 +02:00
parent ce5f890973
commit 5a526c809b
3 changed files with 6 additions and 6 deletions
+1 -1
View File
@@ -31,7 +31,7 @@ async function ifItFailsBlameWolf(type: "getter" | "raw", user = false) {
message.channelId,
message.id,
"❤",
user ? message.author.id : undefined,
user ? { userId: message.author.id } : undefined,
);
} else {
await message.removeReaction("❤", user ? message.author.id : undefined);