ref: replace "ctx.from.language_code" with a function to get the lang… #51

Merged
GiovaniFZ merged 2 commits from set_types into main 2025-05-03 00:08:13 +00:00
2 changed files with 2 additions and 7 deletions
Showing only changes of commit 1cff618aef - Show all commits

View file

@ -8,4 +8,4 @@ updates:
- package-ecosystem: "npm" # See documentation for possible values
directory: "/" # Location of package manifests
schedule:
interval: "daily"
interval: "weekly"

View file

@ -37,12 +37,7 @@ async function getChatInfo(ctx: Context & { message: { text: string } }) {
return chatInfo;
} else {
return ctx.reply(
Strings.groupOnly, {
parse_mode: 'Markdown',
// @ts-ignore
reply_to_message_id: ctx.message.message_id
});
return Strings.groupOnly
}
}