mirror of
https://github.com/tiramisulabs/seyfert.git
synced 2025-07-04 22:16:08 +00:00
Revert "Update component example"
This reverts commit 03f46ef64373919b4897b2570ff99a22ecd4639f.
This commit is contained in:
parent
03f46ef643
commit
2eab2d755d
@ -36,11 +36,9 @@ session.on("messageCreate", (message) => {
|
|||||||
console.log(args, name);
|
console.log(args, name);
|
||||||
|
|
||||||
if (name === 'ping') {
|
if (name === 'ping') {
|
||||||
message.reply({
|
message.reply({ components: [row] })
|
||||||
content: 'pong!',
|
.then(() => {})
|
||||||
})
|
.catch((e) => console.error(e));
|
||||||
.then(() => {})
|
|
||||||
.catch((e) => console.error(e));
|
|
||||||
}
|
}
|
||||||
});
|
});
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user