File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 1+ import { Message } from "whatsapp-web.js" ;
2+ import log from "../components/utils/log" ;
3+
4+ export const info = {
5+ command : "dcma" ,
6+ description : "Display the DCMA policy of the bot." ,
7+ usage : "dcma" ,
8+ example : "dcma" ,
9+ role : "legal" ,
10+ cooldown : 5000 ,
11+ } ;
12+
13+ export default async function ( msg : Message ) {
14+ if ( ! / ^ d c m a $ / i. test ( msg . body ) ) return ;
15+
16+ const text = `
17+ \`DCMA\`
18+ This bot is intended for educational and entertainment purposes only.
19+ The owner of this bot does not claim ownership of any content shared through it.
20+ If you believe that your content has been used without permission,
21+ please contact us to resolve the issue.
22+ ` ;
23+
24+ await msg . reply ( text ) ;
25+ }
Original file line number Diff line number Diff line change 1+ import { Message } from "whatsapp-web.js" ;
2+ import log from "../components/utils/log" ;
3+
4+ export const info = {
5+ command : "legal" ,
6+ description : "List down legal commands." ,
7+ usage : "legal" ,
8+ example : "legal" ,
9+ role : "user" ,
10+ cooldown : 5000 ,
11+ } ;
12+
13+ export default async function ( msg : Message ) {
14+ if ( ! / ^ l e g a l $ / i. test ( msg . body ) ) return ;
15+
16+ const text = `
17+ \`Legal Commands\`
18+
19+ \`terms\`
20+ Display the terms of service of the bot.
21+
22+ \`privacy\`
23+ Display the privacy policy of the bot.
24+
25+ \`dcma\`
26+ Display the DCMA policy of the bot.
27+
28+ \`contact\`
29+ mrepol742@gmail.com
30+ ` ;
31+
32+ await msg . reply ( text ) ;
33+ }
Original file line number Diff line number Diff line change 1+ import { Message } from "whatsapp-web.js" ;
2+ import log from "../components/utils/log" ;
3+
4+ export const info = {
5+ command : "privacy" ,
6+ description : "Display the privacy policy of the bot." ,
7+ usage : "privacy" ,
8+ example : "privacy" ,
9+ role : "legal" ,
10+ cooldown : 5000 ,
11+ } ;
12+
13+ export default async function ( msg : Message ) {
14+ if ( ! / ^ p r i v a c y $ / i. test ( msg . body ) ) return ;
15+
16+ const text = `
17+ \`Privacy Policy\`
18+ This privacy policy outlines how we collect, use, and protect user data in compliance with applicable laws and regulations.
19+
20+ \`Data Collection\`
21+ We collect the following types of data from users:
22+ - User interactions with the bot.
23+ - User identifiers (e.g., phone numbers) for communication purposes.
24+ - Usage statistics to improve the bot's functionality.
25+
26+ \`Data Usage\`
27+ The collected data is used for:
28+ - Responding to user queries and commands.
29+ - Improving the bot's performance and user experience.
30+ - Ensuring compliance with legal and regulatory requirements.
31+
32+ \`Data Protection\`
33+ We implement appropriate security measures to protect user data from unauthorized access, disclosure, or misuse.
34+
35+ \`User Rights\`
36+ Users have the right to:
37+ - Access their data.
38+ - Request correction of inaccurate data.
39+ - Request deletion of their data.
40+
41+ \`Contact Information\`
42+ For any questions or concerns regarding this privacy policy, users can contact us at mrepol742@gmail.com.
43+ ` ;
44+
45+ await msg . reply ( text ) ;
46+ }
Original file line number Diff line number Diff line change 1+ import { Message } from "whatsapp-web.js" ;
2+ import log from "../components/utils/log" ;
3+
4+ export const info = {
5+ command : "terms" ,
6+ description : "Display the terms of service of the bot." ,
7+ usage : "terms" ,
8+ example : "terms" ,
9+ role : "legal" ,
10+ cooldown : 5000 ,
11+ } ;
12+
13+ export default async function ( msg : Message ) {
14+ if ( ! / ^ t e r m s $ / i. test ( msg . body ) ) return ;
15+
16+ const text = `
17+ \`Terms of Service\`
18+ By using this bot, you agree to the following terms:
19+
20+ - You will not use the bot for any illegal activities.
21+ - You will not spam or abuse the bot.
22+ - You will respect the privacy of other users.
23+ - The bot owner reserves the right to block users who violate these terms.
24+ ` ;
25+
26+ await msg . reply ( text ) ;
27+ }
You can’t perform that action at this time.
0 commit comments