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

Texts #2

Closed
002-sans opened this issue Mar 13, 2022 · 5 comments
Closed

Texts #2

002-sans opened this issue Mar 13, 2022 · 5 comments
Labels
good first issue Good for newcomers

Comments

@002-sans
Copy link

how to make another text when the bot gives the role ?

@Aidan-The-Dev
Copy link

Aidan-The-Dev commented May 5, 2022

how to make another text when the bot gives the role ?

You cant but if you really want to change it that bad use his code for his npm package to make the command

d.js v12 github code: https://github.com/Nuggies-bot/nuggies-npm/blob/main/src/classes/v12/buttonroles.js

d.js v13 github code: https://github.com/Nuggies-bot/nuggies-npm/blob/main/src/classes/v13/buttonroles.js

Although I wouldn't recommend doing that as im not to sure what all his license covers as far as using source code

@Assassin-1234
Copy link
Member

Assassin-1234 commented May 5, 2022

@Aidan-The-Dev it is possible. refer to this release.

simply use

Nuggies.Messages(client, {
buttonRolesOptions: { // {role} placeholder only
 	addMessage: 'I have added the {role} role to you!',
 	removeMessage: 'I have removed the {role} role from you!',
 }
});

in your mainfile. make sure you are using Nuggies version 3.x.x @r3ngan.

Let me know if you have anymore doubts, make sure to join our support server for help from next time or just create an issue on the npm repository itself :)

@Assassin-1234 Assassin-1234 pinned this issue May 5, 2022
@Aidan-The-Dev
Copy link

@Aidan-The-Dev it is possible. refer to this release.

simply use

Nuggies.Messages(client, {
buttonRolesOptions: { // {role} placeholder only
 	addMessage: 'I have added the {role} role to you!',
 	removeMessage: 'I have removed the {role} role from you!',
 }
})

in your mainfile. make sure you are using Nuggies version 3.x.x @r3ngan.

Let me know if you have anymore doubts, make sure to join our support server for help from next time or just create an issue on the npm repository itself :)

Ah ok sorry should have done some deeper diving before answering someone

@Assassin-1234
Copy link
Member

Ah ok sorry should have done some deeper diving before answering someone

its fine! its because of you that this issue came to my attention, thank you

@pro-gamer007 pro-gamer007 added the good first issue Good for newcomers label May 5, 2022
@Assassin-1234
Copy link
Member

closing due to inactivity, have a nice day

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

No branches or pull requests

4 participants