update doc for InteractionInfo

This commit is contained in:
itsMapleLeaf
2022-08-04 14:39:10 -05:00
parent 843b4ef9db
commit 3c59b5ac1e

View File

@@ -38,10 +38,11 @@ export type ReacordConfig = {
* ```js * ```js
* client.on("interactionCreate", (interaction) => { * client.on("interactionCreate", (interaction) => {
* if (interaction.isChatInputCommand() && interaction.commandName === "hi") { * if (interaction.isChatInputCommand() && interaction.commandName === "hi") {
* interaction.reply("hi lol") * reacord.reply(interacition, "hi lol")
* } * }
* }) * })
* ``` * ```
* @category Core
*/ */
export type InteractionInfo = { export type InteractionInfo = {
id: string id: string