Not loading json into cache anymore

pull/8/head
sgoudham 4 years ago
parent 451a002fde
commit ed09a2c2ec

@ -1,4 +1,3 @@
import json
import random import random
from discord import Colour from discord import Colour
@ -79,16 +78,6 @@ def del_cache(guildid):
# --------------------------------------------!End Cache Section!------------------------------------------------------- # --------------------------------------------!End Cache Section!-------------------------------------------------------
# --------------------------------------------!Waifu Cache Section!-----------------------------------------------------
# Opening JSON file
with open('waifusformatted.json') as json_file:
waifus_dict = json.load(json_file)
# --------------------------------------------!End Waifu Cache Section!-------------------------------------------------
# --------------------------------------------!ModLogs Section!--------------------------------------------------------- # --------------------------------------------!ModLogs Section!---------------------------------------------------------
# Updating the modlog within the dict and database when the method is called # Updating the modlog within the dict and database when the method is called

File diff suppressed because one or more lines are too long
Loading…
Cancel
Save