mirror of
https://github.com/RYGhub/royalnet.git
synced 2024-11-23 11:34:18 +00:00
✨ Implement magazine
This commit is contained in:
parent
c026c282f8
commit
38c877950d
1 changed files with 35 additions and 0 deletions
35
royalnet/engineer/magazine.py
Normal file
35
royalnet/engineer/magazine.py
Normal file
|
@ -0,0 +1,35 @@
|
||||||
|
# Module docstring
|
||||||
|
"""
|
||||||
|
.. todo:: Document magazines.
|
||||||
|
"""
|
||||||
|
|
||||||
|
# Special imports
|
||||||
|
from __future__ import annotations
|
||||||
|
import royalnet.royaltyping as t
|
||||||
|
|
||||||
|
# External imports
|
||||||
|
import logging
|
||||||
|
|
||||||
|
# Internal imports
|
||||||
|
from . import bullet
|
||||||
|
|
||||||
|
# Special global objects
|
||||||
|
log = logging.getLogger(__name__)
|
||||||
|
|
||||||
|
|
||||||
|
# Code
|
||||||
|
class Magazine:
|
||||||
|
"""
|
||||||
|
A reference to all types of bullets to be used when instancing bullets from a bullet.
|
||||||
|
"""
|
||||||
|
|
||||||
|
BULLET = bullet.Bullet
|
||||||
|
USER = bullet.User
|
||||||
|
MESSAGE = bullet.Message
|
||||||
|
CHANNEL = bullet.Channel
|
||||||
|
|
||||||
|
|
||||||
|
# Objects exported by this module
|
||||||
|
__all__ = (
|
||||||
|
"Magazine",
|
||||||
|
)
|
Loading…
Reference in a new issue