Bläddra i källkod

weird bug I might need to report to discord.py averted for now. Also figure out how to test things on the server better than pushing to master smh.

tags/v1.4.1
Roxie Gibson 6 år sedan
förälder
incheckning
8ec80eff03
1 ändrade filer med 1 tillägg och 3 borttagningar
  1. +1
    -3
      cogs/gss.py

+ 1
- 3
cogs/gss.py Visa fil

@@ -8,7 +8,7 @@ from config.server_config import ServerConfig


def is_gss():
return commands.check(lambda ctx: ctx.guild.id == 393764974444675073)
return commands.check(lambda ctx: ctx.guild.id == "393764974444675073")

def is_not_nsfw_disabled():
def predicate(ctx):
@@ -22,8 +22,6 @@ class GaySoundsShitposting():
self.con = ServerConfig()
self.servers = self.con.servers
self.guild = self.bot.get_guild(393764974444675073)
print(self.guild)
print(self.guild.id == 393764974444675073)
self.nsfw_image_role = utils.get(self.guild.roles, id=394941004043649036)
self.selfie_role = utils.get(self.guild.roles, id=394939389823811584)


Laddar…
Avbryt
Spara