-
-
Save ADK-RICHU/720f026a713d4e19a3575304bd44cf26 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: "*© ᴀᴅᴋ ʀᴉᴄⲏᴜ ᴘᴜʙᴌᴉᴄ ʙᴏᴛ*"}) | |
| }); | |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment