diff --git a/src/components/TheEditor.vue b/src/components/TheEditor.vue index d886b8fde..82367b4e6 100644 --- a/src/components/TheEditor.vue +++ b/src/components/TheEditor.vue @@ -258,6 +258,9 @@ export default class TheEditor extends Mixins(BaseMixin) { // check for mooncord config files if (this.filename.startsWith('mooncord') && this.fileExtension === 'json') return 'mooncord' + // check for moonraker-telegram-bot config files + if (this.filename === 'telegram.conf') return 'moonraker-telegram-bot' + // fallback for moonraker with multi instances if (this.filename === 'moonraker.conf') return 'moonraker'