+2
-1
@@ -17,3 +17,3 @@ /*! | ||
| async function log(ctx) { | ||
| async function log(ctx, next) { | ||
| const from = ctx.from; | ||
@@ -27,4 +27,5 @@ const name = | ||
| ); | ||
| await next(); | ||
| } | ||
| bot.use(log); |
+1
-1
| { | ||
| "name": "grammylog", | ||
| "version": "1.0.2", | ||
| "version": "1.0.3", | ||
| "description": "Logging plugin for the grammY framework!", | ||
@@ -5,0 +5,0 @@ "directories": { |
+1
-1
@@ -42,3 +42,3 @@ # grammYLog | ||
| 3. Rename example.env to .env and provide bot token. | ||
| 3. Rename .env.example to .env and provide bot token. | ||
@@ -45,0 +45,0 @@ </details> |
4742
0.51%79
1.28%