Closed Naruto010 closed 2 years ago
you better create a separate file where the bot will reply automatically without using the prefix # or .
Can you teach me how to do it?
On Aug 8, 2021 at 9:29 AM, <unx21 @.***)> wrote:
you better create a separate file where the bot will reply automatically without using the prefix # or .
— You are receiving this because you authored the thread. Reply to this email directly, view it on GitHub (https://github.com/Nurutomo/wabot-aq/issues/676#issuecomment-894750762), or unsubscribe (https://github.com/notifications/unsubscribe-auth/AUY7J3SCKW7KEIZXC5C5HKLT3YP33ANCNFSM5BK2L6XQ). Triage notifications on the go with GitHub Mobile for iOS (https://apps.apple.com/app/apple-store/id1477376905?ct=notification-email&mt=8&pt=524675) or Android (https://play.google.com/store/apps/details?id=com.github.android&utm_campaign=notification-email).
Can you teach me how to do it? … On Aug 8, 2021 at 9:29 AM, <unx21 @.***)> wrote: you better create a separate file where the bot will reply automatically without using the prefix # or . — You are receiving this because you authored the thread. Reply to this email directly, view it on GitHub (#676 (comment)), or unsubscribe (https://github.com/notifications/unsubscribe-auth/AUY7J3SCKW7KEIZXC5C5HKLT3YP33ANCNFSM5BK2L6XQ). Triage notifications on the go with GitHub Mobile for iOS (https://apps.apple.com/app/apple-store/id1477376905?ct=notification-email&mt=8&pt=524675) or Android (https://play.google.com/store/apps/details?id=com.github.android&utm_campaign=notification-email).
let handler = async (m, { conn }) => {
let name = conn.getName(m.sender)
let pesan = Hii ${name}, Violet Heree
conn.reply(m.chat, pesan, m)
}
handler.customPrefix = /Bot/
handler.command = new RegExp
module.exports = handler
Sorry but it's not working
Sorry but it's not working
I think it should work because I'm also using wabot-aq, sorry if my opinion doesn't help :")
Can i get your num cuz I didn't understand very well
On Aug 8, 2021 at 12:11 PM, <Mzgmglf @.***)> wrote:
Can you teach me how to do it?
On Aug 8, 2021 at 9:29 AM, <unx21 @.***)> wrote:
you better create a separate file where the bot will reply automatically without using the prefix # or .
— You are receiving this because you authored the thread. Reply to this email directly, view it on GitHub (https://github.com/Nurutomo/wabot-aq/issues/676#issuecomment-894750762), or unsubscribe (https://github.com/notifications/unsubscribe-auth/AUY7J3SCKW7KEIZXC5C5HKLT3YP33ANCNFSM5BK2L6XQ). Triage notifications on the go with GitHub Mobile for iOS (https://apps.apple.com/app/apple-store/id1477376905?ct=notification-email&mt=8&pt=524675) or Android (https://play.google.com/store/apps/details?id=com.github.android&utm_campaign=notification-email).
Can i get your num cuz I didn't understand very well … On Aug 8, 2021 at 12:11 PM, <Mzgmglf @.)> wrote: Can you teach me how to do it? > > On Aug 8, 2021 at 9:29 AM, <unx21 @.)> wrote: > > > > > > > > > you better create a separate file where the bot will reply automatically without using the prefix # or . > > > > — > You are receiving this because you authored the thread. > Reply to this email directly, view it on GitHub (#676 (comment)), or unsubscribe (https://github.com/notifications/unsubscribe-auth/AUY7J3SCKW7KEIZXC5C5HKLT3YP33ANCNFSM5BK2L6XQ). > Triage notifications on the go with GitHub Mobile for iOS (https://apps.apple.com/app/apple-store/id1477376905?ct=notification-email&mt=8&pt=524675) or Android (https://play.google.com/store/apps/details?id=com.github.android&utm_campaign=notification-email). > > >
How can I get the command without #getmsg
Example: I added the command #addmsg hi and I want to use it just type hi without # and without getmsg just the word
and i want it with tag when i send hi like hi - hey there (tag)