Coder Social home page Coder Social logo

Role for whitelist about palbot HOT 6 CLOSED

ly-sec avatar ly-sec commented on September 17, 2024
Role for whitelist

from palbot.

Comments (6)

Ly-sec avatar Ly-sec commented on September 17, 2024

That sadly doesn't work since there is no proper way of confirming if the user (in palworld) has the discord role :/

from palbot.

MaXx-62 avatar MaXx-62 commented on September 17, 2024

That sadly doesn't work since there is no proper way of confirming if the user (in palworld) has the discord role :/

But it can be done on the discord side, right? limited to the /whitelist-edit add command with a specific discord role?

and also I have a problem, I have 2 bot, the first works fine, but the second I have this error

image

from palbot.

MaXx-62 avatar MaXx-62 commented on September 17, 2024

ok I managed to fix my problem, and now what I wanted, for example, is that on the 6 commands

broadcast.js
rcon-edit.js
save.js
shudown.js
whitelist-edit.js
whitelist.js

For example, I wanted all commands to have a discord admin role, and only the whitelist-edit.js command to have a specific role, e.g. moderator,

Because currently if you give the role rcon, the person can shutdown the server, broadcast etc, :D

from palbot.

Ly-sec avatar Ly-sec commented on September 17, 2024

Oh that's what you mean, yeah I can change that later/tomorrow

from palbot.

MaXx-62 avatar MaXx-62 commented on September 17, 2024

Oh that's what you mean, yeah I can change that later/tomorrow

Yes, I misspoke. sorry :D

All right, thanks!

from palbot.

Ly-sec avatar Ly-sec commented on September 17, 2024

Added :)

Closing this issue since we got a fully reworked bot. Let's see what other issues are going to appear now.

from palbot.

Related Issues (20)

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.