File tree Expand file tree Collapse file tree 2 files changed +8
-2
lines changed
Expand file tree Collapse file tree 2 files changed +8
-2
lines changed Original file line number Diff line number Diff line change @@ -42,6 +42,12 @@ const config = {
4242
4343
4444 chats : {
45+ /**
46+ * @type {(number | false) }
47+ * Chat to send member (un)ban/(un)warn/report notifications and relevant messages to.
48+ * Pass false to disable this feature.
49+ */
50+ adminLog : false ,
4551
4652 /**
4753 * @type {(number | false) }
Original file line number Diff line number Diff line change 1- import type { InlineKeyboardMarkup } from "telegraf/typings/telegram- types" ;
1+ import type { InlineKeyboardMarkup } from "telegraf/types" ;
22
33export type InlineKeyboard = InlineKeyboardMarkup [ "inline_keyboard" ] ;
44
@@ -25,7 +25,7 @@ export interface Config {
2525 /**
2626 * Chat to log all admin actions to.
2727 */
28- adminLog ?: number ;
28+ adminLog ?: number | false ;
2929
3030 /**
3131 * Chat to send member join/leave notifications to.
You can’t perform that action at this time.
0 commit comments