From 947193fd778f6655783c937181a38bdb1ea0eb18 Mon Sep 17 00:00:00 2001 From: Stefano Pigozzi Date: Sun, 25 Aug 2019 18:03:23 +0200 Subject: [PATCH] Fix missing commands --- royalnet/commands/royalgames/__init__.py | 40 +++++++++++++++--------- royalnet/royalgames.py | 31 +++++++++++------- to_pypi.bat | 2 ++ 3 files changed, 47 insertions(+), 26 deletions(-) diff --git a/royalnet/commands/royalgames/__init__.py b/royalnet/commands/royalgames/__init__.py index 96517eec..3cf4cabb 100644 --- a/royalnet/commands/royalgames/__init__.py +++ b/royalnet/commands/royalgames/__init__.py @@ -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 may be useful to develop new ones.""" -from .ping import PingCommand from .ciaoruozi import CiaoruoziCommand from .color import ColorCommand from .cv import CvCommand from .diario import DiarioCommand from .mp3 import Mp3Command -from .summon import SummonCommand from .pause import PauseCommand +from .ping import PingCommand from .play import PlayCommand from .playmode import PlaymodeCommand from .queue import QueueCommand +from .rage import RageCommand 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", - "CiaoruoziCommand", - "ColorCommand", - "CvCommand", - "DiarioCommand", - "Mp3Command", - "SummonCommand", - "PauseCommand", - "PlayCommand", - "PlaymodeCommand", - "QueueCommand", - "ReminderCommand"] +__all__ = [ + "CiaoruoziCommand", + "ColorCommand", + "CvCommand", + "DiarioCommand", + "Mp3Command", + "PauseCommand", + "PingCommand", + "PlayCommand", + "PlaymodeCommand", + "QueueCommand", + "RageCommand", + "ReminderCommand", + "ShipCommand", + "SkipCommand", + "SmecdsCommand", + "SummonCommand", + "VideochannelCommand" +] diff --git a/royalnet/royalgames.py b/royalnet/royalgames.py index 42dc748d..7d679b1c 100644 --- a/royalnet/royalgames.py +++ b/royalnet/royalgames.py @@ -16,18 +16,25 @@ stream_handler = logging.StreamHandler() stream_handler.formatter = logging.Formatter("{asctime}\t{name}\t{levelname}\t{message}", style="{") log.addHandler(stream_handler) -commands = [PingCommand, - ColorCommand, - CiaoruoziCommand, - CvCommand, - DiarioCommand, - Mp3Command, - SummonCommand, - PauseCommand, - PlayCommand, - PlaymodeCommand, - QueueCommand, - ReminderCommand] +commands = [ + CiaoruoziCommand, + ColorCommand, + CvCommand, + DiarioCommand, + Mp3Command, + PauseCommand, + PingCommand, + PlayCommand, + PlaymodeCommand, + QueueCommand, + RageCommand, + ReminderCommand, + ShipCommand, + SkipCommand, + SmecdsCommand, + SummonCommand, + VideochannelCommand +] # noinspection PyUnreachableCode if __debug__: diff --git a/to_pypi.bat b/to_pypi.bat index fb03ce65..40941be4 100644 --- a/to_pypi.bat +++ b/to_pypi.bat @@ -1,2 +1,4 @@ + +del /f /q /s dist\*.* python setup.py sdist bdist_wheel twine upload dist/*