Error: You cannot execute 'bot setup'. You are missing the 'cmd.bot.setup' right!
Platform: Windows 10
Go to your rights.toml and set the required values to add yourself all permissions.
There should be a template section that looks like this:
# Admin rule
[[rule]]
# Set your admin Group Ids here
groupid = [ 0 ]
# And/Or your admin Client Uids here
useruid = [ "" ]
"+" = "*"
Thank you for your response
I'm now greeted with :
Error: You cannot execute 'bot setup'. You are missing the 'cmd.bot.setup' right!
thanks in advance
Did you restart the bot?
Yes other commands result in other errors for example:
Error: You cannot execute 'quiz'. You are missing the 'cmd.quiz'
Error: You cannot execute 'play'. You are missing the 'cmd.play'
you're a legend!
What did you put into the rights.toml file?
I got that working sorry I am a noob.
"Error: I'm not strong enough, master!"
馃憤 for taking the time up until now 馃憤
give the bot kicking permission in ts
I have it on server admin permissions and it's still giving me the error :(
As Splamy said, you need to look in your rights.toml because the error occured if you don't set the specific permission / didn't use the *
<data name="cmd_kickme_missing_permission" xml:space="preserve">
<value>I'm not strong enough, master!</value>
</data>
Can you show us your rights.toml @lavid274 ?
# Rights declaration file
# For more information about syntax and structure see here:
# https://github.com/Splamy/TS3AudioBot/wiki/Rights
"+" = [
# Basic stuff
"cmd.help",
"cmd.pm",
"cmd.subscribe",
"cmd.unsubscribe",
"cmd.kickme.*",
"cmd.version",
# Getting song info
"cmd.song",
"cmd.repeat",
"cmd.random",
# Conditionals and basic scripting
"cmd.if",
"cmd.print",
"cmd.rng",
"cmd.eval",
"cmd.take",
"cmd.xecute",
"cmd.getmy.*",
"cmd.json.*",
"cmd.bot.use",
"cmd.rights.can",
]
# Admin rule
[[rule]]
# Set your admin Group Ids here
groupid = [ 6 ]
# And/Or your admin Client Uids here
useruid = [ "l8n2hbViY0SpVLHpW/embGtvreY=" ]
"+" = "*"
# Playing rights
[[rule]]
# Set Group Ids you want to allow here
groupid = [ 6, 10 ]
# And/Or Client Uids here
useruid = [ "l8n2hbViY0SpVLHpW/embGtvreY=" ]
# Or remove groupid and useruid to allow for everyone
"+" = [
# Play controls
"cmd.play",
"cmd.pause",
"cmd.stop",
"cmd.seek",
"cmd.volume",
# Playlist management
"cmd.list.*",
"cmd.add",
"cmd.clear",
"cmd.previous",
"cmd.next",
"cmd.random.*",
"cmd.repeat.*",
# History features
"cmd.history.add",
"cmd.history.from",
"cmd.history.id",
"cmd.history.last",
"cmd.history.play",
"cmd.history.till",
"cmd.history.title",
]
# Remove this if you want to allow users to save playlist locally
"-" = [ "cmd.list.save" ]
...
@lavid274 Did you try out to remove your uid and the server group from the playing rights?
Because for me it looks like you override the admin rule right which have already all rights so you don鈥檛 need the playing rights for yourself.
Sent with GitHawk
!bot setup 5RFjWqhA2NxjtUkGQcojJnpO9jAdHZHfQAlzfbDQ
17:47:51.2388|ERROR Adding permissions failed (permission_invalid_group_id: the command failed to execute: invalid group ID)
Sorry for the delayed response, I kinda lost track of some issues. Is the problem still present? Reopen the issue if necessary