Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

getmsg.js #676

Closed
Naruto010 opened this issue Aug 1, 2021 · 7 comments
Closed

getmsg.js #676

Naruto010 opened this issue Aug 1, 2021 · 7 comments

Comments

@Naruto010
Copy link

Naruto010 commented Aug 1, 2021

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)

@unx21
Copy link

unx21 commented Aug 8, 2021

you better create a separate file where the bot will reply automatically without using the prefix # or .

@Naruto010
Copy link
Author

Naruto010 commented Aug 8, 2021 via email

@unx21
Copy link

unx21 commented Aug 8, 2021

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

@Naruto010
Copy link
Author

Sorry but it's not working

@unx21
Copy link

unx21 commented Aug 16, 2021

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 :")

@Naruto010
Copy link
Author

Naruto010 commented Aug 16, 2021 via email

@unx21
Copy link

unx21 commented Aug 16, 2021

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). > > >

https://wa.me/qr/VJ2PLVAGHO4FG1

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants