mirror of
https://github.com/Tyrrrz/DiscordChatExporter.git
synced 2026-03-20 13:51:28 +00:00
Normalize namings ("...Type" -> "...Kind")
This commit is contained in:
@@ -111,7 +111,7 @@ namespace DiscordChatExporter.Gui.ViewModels
|
||||
|
||||
if (_settingsService.LastToken is not null)
|
||||
{
|
||||
IsBotToken = _settingsService.LastToken.Type == AuthTokenType.Bot;
|
||||
IsBotToken = _settingsService.LastToken.Kind == AuthTokenKind.Bot;
|
||||
TokenValue = _settingsService.LastToken.Value;
|
||||
}
|
||||
|
||||
@@ -157,7 +157,7 @@ namespace DiscordChatExporter.Gui.ViewModels
|
||||
return;
|
||||
|
||||
var token = new AuthToken(
|
||||
IsBotToken ? AuthTokenType.Bot : AuthTokenType.User,
|
||||
IsBotToken ? AuthTokenKind.Bot : AuthTokenKind.User,
|
||||
tokenValue
|
||||
);
|
||||
|
||||
|
||||
Reference in New Issue
Block a user