1
0
Fork 1
mirror of https://github.com/TeamOctolings/Octobot.git synced 2025-05-22 13:40:55 +03:00

Seal all possible classes, add LICENSE, follow async naming conventions

This commit is contained in:
Octol1ttle 2022-09-18 19:41:29 +05:00
parent ac63719a0b
commit e767205c1a
Signed by: Octol1ttle
GPG key ID: B77C34313AEE1FFF
20 changed files with 873 additions and 123 deletions
Boyfriend

View file

@ -20,7 +20,7 @@ public static class Boyfriend {
};
public static readonly DiscordSocketClient Client = new(Config);
private static readonly Game Activity = new("Toby Fox - The World Revolving", ActivityType.Listening);
private static readonly Game Activity = new("UNDEAD CORPORATION - Everything will freeze", ActivityType.Listening);
private static readonly Dictionary<ulong, Dictionary<string, string>> GuildConfigDictionary = new();
@ -71,7 +71,7 @@ public static class Boyfriend {
return Task.CompletedTask;
}
public static async Task WriteGuildConfig(ulong id) {
public static async Task WriteGuildConfigAsync(ulong id) {
var json = JsonConvert.SerializeObject(GuildConfigDictionary[id], Formatting.Indented);
var removedRoles = JsonConvert.SerializeObject(RemovedRolesDictionary[id], Formatting.Indented);