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 axios = require('axios'); | |
| const crypto = require('crypto'); | |
| const fs = require('fs'); | |
| const FormData = require('form-data'); | |
| class Nanana { | |
| constructor() { | |
| this.baseUrl = 'https://nanana.app'; | |
| this.tempMail = new TempMailScraper(); | |
| this.sessionToken = ''; |
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
| // plugins/play.js | |
| // .play <song name or youtube link> → download & send MP3 | |
| import axios from 'axios'; | |
| export default { | |
| cmd: ['play', 'song', 'ytmp3', 'audio'], | |
| desc: 'Search YouTube and send MP3 audio using Okatsu API', | |
| async execute(m, { sock, text }) { |