halbot 1995.1.12 → 1995.1.13

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "halbot",
3
3
  "description": "Just another AI powered Telegram bot, which is simple design, easy to use, extendable and fun.",
4
- "version": "1995.1.12",
4
+ "version": "1995.1.13",
5
5
  "private": false,
6
6
  "homepage": "https://github.com/Leask/halbot",
7
7
  "type": "module",
@@ -207,7 +207,7 @@ const action = async (ctx, next) => {
207
207
  ctx.hello();
208
208
  }
209
209
  } else if (ctx._.message.group_chat_created) {
210
- return ctx.finish();
210
+ return ctx.err('Please promote me to admin, so I can talk to you.');
211
211
  } else if (!ctx._.type) { return log(`Unsupported message type.`); }
212
212
  // get chat metadata
213
213
  ctx._.chatId = ctx._.message.chat.id;