mirror of
https://github.com/tiramisulabs/seyfert.git
synced 2025-07-03 05:26:07 +00:00
Update component example
This commit is contained in:
parent
9193346f52
commit
03f46ef643
@ -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));
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user