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
CommandPermissions
Guild ID -> command permission configuration.
public Dictionary<ulong, CommandPermissionConfig> CommandPermissions { get; set; }
Property Value
LinkedAccounts
Discord user ID -> linked game account.
public Dictionary<ulong, LinkedAccount> LinkedAccounts { get; set; }
Property Value
MutedZones
Discord user ID -> set of muted Discord channel IDs.
public Dictionary<ulong, HashSet<ulong>> MutedZones { get; set; }