1
0
Fork 1
mirror of https://github.com/TeamOctolings/Octobot.git synced 2025-04-19 16:33:36 +03:00

github editing moment x3

Signed-off-by: Macintosh II <95250141+mctaylors@users.noreply.github.com>
This commit is contained in:
Macintxsh 2023-10-02 10:56:24 +03:00 committed by GitHub
parent 24e9beb3f5
commit 51e00c9b05
Signed by: GitHub
GPG key ID: 4AEE18F83AFDEB23

View file

@ -82,12 +82,6 @@ public class ToolsCommandGroup : CommandGroup
return Result.FromError(userResult);
}
var currentUserResult = await _userApi.GetCurrentUserAsync(CancellationToken);
if (!currentUserResult.IsDefined(out var currentUser))
{
return Result.FromError(currentUserResult);
}
var data = await _guildData.GetData(guildId, CancellationToken);
Messages.Culture = GuildSettings.Language.Get(data.Settings);