Port UserRepository and remove OW stuff
This commit is contained in:
parent
d2f31d0730
commit
15034d63a3
20 changed files with 176 additions and 328 deletions
|
@ -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
|
||||
{
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue