This commit is contained in:
Skillz
2020-11-19 23:10:14 -05:00
parent 12a58ed7bf
commit 4cd76db969
541 changed files with 9640 additions and 40 deletions
+2 -2
View File
@@ -192,7 +192,7 @@ export async function sendMessage(
["READ_MESSAGE_HISTORY"],
))
) {
throw new Error(Errors.MISSING_SEND_MESSAGES);
throw new Error(Errors.MISSING_READ_MESSAGE_HISTORY);
}
}
}
@@ -213,7 +213,7 @@ export async function sendMessage(
allowed_mentions: content.mentions
? {
...content.mentions,
replied_user: content.mentions.repliedUser !== false,
replied_user: content.mentions.repliedUser,
}
: undefined,
message_reference: {