Update src/helpers/messages/send_message.ts

Co-authored-by: ITOH <72305210+itohatweb@users.noreply.github.com>
This commit is contained in:
Skillz4Killz
2021-05-01 10:14:33 -04:00
committed by GitHub
parent f6b4528d2c
commit 703d5f682e
+1 -1
View File
@@ -100,7 +100,7 @@ export async function sendMessage(
let actionRowCounter = 0; let actionRowCounter = 0;
for (const component of content.components) { for (const component of content.components) {
// 5 Link buttons can not have a custom_id // 5 Link buttons can not have a customId
if (isButton(component)) { if (isButton(component)) {
if ( if (
component.type === ButtonStyles.Link && component.type === ButtonStyles.Link &&