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:
parent
4260136002
commit
c36ace33b0
4 changed files with 43 additions and 35 deletions
|
@ -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;
|
||||
}
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue