Add default avatar img

This commit is contained in:
Sebastien 2019-01-01 23:10:44 +01:00
parent fd14936565
commit ddd9d070e4

View File

@ -22,7 +22,10 @@ public class GuildStats{
public GuildStats(String userName, int rank, String avatarUrl, long voiceTime, long messageCount, long apiCount) {
this.userName = userName;
if(avatarUrl != null)
this.avatarUrl = avatarUrl;
else
this.avatarUrl = "https://discordapp.com/assets/dd4dbc0016779df1378e7812eabaa04d.png";
this.voiceTime = voiceTime;
this.messageCount = messageCount;
this.apiCount = apiCount;