aboutsummaryrefslogtreecommitdiff
path: root/keep.go
diff options
context:
space:
mode:
Diffstat (limited to 'keep.go')
-rw-r--r--keep.go10
1 files changed, 5 insertions, 5 deletions
diff --git a/keep.go b/keep.go
index 8457ff2..b7ebb9f 100644
--- a/keep.go
+++ b/keep.go
@@ -100,11 +100,11 @@ func main() {
dg.Identify.Intents = discordgo.IntentsGuildMessages
// Open a websocket connection to Discord and begin listening
- //err = dg.Open()
- //if err != nil {
- // fmt.Println("error opening connection,", err)
- // return
- //}
+ err = dg.Open()
+ if err != nil {
+ fmt.Println("error opening connection,", err)
+ return
+ }
// Wait here until CTRL-C or other term signal is received
sc := make(chan os.Signal, 1)