diff options
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 |