Skip to content

Instantly share code, notes, and snippets.

@phaticusthiccy
Created January 16, 2021 23:39
Show Gist options
  • Save phaticusthiccy/4232b1c8c4734e1f06c3d991149c6fbd to your computer and use it in GitHub Desktop.
Save phaticusthiccy/4232b1c8c4734e1f06c3d991149c6fbd to your computer and use it in GitHub Desktop.
/* 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 😱
}));
@ilkercck
Copy link

ilkercck commented Jun 1, 2021

Plugin nasıl ekleniyor

@semoandroid
Copy link

Bad

@Munjupakakak
Copy link

Plugin

@nnimeshe
Copy link

``

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment