Table of Contents

Class BotPersistentData

Namespace
FishMMO.DiscordBot.Data
Assembly
FishMMO-DiscordBot.dll

Container for persistent bot data that is saved alongside the dynamic channel states. Serialized to/from botdata.json.

public class BotPersistentData
Inheritance
BotPersistentData
Inherited Members

Properties

BridgeBans

Lowercased name -> bridge ban entry.

public Dictionary<string, BridgeBanEntry> BridgeBans { get; set; }

Property Value

Dictionary<string, BridgeBanEntry>

CommandPermissions

Guild ID -> command permission configuration.

public Dictionary<ulong, CommandPermissionConfig> CommandPermissions { get; set; }

Property Value

Dictionary<ulong, CommandPermissionConfig>

LinkedAccounts

Discord user ID -> linked game account.

public Dictionary<ulong, LinkedAccount> LinkedAccounts { get; set; }

Property Value

Dictionary<ulong, LinkedAccount>

MutedZones

Discord user ID -> set of muted Discord channel IDs.

public Dictionary<ulong, HashSet<ulong>> MutedZones { get; set; }

Property Value

Dictionary<ulong, HashSet<ulong>>