From 031f84a3d6b302c99e42b32d2f33edd2ab8a8fd7 Mon Sep 17 00:00:00 2001 From: Eduard Urbach Date: Wed, 8 May 2019 17:39:08 +0900 Subject: [PATCH] Removed unused variable --- bots/discord/channels.go | 5 +++++ bots/discord/discord.go | 6 ------ 2 files changed, 5 insertions(+), 6 deletions(-) create mode 100644 bots/discord/channels.go diff --git a/bots/discord/channels.go b/bots/discord/channels.go new file mode 100644 index 00000000..6cd70278 --- /dev/null +++ b/bots/discord/channels.go @@ -0,0 +1,5 @@ +package main + +var ( + logChannel = "574579302843154442" +) diff --git a/bots/discord/discord.go b/bots/discord/discord.go index 751a82cb..1092c6da 100644 --- a/bots/discord/discord.go +++ b/bots/discord/discord.go @@ -10,12 +10,6 @@ import ( "github.com/bwmarrin/discordgo" ) -// Session provides access to the Discord session. -var ( - discord *discordgo.Session - logChannel = "574579302843154442" -) - func main() { discord, err := discordgo.New()