Created
May 13, 2021 01:11
-
-
Save ahgsql/0c630d26ae43547b8095e7f70202af0c to your computer and use it in GitHub Desktop.
asenaplugintest.js
This file contains 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} = require('@adiwajshing/baileys'); | |
Asena.addCommand({pattern: 'testimiz', fromMe: true}, (async (message, match) => { | |
await message.sendMessage('Bu bir testtir!'); | |
await new Promise(r => setTimeout(r, 1000)); | |
await message.sendMessage('1 saniyeden sonra!'); | |
})); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment