e-a-h / That-Sky-Bot

That Sky [Bot] for thatgamecompany and #thatskygame
Creative Commons Attribution Share Alike 4.0 International
14 stars 3 forks source link

PermissionConfig - exception when using permission_config and no roles configured #100

Closed cXyn-h closed 2 years ago

cXyn-h commented 3 years ago

when there are no admin, mod, trusted roles or command permissions configured, trying to call permission_config to list settings out creates an exception

400 Bad Request (error code: 50035): Invalid Form Body
In embed.fields.2.value: This field is required
In embed.fields.3.value: This field is required
In embed.fields.4.value: This field is required
In embed.fields.5.value: This field is required (<class 'discord.errors.HTTPException'>)