-
-
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) |
Hello my bot
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Ok