Remove redundant code
This commit is contained in:
parent
dd9cf3c5d7
commit
21f813d342
12 changed files with 19 additions and 29 deletions
|
@ -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)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue