Quellcode durchsuchen

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 vor 6 Jahren
Ursprung
Commit
8ec80eff03
1 geänderte Dateien mit 1 neuen und 3 gelöschten Zeilen
  1. +1
    -3
      cogs/gss.py

+ 1
- 3
cogs/gss.py Datei anzeigen

@@ -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)


Laden…
Abbrechen
Speichern