-
-
Notifications
You must be signed in to change notification settings - Fork 8.6k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
also changed quote (output) and one readme link of okteto
- Loading branch information
1 parent
e21560d
commit f0d0922
Showing
7 changed files
with
78 additions
and
43 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,16 +1,15 @@ | ||
|
||
export async function all(m) { | ||
|
||
// when someone sends a group link to the bot's dm | ||
if ((m.mtype === 'groupInviteMessage' || m.text.startsWith('https://chat') || m.text.startsWith('open this link')) && !m.isBaileys && !m.isGroup) { | ||
this.sendButton(m.chat, `*Invite bot to a group* | ||
Hallo @${m.sender.split('@')[0]} | ||
you can rent the bot to join a group or contact owner | ||
more info click on the button | ||
`.trim(), igfg, null, [['Rent', '/buyprem']] , m, { mentions: [m.sender] }) | ||
m.react('💎') | ||
} | ||
return !0 | ||
} | ||
// when someone sends a group link to the bot's dm | ||
if ((m.mtype === 'groupInviteMessage' || m.text.startsWith('https://chat') || m.text.startsWith('open this link')) && !m.isBaileys && !m.isGroup) { | ||
this.sendMessage(m.chat,{text:`Hello @${m.sender.split('@')[0]}\nyou can rent the bot to join a group\n\n_For more info you can DM the owner_\n*Type* \`\`\`.owner\`\`\` *to contact the owner*`.trim()}, {quoted:m}); | ||
/*this.sendButton(m.chat, `*Invite bot to a group* | ||
Hallo @${m.sender.split('@')[0]} | ||
you can rent the bot to join a group or contact owner | ||
more info click on the button | ||
`.trim(), igfg, null, [['Rent', '/buyprem']] , m, { mentions: [m.sender] })*/ | ||
m.react('💎') | ||
} | ||
|
||
return !0 | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters