New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
question #3
Comments
Yes, the name of the authorized role is called 'trusted'. You can change it to another name of a role that you have on your Discord - just make sure it's an exact match, capitalization and all. If you would like to let anyone use the commands, just set 'use' to false. |
and how to connect bot to server? i cant get how does it works |
and backup its not of all server , only of vhserver.db witch is located in /home/vhserver/.config/unity3d/IronGate/Valheim/worlds that it would do a zip with a date in tar.gz |
The code you are referencing is for restarting the Valheim server. The bot automatically connects when you run it, by typing You do need a Discord bot account/application set up and its token added to the |
As of right now I'm just executing the commands that LinuxGSM provide. I think it would be great to have a way to just back up the world. Perhaps separat the functionality with an argument like I have very limited time to work on this. So if you are interested in writing some code for a solution, I would gladly accept a pull request 🙂 |
Here it is from another bot and it works.
|
and for me its not working it writes : |
The bot starts running even tough that error gets shown. A quick google tells me this is a problem when using Node v14. Downgrading to v12 LTS will fix the problem. I'll add it as a low prio bug. |
Closing this as all questions have been answered and new issues have been created instead. |
its about config.json
{
"prefix": "!",
"token": "",
"required_role": {
"use": true,
"name": "trusted"
}
}
where to put role i cant get it is "trusted" ?
The text was updated successfully, but these errors were encountered: