Spaces:
Running
Running
Update app.py
Browse files
app.py
CHANGED
@@ -428,7 +428,7 @@ async def on_message(message):
|
|
428 |
context = f.read()
|
429 |
with open(f"{guild_name}.guild", "r") as f:
|
430 |
o = f.read()
|
431 |
-
info = requests.get("https://raw.githubusercontent.com/aryananumula/lr/main/info.json")
|
432 |
bannedUsers = json.loads(info)["bannedUsers"]
|
433 |
imageModel = json.loads(info)["imageModel"]
|
434 |
if str(message.channel.id) in o.split("\n") or guild_name == "Direct" or message.author.id not in bannedUsers:
|
|
|
428 |
context = f.read()
|
429 |
with open(f"{guild_name}.guild", "r") as f:
|
430 |
o = f.read()
|
431 |
+
info = requests.get("https://raw.githubusercontent.com/aryananumula/lr/main/info.json").content
|
432 |
bannedUsers = json.loads(info)["bannedUsers"]
|
433 |
imageModel = json.loads(info)["imageModel"]
|
434 |
if str(message.channel.id) in o.split("\n") or guild_name == "Direct" or message.author.id not in bannedUsers:
|