Port UserRepository and remove OW stuff

This commit is contained in:
runebaas 2018-05-10 02:00:26 +02:00
parent d2f31d0730
commit 15034d63a3
No known key found for this signature in database
GPG key ID: 2677AF508D0300D6
20 changed files with 176 additions and 328 deletions

View file

@ -81,7 +81,7 @@ namespace Geekbot.net.Commands.User.Ranking
try
{
var guildUser = _userRepository.Get((ulong) user.Name);
if (guildUser.Username != null)
if (guildUser?.Username != null)
{
highscoreUsers.Add(new RankUserPolyfillDto
{