Last active
September 29, 2022 18:08
-
-
Save mrlinux007/2b6aaad95f2cbde9d383673c8b332989 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} = require("../lib/"); | |
| Function({pattern: 'sponge ?(.*)', fromMe: isPublic, desc: 'self mention', type: 'gfx'}, async (m, text, client) => { | |
| try{ | |
| if(!text) return await m.reply("Give me url"); | |
| await client.sendMessage(m.chat,{ image: { url : `https://fatiharridho.herokuapp.com/api/canvas/spongebob?bg=${text}`}}); | |
| } catch (e) { m.reply(`${e}`)} | |
| }); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment