diff --git a/rpg.js b/rpg.js index c1bfb0b..6ff8b17 100644 --- a/rpg.js +++ b/rpg.js @@ -30,7 +30,8 @@ const { const rpg = new Composer(); rpg.use(async (ctx, next) => { - let id = ctx.from.id; + if(ctx.update.edited_channel_post) return console.log(`[RPG] Channel post updated`); + let id = ctx.from.id let username = ctx.from.username; if (username == null) username = ctx.from.id;