mirror of
https://github.com/Tyrrrz/DiscordChatExporter.git
synced 2026-03-30 18:35:31 +00:00
Add bot tags and some CSS fixes (#172)
This commit is contained in:
committed by
Alexey Golub
parent
2b1f599cbe
commit
3b5d752c95
@@ -16,8 +16,9 @@ namespace DiscordChatExporter.Core.Services
|
||||
var discriminator = json["discriminator"].Value<int>();
|
||||
var name = json["username"].Value<string>();
|
||||
var avatarHash = json["avatar"].Value<string>();
|
||||
var isBot = json["bot"]?.Value<bool>() ?? false;
|
||||
|
||||
return new User(id, discriminator, name, avatarHash);
|
||||
return new User(id, discriminator, name, avatarHash, isBot);
|
||||
}
|
||||
|
||||
private Guild ParseGuild(JToken json)
|
||||
|
||||
Reference in New Issue
Block a user