Git Product home page Git Product logo

Comments (5)

Aidan-The-Dev avatar Aidan-The-Dev commented on September 23, 2024

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.

Assassin-1234 avatar Assassin-1234 commented on September 23, 2024

@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 avatar Aidan-The-Dev commented on September 23, 2024

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

Assassin-1234 avatar Assassin-1234 commented on September 23, 2024

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.

Assassin-1234 avatar Assassin-1234 commented on September 23, 2024

closing due to inactivity, have a nice day

from buttonroles-example.

Related Issues (4)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo 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.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.