1
Fork 0
mirror of https://github.com/RYGhub/royalnet.git synced 2024-11-23 11:34:18 +00:00

Fix missing commands

This commit is contained in:
Steffo 2019-08-25 18:03:23 +02:00
parent 330217bdb2
commit 947193fd77
3 changed files with 47 additions and 26 deletions

View file

@ -3,28 +3,40 @@
These probably won't suit your needs, as they are tailored for the bots of the Royal Games gaming community, but they These probably won't suit your needs, as they are tailored for the bots of the Royal Games gaming community, but they
may be useful to develop new ones.""" may be useful to develop new ones."""
from .ping import PingCommand
from .ciaoruozi import CiaoruoziCommand from .ciaoruozi import CiaoruoziCommand
from .color import ColorCommand from .color import ColorCommand
from .cv import CvCommand from .cv import CvCommand
from .diario import DiarioCommand from .diario import DiarioCommand
from .mp3 import Mp3Command from .mp3 import Mp3Command
from .summon import SummonCommand
from .pause import PauseCommand from .pause import PauseCommand
from .ping import PingCommand
from .play import PlayCommand from .play import PlayCommand
from .playmode import PlaymodeCommand from .playmode import PlaymodeCommand
from .queue import QueueCommand from .queue import QueueCommand
from .rage import RageCommand
from .reminder import ReminderCommand from .reminder import ReminderCommand
from .ship import ShipCommand
from .skip import SkipCommand
from .smecds import SmecdsCommand
from .summon import SummonCommand
from .videochannel import VideochannelCommand
__all__ = ["PingCommand", __all__ = [
"CiaoruoziCommand", "CiaoruoziCommand",
"ColorCommand", "ColorCommand",
"CvCommand", "CvCommand",
"DiarioCommand", "DiarioCommand",
"Mp3Command", "Mp3Command",
"SummonCommand", "PauseCommand",
"PauseCommand", "PingCommand",
"PlayCommand", "PlayCommand",
"PlaymodeCommand", "PlaymodeCommand",
"QueueCommand", "QueueCommand",
"ReminderCommand"] "RageCommand",
"ReminderCommand",
"ShipCommand",
"SkipCommand",
"SmecdsCommand",
"SummonCommand",
"VideochannelCommand"
]

View file

@ -16,18 +16,25 @@ stream_handler = logging.StreamHandler()
stream_handler.formatter = logging.Formatter("{asctime}\t{name}\t{levelname}\t{message}", style="{") stream_handler.formatter = logging.Formatter("{asctime}\t{name}\t{levelname}\t{message}", style="{")
log.addHandler(stream_handler) log.addHandler(stream_handler)
commands = [PingCommand, commands = [
ColorCommand, CiaoruoziCommand,
CiaoruoziCommand, ColorCommand,
CvCommand, CvCommand,
DiarioCommand, DiarioCommand,
Mp3Command, Mp3Command,
SummonCommand, PauseCommand,
PauseCommand, PingCommand,
PlayCommand, PlayCommand,
PlaymodeCommand, PlaymodeCommand,
QueueCommand, QueueCommand,
ReminderCommand] RageCommand,
ReminderCommand,
ShipCommand,
SkipCommand,
SmecdsCommand,
SummonCommand,
VideochannelCommand
]
# noinspection PyUnreachableCode # noinspection PyUnreachableCode
if __debug__: if __debug__:

View file

@ -1,2 +1,4 @@
del /f /q /s dist\*.*
python setup.py sdist bdist_wheel python setup.py sdist bdist_wheel
twine upload dist/* twine upload dist/*