diff --git a/index.ts b/index.ts index b89b703..0b8b2d3 100644 --- a/index.ts +++ b/index.ts @@ -27,6 +27,14 @@ export class ChatEvent { } } +declare module '@clusterio/lib' { + interface ControllerConfigFields { + 'ClusterChatSync.discord_bot_token': string; + 'ClusterChatSync.datetime_on_message': boolean; + 'ClusterChatSync.discord_channel_mapping': Record; + } +} + export const plugin: lib.PluginDeclaration = { name: 'ClusterChatSync', title: 'Cluster Chat Sync',