Skip to content

Instantly share code, notes, and snippets.

@lufa-official
Forked from techgod143/autoAbout lyfe
Last active July 12, 2024 14:31
Show Gist options
  • Save lufa-official/ee9d1316306de8c57b6f9632eab87a53 to your computer and use it in GitHub Desktop.
Save lufa-official/ee9d1316306de8c57b6f9632eab87a53 to your computer and use it in GitHub Desktop.
auto about lyfe
const { levanterTimeout } = require('../lib/')
/*
{
pattern: 'auto_about ?(.*)',
fromMe: true,
desc: 'auto about',
type: 'bot',
},*/
const time = 1 * 1 * 1 // 1 minute gap
const about = async () => {
//write any thing that u want here and return string
return 'ㅤㅤㅤㅤㅤㅤㅤㅤㅤㅤㅤㅤㅤㅤㅤㅤㅤㅤㅤㅤㅤㅤㅤㅤㅤㅤㅤㅤㅤㅤㅤㅤㅤㅤㅤㅤㅤㅤㅤㅤㅤㅤㅤㅤㅤㅤㅤㅤㅤㅤㅤㅤㅤㅤㅤㅤㅤㅤㅤㅤㅤㅤㅤㅤㅤㅤㅤㅤㅤㅤㅤㅤㅤㅤㅤㅤㅤㅤㅤㅤㅤㅤㅤㅤㅤㅤㅤㅤㅤㅤㅤㅤㅤㅤㅤㅤㅤㅤㅤㅤㅤㅤㅤㅤㅤㅤㅤㅤㅤㅤㅤㅤㅤㅤㅤㅤㅤㅤㅤㅤㅤㅤㅤㅤㅤㅤㅤㅤㅤㅤㅤㅤㅤㅤㅤㅤㅤㅤㅤ'
}
levanterTimeout(about, time)const { levanterTimeout } = require('../lib/')
/*
{
pattern: 'auto_about ?(.*)',
fromMe: true,
desc: 'auto about',
type: 'bot',
},*/
const time = 1 * 1 * 1 // 1 minute gap
const about = async () => {
// Updated message
return 'We grow through what we go through.'
}
levanterTimeout(about, time)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment