Revert "Update component example"

This reverts commit 03f46ef64373919b4897b2570ff99a22ecd4639f.
This commit is contained in:
Nicolás Serna 2022-07-14 14:20:07 -03:00
parent 03f46ef643
commit 2eab2d755d

View File

@ -36,9 +36,7 @@ session.on("messageCreate", (message) => {
console.log(args, name);
if (name === 'ping') {
message.reply({
content: 'pong!',
})
message.reply({ components: [row] })
.then(() => {})
.catch((e) => console.error(e));
}