Skip to content

Commit

Permalink
chore: unimplemented api should not be warned, fix satorijs/satori#186
Browse files Browse the repository at this point in the history
  • Loading branch information
shigma committed Nov 25, 2023
1 parent ecb00ef commit e2d8487
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion plugins/analytics/package.json
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
{
"name": "@koishijs/plugin-analytics",
"description": "Show statistics for Koishi application",
"version": "1.0.7",
"version": "1.0.8",
"main": "lib/index.js",
"typings": "lib/index.d.ts",
"files": [
Expand Down
2 changes: 1 addition & 1 deletion plugins/analytics/src/stats.ts
Original file line number Diff line number Diff line change
Expand Up @@ -261,7 +261,7 @@ class StatisticsProvider extends DataService<StatisticsProvider.Payload> {

await Promise.all(this.ctx.bots.map(async (bot) => {
if (bot.status !== Universal.Status.ONLINE) return
await getGuildInfo(bot).catch(logger.warn)
await getGuildInfo(bot).catch(logger.debug)
}))

for (const key in messageMap) {
Expand Down

0 comments on commit e2d8487

Please sign in to comment.