Skip to content

Commit

Permalink
chore: remove parse-mode plugin
Browse files Browse the repository at this point in the history
  • Loading branch information
evermake committed Mar 31, 2024
1 parent af63409 commit 1b65b31
Show file tree
Hide file tree
Showing 5 changed files with 0 additions and 30 deletions.
1 change: 0 additions & 1 deletion backend/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,6 @@
},
"dependencies": {
"@grammyjs/auto-retry": "^1.1.1",
"@grammyjs/parse-mode": "^1.9.0",
"@grammyjs/runner": "^2.0.3",
"@prisma/client": "5.11.0",
"@telegum/grammy-buttons": "^0.1.3",
Expand Down
1 change: 0 additions & 1 deletion backend/src/bot/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,6 @@ export function createBot({

plugins.logging.install(bot, { logger })
plugins.floodControl.install(bot)
plugins.parseMode.install(bot, { parseMode: 'HTML' })
plugins.messageSending.install(bot)
plugins.domain.install(bot, { domain })
plugins.translations.install(bot)
Expand Down
2 changes: 0 additions & 2 deletions backend/src/bot/plugins/index.ts
Original file line number Diff line number Diff line change
@@ -1,7 +1,6 @@
import type { Bot, Context } from 'grammy'
import * as logging from './logging'
import * as floodControl from './flood-control'
import * as parseMode from './parse-mode'
import * as messageSending from './message-sending'
import * as domain from './domain'
import * as translations from './translations'
Expand All @@ -15,7 +14,6 @@ export type InstallFn<F = {}, O = undefined> =
export default {
logging,
floodControl,
parseMode,
messageSending,
domain,
translations,
Expand Down
14 changes: 0 additions & 14 deletions backend/src/bot/plugins/parse-mode.ts

This file was deleted.

12 changes: 0 additions & 12 deletions pnpm-lock.yaml

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

0 comments on commit 1b65b31

Please sign in to comment.