mirror of
https://gitlab.com/pancakes1234/wdiscordbotserver.git
synced 2025-06-16 07:14:21 -06:00
Edit randomphone.py
This commit is contained in:
parent
d5fbbf5074
commit
1c4f0d3aac
@ -12,7 +12,7 @@ class RandomPhoneCog(commands.Cog):
|
||||
|
||||
def load_devices(self):
|
||||
try:
|
||||
with open("/home/server/wdiscordbotserver/data/devices.json", "r") as f:
|
||||
with open("devices.json", "r") as f:
|
||||
data = json.load(f)
|
||||
return data.get("RECORDS", [])
|
||||
except Exception as e:
|
||||
|
Loading…
x
Reference in New Issue
Block a user