about summary refs log tree commit diff
path: root/pkg/bot/bot.go
diff options
context:
space:
mode:
Diffstat (limited to 'pkg/bot/bot.go')
-rw-r--r--pkg/bot/bot.go6
1 files changed, 2 insertions, 4 deletions
diff --git a/pkg/bot/bot.go b/pkg/bot/bot.go
index a0c0808..71eb0e9 100644
--- a/pkg/bot/bot.go
+++ b/pkg/bot/bot.go
@@ -6,12 +6,10 @@ import (
 	"jinx/pkg/discord"
 )
 
-const TOKEN = "123567890123456789012345678901234567890"
-
-func Start() error {
+func Start(token string) error {
 	fmt.Println("hi..!")
 
-	client := discord.NewClient(TOKEN)
+	client := discord.NewClient(token)
 
 	ctx, cancel := context.WithCancel(context.Background())
 	defer cancel()