-
-
Save lyfe00011/e79dd9ad28456146d9e7eacc5987da49 to your computer and use it in GitHub Desktop.
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 { levanterTimeout, getQuote } = require('../lib/') | |
/* | |
{ | |
pattern: 'auto_about ?(.*)', | |
fromMe: true, | |
desc: 'auto about', | |
type: 'bot', | |
},*/ | |
const time = 60 * 1000 * 30 // 30 minute gap | |
const about = async () => { | |
const quote = await getQuote() | |
//write any thing that u want here and return string | |
return quote || 'this is an example of auto bio - levanter' | |
} | |
levanterTimeout(about, time) |
everyone minutes change auto about time https://gist.github.com/techgod143/1607003ccdaf03f8d7660cda09d9887c
everyone min change auto about time https://gist.github.com/techgod143/1607003ccdaf03f8d7660cda09d9887c
Hello friend how are you
everyone min change auto about time https://gist.github.com/techgod143/1607003ccdaf03f8d7660cda09d9887c
Hello friend how are you
I am good
Hello everyone how are you
Hii
everyone minutes change auto about time https://gist.github.com/techgod143/1607003ccdaf03f8d7660cda09d9887c
Ok
Hello my bot
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
****