1
0
Fork 1
mirror of https://github.com/TeamOctolings/Octobot.git synced 2025-05-12 08:53:15 +03:00

exclude more generated code + fix issues

This commit is contained in:
Octol1ttle 2022-12-09 14:02:31 +05:00
parent 4260136002
commit c36ace33b0
Signed by: Octol1ttle
GPG key ID: B77C34313AEE1FFF
4 changed files with 43 additions and 35 deletions

View file

@ -61,7 +61,7 @@ public static class Boyfriend {
private static async Task Init() {
var token = (await File.ReadAllTextAsync("token.txt")).Trim();
Client.Log += x => Log(x);
Client.Log += Log;
await Client.LoginAsync(TokenType.Bot, token);
await Client.StartAsync();
@ -152,4 +152,3 @@ public static class Boyfriend {
return removedRoles;
}
}