2019-11-28 23:48:11 -05:00
|
|
|
"""
|
2020-09-24 19:02:12 -04:00
|
|
|
Information about callsigns for the prefixes command in hamcog.
|
2019-11-28 23:48:11 -05:00
|
|
|
---
|
2021-04-03 18:13:42 -04:00
|
|
|
Copyright (C) 2019-2021 classabbyamp, 0x5c
|
2019-11-28 23:48:11 -05:00
|
|
|
|
2020-01-31 06:50:50 -05:00
|
|
|
This file is part of discord-qrmbot and is released under the terms of
|
|
|
|
the GNU General Public License, version 2.
|
2019-11-28 23:48:11 -05:00
|
|
|
"""
|
|
|
|
|
2020-10-28 21:04:14 -04:00
|
|
|
|
|
|
|
from dataclasses import dataclass
|
|
|
|
|
2020-09-24 19:02:12 -04:00
|
|
|
from .callsigninfos import (us, ca)
|
2020-01-31 06:50:50 -05:00
|
|
|
|
2019-11-28 23:48:11 -05:00
|
|
|
|
2020-10-28 21:04:14 -04:00
|
|
|
@dataclass
|
|
|
|
class CallsignInfoData:
|
|
|
|
"""Represents a country's callsign info"""
|
|
|
|
title: str = ""
|
|
|
|
desc: str = ""
|
|
|
|
calls: str = ""
|
|
|
|
emoji: str = ""
|
|
|
|
|
|
|
|
|
2020-09-24 19:02:12 -04:00
|
|
|
options = {
|
2020-10-28 21:04:14 -04:00
|
|
|
"us": CallsignInfoData(us.title, us.desc, us.calls, us.emoji),
|
|
|
|
"ca": CallsignInfoData(ca.title, ca.desc, ca.calls, ca.emoji),
|
2020-09-24 19:02:12 -04:00
|
|
|
}
|