tuxbot-bot/tuxbot/cogs/Network/config.py
2021-03-31 18:08:53 +02:00

17 lines
311 B
Python

from typing import Dict
from structured_config import Structure, StrField
HAS_MODELS = False
class NetworkConfig(Structure):
ipinfoKey: str = StrField("")
extra: Dict[str, Dict] = {
"ipinfoKey": {
"type": str,
"description": "API Key for ipinfo.io (.iplocalise command)",
},
}