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:
parent
ac63719a0b
commit
e767205c1a
20 changed files with 873 additions and 123 deletions
Boyfriend
|
@ -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);
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue