Update component example

This commit is contained in:
Nicolás Serna 2022-07-14 14:17:34 -03:00
parent 9193346f52
commit 03f46ef643

View File

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