I'm getting this error every time
Process 21408 has exited with status 0
this is my code
package main
import (
"fmt"
"log"
"github.com/bwmarrin/discordgo"
)
func main() {
s, err := discordgo.New("Bot " + "token") // im using an actual token i just replaced it to send it here
if err != nil {
fmt.Println("error creating Discord session:", err)
return
}
defer s.Close()
s.AddHandler(func(s *discordgo.Session, r *discordgo.Ready) {
log.Println("Bot is up")
})
s.AddHandler(func(s *discordgo.Session, r *discordgo.MessageCreate) {
log.Println("test")
})
}
and im using vs code