Pārlūkot izejas kodu

added guild only check to printsettings which is was missing.

tags/v2.0.0
Roxie Gibson pirms 5 gadiem
vecāks
revīzija
f47876c617
1 mainītis faili ar 1 papildinājumiem un 0 dzēšanām
  1. +1
    -0
      roxbot/system.py

+ 1
- 0
roxbot/system.py Parādīt failu

@@ -228,6 +228,7 @@ class System:
settingcontent += str(x).strip("()") + "\n"
return settingcontent

@commands.guild_only()
@commands.command(aliases=["printsettingsraw"])
@commands.has_permissions(manage_guild=True)
async def printsettings(self, ctx, option=None):

Notiek ielāde…
Atcelt
Saglabāt