From 19c7486c822e98127c356ec4ba0ced78ecd16e6e Mon Sep 17 00:00:00 2001 From: Ayaka Neko Date: Wed, 17 May 2023 00:28:27 +0800 Subject: [PATCH] fix: discord --- internal/bots/discord/discord.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/internal/bots/discord/discord.go b/internal/bots/discord/discord.go index 5edc8dd..4694f8c 100644 --- a/internal/bots/discord/discord.go +++ b/internal/bots/discord/discord.go @@ -94,7 +94,7 @@ func NewDiscordBot() func(p NewDiscordBotParam) *DiscordBot { func Run() func(b *DiscordBot) error { return func(b *DiscordBot) error { - if b != nil { + if b == nil { return nil }