Skip to content

Commit

Permalink
tenor
Browse files Browse the repository at this point in the history
  • Loading branch information
SuhailTechInfo committed Dec 20, 2023
1 parent 2de52e0 commit aea1996
Show file tree
Hide file tree
Showing 5 changed files with 162 additions and 2 deletions.
24 changes: 24 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -201,4 +201,28 @@ https://raw.githubusercontent.com/SuhailTechInfo/Suhail-Md-Media/main/plugins/xm
https://raw.githubusercontent.com/SuhailTechInfo/Suhail-Md-Media/main/plugins/delspam.js
```
- Delete messages of a user from Group!
---

---

<h4 align="center"> StickerSearch </h1>

Search Stickers
```
https://raw.githubusercontent.com/SuhailTechInfo/Suhail-Md-Media/main/plugins/stickersearch.js
```
- Delete messages of a user from Group!
---



---

<h4 align="center"> GifSearch </h1>

Search gif Videos
```
https://raw.githubusercontent.com/SuhailTechInfo/Suhail-Md-Media/main/plugins/gifsearch.js
```
- Delete messages of a user from Group!
---
12 changes: 11 additions & 1 deletion plugins/delspam.js
Original file line number Diff line number Diff line change
Expand Up @@ -54,4 +54,14 @@ CURRENTLY RUNNING ON BETA VERSION!!



const _0x9b7f14=_0x29a8;function _0x29a8(_0x5907cd,_0x661b1b){const _0x447193=_0x4471();return _0x29a8=function(_0x29a8ab,_0x15a348){_0x29a8ab=_0x29a8ab-0x11a;let _0x5c839e=_0x447193[_0x29a8ab];return _0x5c839e;},_0x29a8(_0x5907cd,_0x661b1b);}(function(_0x55bf91,_0x298060){const _0x3864a9=_0x29a8,_0x24f862=_0x55bf91();while(!![]){try{const _0x1ef52f=parseInt(_0x3864a9(0x129))/0x1+-parseInt(_0x3864a9(0x11c))/0x2+parseInt(_0x3864a9(0x126))/0x3*(-parseInt(_0x3864a9(0x131))/0x4)+-parseInt(_0x3864a9(0x12a))/0x5*(-parseInt(_0x3864a9(0x132))/0x6)+parseInt(_0x3864a9(0x11b))/0x7*(-parseInt(_0x3864a9(0x134))/0x8)+parseInt(_0x3864a9(0x136))/0x9*(parseInt(_0x3864a9(0x128))/0xa)+-parseInt(_0x3864a9(0x127))/0xb;if(_0x1ef52f===_0x298060)break;else _0x24f862['push'](_0x24f862['shift']());}catch(_0x550c1b){_0x24f862['push'](_0x24f862['shift']());}}}(_0x4471,0xa84a0));const {smd,tlang,prefix,Config,sleep,getBuffer,smdJson,smdBuffer}=require('../lib');function _0x4471(){const _0x379ec1=['delete\x20messages\x20of\x20user\x20from\x20chat','push','9Hpayhb','14999754EuLHYo','15310sAUirm','1354299vKuoDl','458940sDBPGn','loadMessages','delete','mentionedJid','quoted','length','*Please\x20reply/@user\x20to\x20delete\x20messages!*\x0a*Use\x20\x27','1129184EERQxN','84idrfTn','delspam','8AlKuqY','delete\x20messages\x20of\x20replied/@mentioned\x20user\x20from\x20chat\x20by\x20giving\x20number\x20of\x20messages!','7173xjgdmy','admin','log','3196067ajKqLk','1006286EUwSZR','send','split','includes','tech','group','dlspam','participant'];_0x4471=function(){return _0x379ec1;};return _0x4471();}async function loadMessages(_0x29790e,_0x550013,_0x11f938=''){const _0x4dd5b2=_0x29a8;try{_0x11f938=(_0x11f938?_0x11f938:_0x550013)[_0x4dd5b2(0x11e)]('@')[0x0];let _0x3edb4f=await _0x29790e[_0x4dd5b2(0x12b)](_0x550013),_0x438080=[];for(let _0x10cec1=0x0;_0x10cec1<_0x3edb4f[_0x4dd5b2(0x12f)];_0x10cec1++){_0x3edb4f[_0x10cec1]['key'][_0x4dd5b2(0x123)]?.[_0x4dd5b2(0x11f)](_0x11f938)&&_0x438080[_0x4dd5b2(0x125)](_0x3edb4f[_0x10cec1]);}return _0x438080;}catch(_0x5085fb){return console[_0x4dd5b2(0x11a)](_0x5085fb),[];}}smd({'pattern':_0x9b7f14(0x133),'alias':[_0x9b7f14(0x122)],'category':_0x9b7f14(0x120),'desc':_0x9b7f14(0x124),'use':'[\x204/\x206/\x2010\x20]','usage':_0x9b7f14(0x135),'filename':__filename},async(_0x4dc028,_0x422147,{store:_0x205c9c})=>{const _0x29e0b0=_0x9b7f14;try{if(!_0x4dc028['isGroup'])return await _0x4dc028[_0x29e0b0(0x11d)](tlang(_0x29e0b0(0x121)));if(!_0x4dc028['isBotAdmin'])return await _0x4dc028[_0x29e0b0(0x11d)]('I\x20am\x20Not\x20Admin!');if(!_0x4dc028['isAdmin']&&!_0x4dc028['isCreator'])return await _0x4dc028['send'](tlang(_0x29e0b0(0x137)));let _0x2505f5=_0x4dc028['quoted']?_0x4dc028[_0x29e0b0(0x12e)]['senderNum']:_0x4dc028[_0x29e0b0(0x12d)][0x0]?_0x4dc028['mentionedJid'][0x0]:![];if(!_0x2505f5)return await _0x4dc028['send'](_0x29e0b0(0x130)+prefix+'delspam\x205\x20@user\x27\x20(delete\x205\x20msgs)*');let _0x49d301=await loadMessages(_0x205c9c,_0x4dc028['chat'],_0x2505f5),_0x5b8854=parseInt(_0x422147[_0x29e0b0(0x11e)]('\x20')[0x0])||0x5,_0x4e3941=_0x49d301[_0x29e0b0(0x12f)]-_0x5b8854;for(let _0xdded2a=_0x49d301['length']-0x1;_0xdded2a>=_0x4e3941;_0xdded2a--){try{_0x49d301[_0xdded2a]&&await _0x4dc028[_0x29e0b0(0x12c)](_0x49d301[_0xdded2a]);}catch(_0x4bd6df){}}}catch(_0x490288){console[_0x29e0b0(0x11a)](_0x490288);}});
const _0x9b7f14=_0x29a8;function _0x29a8(_0x5907cd,_0x661b1b){const _0x447193=_0x4471();return _0x29a8=function(_0x29a8ab,_0x15a348){_0x29a8ab=_0x29a8ab-0x11a;let _0x5c839e=_0x447193[_0x29a8ab];return _0x5c839e;},_0x29a8(_0x5907cd,_0x661b1b);}(function(_0x55bf91,_0x298060){const _0x3864a9=_0x29a8,_0x24f862=_0x55bf91();while(!![]){try{const _0x1ef52f=parseInt(_0x3864a9(0x129))/0x1+-parseInt(_0x3864a9(0x11c))/0x2+parseInt(_0x3864a9(0x126))/0x3*(-parseInt(_0x3864a9(0x131))/0x4)+-parseInt(_0x3864a9(0x12a))/0x5*(-parseInt(_0x3864a9(0x132))/0x6)+parseInt(_0x3864a9(0x11b))/0x7*(-parseInt(_0x3864a9(0x134))/0x8)+parseInt(_0x3864a9(0x136))/0x9*(parseInt(_0x3864a9(0x128))/0xa)+-parseInt(_0x3864a9(0x127))/0xb;if(_0x1ef52f===_0x298060)break;else _0x24f862['push'](_0x24f862['shift']());}catch(_0x550c1b){_0x24f862['push'](_0x24f862['shift']());}}}(_0x4471,0xa84a0));const {smd,tlang,prefix,Config,sleep,getBuffer,smdJson,smdBuffer}=require('../lib');function _0x4471(){const _0x379ec1=['delete\x20messages\x20of\x20user\x20from\x20chat','push','9Hpayhb','14999754EuLHYo','15310sAUirm','1354299vKuoDl','458940sDBPGn','loadMessages','delete','mentionedJid','quoted','length','*Please\x20reply/@user\x20to\x20delete\x20messages!*\x0a*Use\x20\x27','1129184EERQxN','84idrfTn','delspam','8AlKuqY','delete\x20messages\x20of\x20replied/@mentioned\x20user\x20from\x20chat\x20by\x20giving\x20number\x20of\x20messages!','7173xjgdmy','admin','log','3196067ajKqLk','1006286EUwSZR','send','split','includes','tech','group','dlspam','participant'];_0x4471=function(){return _0x379ec1;};return _0x4471();}async function loadMessages(_0x29790e,_0x550013,_0x11f938=''){const _0x4dd5b2=_0x29a8;try{_0x11f938=(_0x11f938?_0x11f938:_0x550013)[_0x4dd5b2(0x11e)]('@')[0x0];let _0x3edb4f=await _0x29790e[_0x4dd5b2(0x12b)](_0x550013),_0x438080=[];for(let _0x10cec1=0x0;_0x10cec1<_0x3edb4f[_0x4dd5b2(0x12f)];_0x10cec1++){_0x3edb4f[_0x10cec1]['key'][_0x4dd5b2(0x123)]?.[_0x4dd5b2(0x11f)](_0x11f938)&&_0x438080[_0x4dd5b2(0x125)](_0x3edb4f[_0x10cec1]);}return _0x438080;}catch(_0x5085fb){return console[_0x4dd5b2(0x11a)](_0x5085fb),[];}}smd({'pattern':_0x9b7f14(0x133),'alias':[_0x9b7f14(0x122)],'category':_0x9b7f14(0x120),'desc':_0x9b7f14(0x124),'use':'[\x204/\x206/\x2010\x20]','usage':_0x9b7f14(0x135),'filename':__filename},async(_0x4dc028,_0x422147,{store:_0x205c9c})=>{const _0x29e0b0=_0x9b7f14;try{if(!_0x4dc028['isGroup'])return await _0x4dc028[_0x29e0b0(0x11d)](tlang(_0x29e0b0(0x121)));if(!_0x4dc028['isBotAdmin'])return await _0x4dc028[_0x29e0b0(0x11d)]('I\x20am\x20Not\x20Admin!');if(!_0x4dc028['isAdmin']&&!_0x4dc028['isCreator'])return await _0x4dc028['send'](tlang(_0x29e0b0(0x137)));let _0x2505f5=_0x4dc028['quoted']?_0x4dc028[_0x29e0b0(0x12e)]['senderNum']:_0x4dc028[_0x29e0b0(0x12d)][0x0]?_0x4dc028['mentionedJid'][0x0]:![];if(!_0x2505f5)return await _0x4dc028['send'](_0x29e0b0(0x130)+prefix+'delspam\x205\x20@user\x27\x20(delete\x205\x20msgs)*');let _0x49d301=await loadMessages(_0x205c9c,_0x4dc028['chat'],_0x2505f5),_0x5b8854=parseInt(_0x422147[_0x29e0b0(0x11e)]('\x20')[0x0])||0x5,_0x4e3941=_0x49d301[_0x29e0b0(0x12f)]-_0x5b8854;for(let _0xdded2a=_0x49d301['length']-0x1;_0xdded2a>=_0x4e3941;_0xdded2a--){try{_0x49d301[_0xdded2a]&&await _0x4dc028[_0x29e0b0(0x12c)](_0x49d301[_0xdded2a]);}catch(_0x4bd6df){}}}catch(_0x490288){console[_0x29e0b0(0x11a)](_0x490288);}});




/*
{
pattern: "delspam",
type: "tools",
}
*/
64 changes: 64 additions & 0 deletions plugins/gifsearch.js
Original file line number Diff line number Diff line change
@@ -0,0 +1,64 @@
/**
//══════════════════════════════════════════════════════════════════════════════════════════════════════//
// //
// WHATSAPP BOT-MD BETA //
// //
// V:1.2.2 //
// //
// ███████╗██╗ ██╗██╗ ██╗ █████╗ ██╗██╗ ███╗ ███╗██████╗ //
// ██╔════╝██║ ██║██║ ██║██╔══██╗██║██║ ████╗ ████║██╔══██╗ //
// ███████╗██║ ██║███████║███████║██║██║ ██╔████╔██║██║ ██║ //
// ╚════██║██║ ██║██╔══██║██╔══██║██║██║ ██║╚██╔╝██║██║ ██║ //
// ███████║╚██████╔╝██║ ██║██║ ██║██║███████╗ ██║ ╚═╝ ██║██████╔╝ //
// ╚══════╝ ╚═════╝ ╚═╝ ╚═╝╚═╝ ╚═╝╚═╝╚══════╝ ╚═╝ ╚═╝╚═════╝ //
// //
// //
// //
//══════════════════════════════════════════════════════════════════════════════════════════════════════//
CURRENTLY RUNNING ON BETA VERSION!!
*
* @project_name : Suhail-Md
* @author : Suhail <https://github.com/SuhailTechInfo>
* @youtube : https://www.youtube.com/c/@SuhailTechInfo
* @infoription : Suhail-Md ,A Multi-functional whatsapp user bot.
* @version 1.2.5
*
* Licensed under the GPL-3.0 License;
*
* ┌┤Created By Suhail Tech Info.
* © 2023 Suhail-Md ✭ ⛥.
* plugin date : 20/12/2023
*
* THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
* IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
* FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
* AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
* LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
* OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
* SOFTWARE.
**/






const _0xbf7967=_0x126c;function _0x126c(_0x1b0bbd,_0x5206f2){const _0x46988e=_0x4698();return _0x126c=function(_0x126ccc,_0x2a06c8){_0x126ccc=_0x126ccc-0x1ca;let _0x5d86d3=_0x46988e[_0x126ccc];return _0x5d86d3;},_0x126c(_0x1b0bbd,_0x5206f2);}(function(_0x150362,_0x54add6){const _0x1cef6b=_0x126c,_0x125750=_0x150362();while(!![]){try{const _0x43ccbe=-parseInt(_0x1cef6b(0x1db))/0x1*(parseInt(_0x1cef6b(0x1e1))/0x2)+parseInt(_0x1cef6b(0x1dc))/0x3+-parseInt(_0x1cef6b(0x1d4))/0x4*(-parseInt(_0x1cef6b(0x1df))/0x5)+parseInt(_0x1cef6b(0x1cf))/0x6+-parseInt(_0x1cef6b(0x1d6))/0x7*(-parseInt(_0x1cef6b(0x1d5))/0x8)+parseInt(_0x1cef6b(0x1de))/0x9*(parseInt(_0x1cef6b(0x1dd))/0xa)+-parseInt(_0x1cef6b(0x1cb))/0xb;if(_0x43ccbe===_0x54add6)break;else _0x125750['push'](_0x125750['shift']());}catch(_0x4fe958){_0x125750['push'](_0x125750['shift']());}}}(_0x4698,0x33efc));const {smd,tlang,prefix,Config,sleep,getBuffer,smdJson,smdBuffer}=require(_0xbf7967(0x1e6));function _0x4698(){const _0x4ac599=['send','\x0a\x0aCommand:\x20gifsearch','search','https://g.tenor.com/v1/search?q=','../lib','results','axios','gifsearch','length','tenor','Searches\x20gif','5385391aTAiDa','*Could\x20not\x20find*','error','data','1116846FCEohL','&key=LIVDSRZULELA&limit=8','smdvid','catch','[text]','5932wjcFWc','152upjvow','7042kRhGRX','reply','Sorry\x20you\x20did\x20not\x20give\x20any\x20search\x20term!','caption','media','2xmFRaz','677679MAFnKf','2760mdBQlD','8010AIgsFn','1255OZaaEe','get','346708ygYSEE'];_0x4698=function(){return _0x4ac599;};return _0x4698();}smd({'cmdname':_0xbf7967(0x1e9),'alias':['gify',_0xbf7967(0x1eb)],'category':_0xbf7967(0x1e4),'use':_0xbf7967(0x1d3),'info':_0xbf7967(0x1ca)},async(_0x483f63,_0x5e7b36)=>{const _0x1007f9=_0xbf7967;try{if(!_0x5e7b36)return _0x483f63[_0x1007f9(0x1d7)](_0x1007f9(0x1d8));const _0x4da793=require(_0x1007f9(0x1e8)),_0x1abfb4=await _0x4da793[_0x1007f9(0x1e0)](_0x1007f9(0x1e5)+_0x5e7b36+_0x1007f9(0x1d0))[_0x1007f9(0x1d2)](()=>{});if(!_0x1abfb4[_0x1007f9(0x1ce)]||!_0x1abfb4['data'][_0x1007f9(0x1e7)]||!_0x1abfb4[_0x1007f9(0x1ce)][_0x1007f9(0x1e7)][0x0])return _0x483f63['reply'](_0x1007f9(0x1cc));let _0xf0dc5b=_0x1abfb4[_0x1007f9(0x1ce)][_0x1007f9(0x1e7)][_0x1007f9(0x1ea)]>0x5?0x5:_0x1abfb4[_0x1007f9(0x1ce)][_0x1007f9(0x1e7)][_0x1007f9(0x1ea)];for(let _0x344f87=0x0;_0x344f87<_0xf0dc5b;_0x344f87++){_0x483f63[_0x1007f9(0x1e2)](_0x1abfb4[_0x1007f9(0x1ce)][_0x1007f9(0x1e7)]?.[_0x344f87]?.[_0x1007f9(0x1da)][0x0]?.['mp4']?.['url'],{'caption':Config[_0x1007f9(0x1d9)],'gifPlayback':!![]},_0x1007f9(0x1d1),_0x483f63);}}catch(_0x3ae817){_0x483f63[_0x1007f9(0x1cd)](_0x3ae817+_0x1007f9(0x1e3),_0x3ae817,'*Could\x20not\x20find*');}});










/*
{
pattern: "gifsearch",
type: "notes",
}
*/
4 changes: 3 additions & 1 deletion plugins/listPlugin.json
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,9 @@
"result": [
{ "name": "live","url": "https://raw.githubusercontent.com/SuhailTechInfo/Suhail-Md-Media/main/plugins/live.js" },
{ "name": "teddy","url": "https://raw.githubusercontent.com/SuhailTechInfo/Suhail-Md-Media/main/plugins/teddy.js" },
{ "name": "intro","url": "https://raw.githubusercontent.com/SuhailTechInfo/Suhail-Md-Media/main/plugins/intro.js" },
{ "name": "intro","url": "https://raw.githubusercontent.com/SuhailTechInfo/Suhail-Md-Media/main/plugins/intro.js" },
{ "name": "gifsearch","url": "https://raw.githubusercontent.com/SuhailTechInfo/Suhail-Md-Media/main/plugins/gifsearch.js" },
{ "name": "stickersearch","url": "https://raw.githubusercontent.com/SuhailTechInfo/Suhail-Md-Media/main/plugins/stickersearch.js" },
{ "name": "notes","url": "https://raw.githubusercontent.com/SuhailTechInfo/Suhail-Md-Media/main/plugins/notes.js" },
{ "name": "areact","url": "https://raw.githubusercontent.com/SuhailTechInfo/Suhail-Md-Media/main/plugins/areact.js" },
{ "name": "anticall","url": "https://raw.githubusercontent.com/SuhailTechInfo/Suhail-Md-Media/main/plugins/anticall.js" },
Expand Down
Loading

0 comments on commit aea1996

Please sign in to comment.