Araeynn commited on
Commit
cf151c9
1 Parent(s): c3dc122

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +5 -4
app.py CHANGED
@@ -198,6 +198,11 @@ or
198
  --setup #general
199
  ```"""
200
 
 
 
 
 
 
201
  @client.event
202
  async def on_message(message):
203
  msgchannel = message.channel
@@ -374,10 +379,6 @@ async def on_message(message):
374
  message.content = message.content.replace(f"<@{user.id}>",
375
  f"<@{str(user)}>")
376
  try:
377
- info = requests.get("https://raw.githubusercontent.com/aryananumula/lr/main/info.json").content
378
- bannedUsers = json.loads(info)["bannedUsers"]
379
- imageModel = json.loads(info)["imageModel"]
380
- userTimes = json.loads(info)["userTimes"]
381
  s = f":green[{message.author}]: :violet[{message.content}] :blue[{msgchannel_name}] :orange[{guild_name}]"
382
  if message.author == client.user:
383
  return
 
198
  --setup #general
199
  ```"""
200
 
201
+ info = requests.get("https://raw.githubusercontent.com/aryananumula/lr/main/info.json").content
202
+ bannedUsers = json.loads(info)["bannedUsers"]
203
+ imageModel = json.loads(info)["imageModel"]
204
+ userTimes = json.loads(info)["userTimes"]
205
+
206
  @client.event
207
  async def on_message(message):
208
  msgchannel = message.channel
 
379
  message.content = message.content.replace(f"<@{user.id}>",
380
  f"<@{str(user)}>")
381
  try:
 
 
 
 
382
  s = f":green[{message.author}]: :violet[{message.content}] :blue[{msgchannel_name}] :orange[{guild_name}]"
383
  if message.author == client.user:
384
  return