Created
October 16, 2023 12:23
-
-
Save S-U-P-E-R-I-O-R/c9077d35ebe6ae9984022baa60a4a43d to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| const {Function,isPublic, getJson, getBuffer,prefix} = require("../lib/"); | |
| Function({ | |
| pattern: 'naruto ?(.*)', | |
| fromMe: isPublic, | |
| desc: 'Sends random naruto videos', | |
| type: 'misc', | |
| }, async (message, match) => { | |
| let { result} = await getJson ('https://gist.githubusercontent.com/lokixjs/c5478d203d8bb889af1627b610360b4b/raw/bd1ad9843710c6b9cbdb8a69fd732ee6db11b302/naruto.json') | |
| let loki = result[Math.floor(Math.random()*result.length)] | |
| await message.client.sendMessage(message.chat, {video: {url: `${loki}`}, caption: "*Naruto uzumaki 😹💭*"}) | |
| }); | |
| @RICHU1 | |
| Leave a comment |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment