Skip to content

Commit

Permalink
show_id in default;bump ver
Browse files Browse the repository at this point in the history
  • Loading branch information
makeding committed Jul 16, 2024
1 parent 720bc00 commit b4ff5ec
Show file tree
Hide file tree
Showing 4 changed files with 858 additions and 788 deletions.
3 changes: 2 additions & 1 deletion handlers/telegram/pre_handle.js
Original file line number Diff line number Diff line change
Expand Up @@ -116,6 +116,7 @@ export async function read_user_setting(bot, ctx) {
default: {
open: true,
share: true,
show_id: true,
album: true
},
dbless: true, // the user isn't in chat_setting
Expand Down Expand Up @@ -189,7 +190,7 @@ export async function read_user_setting(bot, ctx) {
// album will keep same numbers per mediagroup
album_equal: us(d_f, ctx.text,'album_equal',['equal']),
// descending order
desc: us(d_f, ctx.text,'desc',['desc']),
desc: us(d_f, ctx.text,'desc'),
// send as telegraph
telegraph: us(d_f, ctx.text,'telegraph',['graph']),
// send as file
Expand Down
14 changes: 7 additions & 7 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -14,15 +14,15 @@
},
"dependencies": {
"@grammyjs/auto-retry": "^2.0.1",
"@grammyjs/runner": "^1.0.3",
"@grammyjs/runner": "^1.0.4",
"@grammyjs/transformer-throttler": "^1.2.1",
"axios": "^1.6.8",
"grammy": "^1.22.4",
"koa": "^2.13.4",
"koa-bodyparser": "^4.3.0",
"axios": "^1.7.2",
"grammy": "^1.27.0",
"koa": "^2.15.3",
"koa-bodyparser": "^4.4.1",
"koa-router": "^10.1.1",
"mongodb": "^6.5.0",
"mongodb": "^6.8.0",
"node-fetch": "^3.3.2",
"telegraf": "^4.7.0"
"telegraf": "^4.16.3"
}
}
Loading

0 comments on commit b4ff5ec

Please sign in to comment.