Comments (5)
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
from buttonroles-example.
@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 :)
from buttonroles-example.
@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
from buttonroles-example.
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
from buttonroles-example.
closing due to inactivity, have a nice day
from buttonroles-example.
Related Issues (4)
- getting invalid syntax HOT 1
- Error 'DISALLOWED_INTENTS' HOT 1
- Provide a valid channel ID HOT 3
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from buttonroles-example.