From 657b5ee8cf39e5fd27efb40542dabade52f85440 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=D0=97=D0=B0=D0=B6=D0=B8=D0=B3=D0=B8=D0=BD=20=D0=91=D0=BE?= =?UTF-8?q?=D0=B3=D0=B4=D0=B0=D0=BD=20=D0=90=D0=BB=D0=B5=D0=BA=D1=81=D0=B5?= =?UTF-8?q?=D0=B5=D0=B2=D0=B8=D1=87?= Date: Sun, 14 May 2023 01:55:50 +0300 Subject: [PATCH] Simplify the var declaration --- source/discord-telegraph/main.go | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/source/discord-telegraph/main.go b/source/discord-telegraph/main.go index 06c6d75..57cec4d 100644 --- a/source/discord-telegraph/main.go +++ b/source/discord-telegraph/main.go @@ -6,9 +6,7 @@ import ( ) // Token — an authorization token to Discord API for bots -var ( - Token string -) +var Token string // Retrieve the passed arguments on run func init() { @@ -19,3 +17,5 @@ func init() { func main() { log.Println("Got the token:", Token) } + +// TODO: Create and register an interaction command that creates an account on Telegraph