mirror of
https://github.com/GaMeNu/HFCNotificator.git
synced 2024-11-16 07:14:52 +02:00
005678640f
Added info command, along with organized way to save client data
8 lines
165 B
Python
8 lines
165 B
Python
import json
|
|
|
|
with open('botinfo.json', 'r') as f:
|
|
botinfo_dict = json.loads(f.read())
|
|
|
|
version = botinfo_dict["version"]
|
|
maintainer = botinfo_dict["maintainer"]
|