Skip to content

Commit 1cb8692

Browse files
committed
dont reply to my own messages
1 parent b474b84 commit 1cb8692

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

packages/worker/src/worker.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -282,7 +282,7 @@ export default {
282282
const file_response = await bot.getFile(file_id);
283283
const blob = await file_response.arrayBuffer();
284284
const prompt = bot.update.business_message?.text?.toString() ?? bot.update.business_message?.caption ?? '';
285-
if (bot.update.business_message?.from.id !== 69148518) {
285+
if (bot.update.business_message?.from.id !== 69148517) {
286286
const { results } = await env.DB.prepare('SELECT * FROM Messages WHERE userId=?')
287287
.bind(bot.update.business_message?.from.id)
288288
.all();

0 commit comments

Comments
 (0)