Remove redundant code

This commit is contained in:
runebaas 2020-02-08 15:42:42 +01:00
parent dd9cf3c5d7
commit 21f813d342
No known key found for this signature in database
GPG key ID: 2677AF508D0300D6
12 changed files with 19 additions and 29 deletions

View file

@ -18,7 +18,7 @@ namespace Geekbot.net.Lib.ReactionListener
LoadListeners();
}
private Task LoadListeners()
private void LoadListeners()
{
var ids = _redis.SetMembers("MessageIds");
_listener = new Dictionary<string, Dictionary<IEmote, ulong>>();
@ -43,8 +43,6 @@ namespace Geekbot.net.Lib.ReactionListener
}
_listener.Add(messageId, emojiDict);
}
return Task.CompletedTask;
}
public bool IsListener(ulong id)