mirror of
https://github.com/miaowware/qrm2.git
synced 2024-11-22 07:54:52 -05:00
28 lines
547 B
Python
28 lines
547 B
Python
"""
|
|
Information about callsigns for the prefixes command in hamcog.
|
|
---
|
|
Copyright (C) 2019-2023 classabbyamp, 0x5c
|
|
|
|
SPDX-License-Identifier: LiLiQ-Rplus-1.1
|
|
"""
|
|
|
|
|
|
from dataclasses import dataclass
|
|
|
|
from .callsigninfos import (us, ca)
|
|
|
|
|
|
@dataclass
|
|
class CallsignInfoData:
|
|
"""Represents a country's callsign info"""
|
|
title: str = ""
|
|
desc: str = ""
|
|
calls: str = ""
|
|
emoji: str = ""
|
|
|
|
|
|
options = {
|
|
"us": CallsignInfoData(us.title, us.desc, us.calls, us.emoji),
|
|
"ca": CallsignInfoData(ca.title, ca.desc, ca.calls, ca.emoji),
|
|
}
|