diff --git a/pwsBot/README.md b/pwsBot/README.md index 43709a1..36a7b91 100644 --- a/pwsBot/README.md +++ b/pwsBot/README.md @@ -5,7 +5,7 @@ Simple Discord bot that does some useful things. ### Running Build and run the docker container with a few commands: -`docker stop pwsBot && docker system prune && docker-compose build && docker-compose up -d && docker logs -f pwsBot` +`docker-compose down && docker system prune -af && docker-compose build && docker-compose up -d && docker logs -f pwsBot` ### Functions diff --git a/pwsBot/commands/message_handler.py b/pwsBot/commands/message_handler.py index 22eea63..831df9c 100644 --- a/pwsBot/commands/message_handler.py +++ b/pwsBot/commands/message_handler.py @@ -43,8 +43,7 @@ async def handle_message(client, message): await message.author.send('Did not specify argument(s) for command: `' + message.content + '`. Check list of commands (`/pws help`) for valid usage.') else: await echo(message, args) - case 'help': - case 'commands': + case 'help' | 'commands': if args: logging.warn('Command ' + command + ' got unexpected arguments: ' + message.content + '.') await message.author.send('Unexpected arguments for command: `' + message.content + '`. Check list of commands (`/pws help`) for valid usage.')