mirror of
https://github.com/syuilo/ai.git
synced 2025-03-25 21:12:56 +00:00
index.ts
This commit is contained in:
parent
11ee11f700
commit
fe6d17cdb0
1 changed files with 1 additions and 1 deletions
|
@ -14,7 +14,7 @@ export default class extends Module {
|
|||
|
||||
@bindThis
|
||||
private async mentionHook(msg: Message) {
|
||||
if (msg.text && msg.includes(['フォロー', 'フォロバ', 'follow me'])) {
|
||||
if (msg.text && msg.includes(['Follow', 'Follow back', 'follow me'])) {
|
||||
if (!msg.user.isFollowing) {
|
||||
this.ai.api('following/create', {
|
||||
userId: msg.userId,
|
||||
|
|
Loading…
Reference in a new issue