Ly-sec / PalBot

PalBot - Whitelist, RCON, Server management Palworld Discoord Bot
20 stars 3 forks source link

Role for whitelist #14

Closed MaXx-62 closed 7 months ago

MaXx-62 commented 7 months ago

It would be cool to have a discord role linked only to the whitelist command

so add and remove

Ly-sec commented 7 months ago

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

MaXx-62 commented 7 months ago

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

MaXx-62 commented 7 months ago

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

Ly-sec commented 7 months ago

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

MaXx-62 commented 7 months ago

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

Yes, I misspoke. sorry :D

All right, thanks!

Ly-sec commented 7 months ago

Added :)

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