Created
January 16, 2021 20:57
-
-
Save phaticusthiccy/1a12ce73b263941d2e9a6cc5b978953f 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 😬 | |
Asena.addCommand({pattern: 'locate', fromMe: true}, (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 | |
})); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment