diff --git a/.gitignore b/.gitignore index b84000a..7903920 100644 --- a/.gitignore +++ b/.gitignore @@ -15,4 +15,5 @@ # vendor/ .vscode/ -.commandCache.json \ No newline at end of file +.commandCache.json +.env \ No newline at end of file diff --git a/ken.go b/ken.go index 14ff468..77cb425 100644 --- a/ken.go +++ b/ken.go @@ -314,6 +314,7 @@ func (k *Ken) onInteractionCreate(s *discordgo.Session, e *discordgo.Interaction ctx := k.ctxPool.Get().(*Ctx) defer k.ctxPool.Put(ctx) ctx.Purge() + ctx.responded = false ctx.k = k ctx.Session = s ctx.Event = e