diff options
author | WlodekM <[email protected]> | 2025-01-24 20:05:11 +0200 |
---|---|---|
committer | WlodekM <[email protected]> | 2025-01-24 20:05:11 +0200 |
commit | 924eb96c02976fcc265b72943f783b4d7d63f76c (patch) | |
tree | 16c56d60d0df5baa07f7492a8594b97b5d81aa34 /bot.ts | |
parent | dffbe004789b144c76e435a32a8df1d7b58d1f8c (diff) |
Diffstat (limited to 'bot.ts')
-rw-r--r-- | bot.ts | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/bot.ts b/bot.ts index eed58db..2271cd5 100644 --- a/bot.ts +++ b/bot.ts @@ -19,7 +19,7 @@ interface Post { ml.on('post', ({p: post, _id}: Post) => { console.log(post) - if (!post.startsWith(`@wlod-bot`)) return; + if (!post.startsWith(`@${username}`)) return; ml.sendMessage({ message: 'hello', replyTo: _id |