Discord Bot That Is Able To Create Roles

I need my discord bot to at a command (say !command) will create 3 roles (role one, role two, role three). It would be great if the roles could have colors and be hoisted but it’s not necessary and I don’t need anything beyond that. Nothing I’ve seen on Stack Overflow or Youtube has worked. Also, I’m using discord.js if that helps.

This is the code I’ve tried:

guild.roles.create({ data: { name: "Role One", permissions: ["View_Channels"] } });

100 thoughts on “Discord Bot That Is Able To Create Roles”

  1. I’ve been surfing online more than 3 hours today, yet I never found any interesting article like yours.
    It is pretty worth enough for me. Personally, if all webmasters and bloggers made good content as you
    did, the internet will be much more useful than ever before.

    Reply
  2. Hi, i read your blog from time to time and i own a similar one
    and i was just curious if you get a lot of spam feedback?
    If so how do you prevent it, any plugin or anything you
    can recommend? I get so much lately it’s driving me crazy so any help is very much appreciated.

    Reply
  3. Hey just wanted to give you a quick heads up. The
    words in your content seem to be running off the screen in Opera.
    I’m not sure if this is a formatting issue or something to do
    with browser compatibility but I figured I’d post to let you know.
    The design look great though! Hope you get the issue fixed soon. Thanks

    Reply
  4. It is the best time to make some plans for the future and it’s time to
    be happy. I’ve read this post and if I could I wish
    to suggest you few interesting things or advice. Perhaps you could
    write next articles referring to this article. I wish to read more things about it!

    Reply
  5. Hi, I do believe this is an excellent blog.

    I stumbledupon it 😉 I am going to return yet again since i have saved as a favorite
    it. Money and freedom is the greatest way to change, may you
    be rich and continue to help others.

    Reply
  6. It’s perfect time to make a few plans for the long run and it’s time
    to be happy. I have read this put up and if I could I wish to recommend you some attention-grabbing things or tips.
    Perhaps you could write subsequent articles relating to this article.

    I wish to learn even more issues about it!

    Reply
  7. Its like you read my mind! You seem to understand a lot about this, such as you wrote the e book in it or something.
    I feel that you could do with a few % to drive the message home a bit, however other than that, that is great blog.

    An excellent read. I will certainly be back.

    Reply
  8. Hello, i read your blog occasionally and i own a similar one
    and i was just curious if you get a lot of spam remarks?

    If so how do you prevent it, any plugin or anything you can advise?
    I get so much lately it’s driving me insane so any assistance is very much appreciated.

    Reply
  9. I’ve been browsing online greater than three hours lately, yet I by no means found any fascinating article like yours.
    It’s lovely price enough for me. In my view, if
    all webmasters and bloggers made just right content as you
    did, the web shall be much more useful than ever before.

    Reply
  10. It is appropriate time to make some plans for the future and
    it’s time to be happy. I have read this post and if I could I want to suggest you few interesting things or suggestions.
    Maybe you could write next articles referring to this article.
    I want to read more things about it!

    Reply
  11. I’ve been browsing online more than 2 hours today, yet I never
    found any interesting article like yours.
    It’s pretty worth enough for me. Personally, if all
    webmasters and bloggers made good content as you did,
    the web will be much more useful than ever before.

    Reply
  12. Hello just wanted to give you a quick heads up.
    The words in your article seem to be running off the screen in Ie.

    I’m not sure if this is a formatting issue or something to do with web browser compatibility but I thought I’d post to
    let you know. The style and design look great though!
    Hope you get the issue solved soon. Thanks

    Reply
  13. Hi, i read your blog from time to time and i own a similar one
    and i was just curious if you get a lot of spam remarks?
    If so how do you protect against it, any plugin or anything you can recommend?
    I get so much lately it’s driving me mad so any
    assistance is very much appreciated.

    Reply
  14. I have been browsing online more than 2 hours today, yet I never found any
    interesting article like yours. It is pretty worth enough for me.
    In my opinion, if all web owners and bloggers made good content as you did, the net will be a lot more
    useful than ever before.

    Reply

Leave a Comment