From 163f55f9c27e9e8a75774424d22598799e8306c6 Mon Sep 17 00:00:00 2001 From: Wim Date: Tue, 14 Feb 2017 21:12:02 +0100 Subject: Refactor to handle disconnects/reconnects better. Now try to reconnect every 60 seconds until forever. --- bridge/discord/discord.go | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'bridge/discord/discord.go') diff --git a/bridge/discord/discord.go b/bridge/discord/discord.go index 620493b2..06508b84 100644 --- a/bridge/discord/discord.go +++ b/bridge/discord/discord.go @@ -80,6 +80,10 @@ func (b *bdiscord) Connect() error { return nil } +func (b *bdiscord) Disconnect() error { + return nil +} + func (b *bdiscord) JoinChannel(channel string) error { idcheck := strings.Split(channel, "ID:") if len(idcheck) > 1 { -- cgit v1.2.3