Created
January 16, 2021 23:39
-
-
Save phaticusthiccy/4232b1c8c4734e1f06c3d991149c6fbd 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
| /* Codded by @phaticusthiccy | |
| Telegram: t.me/phaticusthiccy | |
| Instagram: www.instagram.com/kyrie.baran | |
| */ | |
| const Asena = require('../events'); | |
| const {MessageType, GroupSettingChange} = require('@adiwajshing/baileys'); // Boredom 😬 | |
| const Language = require('../language'); | |
| const Lang = Language.getString('locate'); // Language supp. 😉 | |
| Asena.addCommand({pattern: 'locate', fromMe: true, desc: Lang.L_DESC, warn: Lang.L_WARN}, (async (message, match) => { | |
| var r_text = new Array (); | |
| r_text[0] = "degreesLatitude: 24.121231, degreesLongitude: 55.1121221"; // Actually, I don't know where is this place.. | |
| r_text[1] = "degreesLatitude: 8.838637, degreesLongitude: -13.721434"; // U too homie | |
| var i = Math.floor(2*Math.random()) // Random func. 🤪 | |
| await message.sendMessage(`My Location! ${r_text[i]}`, MessageType.location); // It sends ur location. Cool tho 😱 | |
| })); |
What is that how that work
Only test for WhatsAsena
You can type .locate to get your instant location.
Ok nice
Thanks
Where can I get more plugins?
Where can I get more plugins?
Here is the all plugins Telegram
Plugin nasıl ekleniyor
Bad
Plugin
``
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
What is that how that work