Romain J
7962205d16
todo: - fix l'INET6 qui s'affiche comme 10 plutot que 6 - suppr le message Retrieving info si la commande n'a pas pu etre faite - this shit https://canary.discord.com/channels/767804368233037886/768097484655689758/803299217279811634
15 lines
269 B
Python
15 lines
269 B
Python
from structured_config import Structure, StrField
|
|
|
|
HAS_MODELS = False
|
|
|
|
|
|
class NetworkConfig(Structure):
|
|
ipinfoKey: str = StrField("")
|
|
|
|
|
|
extra = {
|
|
"ipinfoKey": {
|
|
"type": str,
|
|
"description": "API Key for ipinfo.io (.iplocalise command)",
|
|
},
|
|
}
|