mirror of
https://github.com/miaowware/qrm2.git
synced 2024-11-26 09:48:41 -05:00
2eea7dce23
fixes #255
29 lines
620 B
Python
29 lines
620 B
Python
"""
|
|
Information about callsigns for the prefixes command in hamcog.
|
|
---
|
|
Copyright (C) 2019-2020 Abigail Gold, 0x5c
|
|
|
|
This file is part of discord-qrmbot and is released under the terms of
|
|
the GNU General Public License, version 2.
|
|
"""
|
|
|
|
|
|
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),
|
|
}
|