mirror of
https://github.com/TeamOctolings/Octobot.git
synced 2025-05-10 16:03:15 +03:00
Add ReSharper code inspection (#10)
And cancel workflows in progress to avoid having multiple of the same workflow running
This commit is contained in:
parent
938f918445
commit
28b0668628
5 changed files with 80 additions and 37 deletions
|
@ -60,7 +60,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();
|
||||
|
@ -151,4 +151,3 @@ public static class Boyfriend {
|
|||
return removedRoles;
|
||||
}
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue