Created
March 1, 2021 00:24
-
-
Save phaticusthiccy/68988a830e102f7f3a84d0131d2a1e71 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 Asena = require('../events'); | |
const {MessageType,Mimetype} = require('@adiwajshing/baileys'); | |
Asena.addCommand({pattern: 'test', fromMe: true}, (async (message, match) => { | |
var text = new Array (); | |
text[0] = "Herhangi Bir Şey"; | |
text[1] = "Herhangi bir Şey"; | |
var i = Math.floor(2*Math.random()) | |
await message.client.sendMessage(message.jid,`${text[i]}`, MessageType.text); | |
})); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment