Commit 120bb60b authored by Benjamin Sherman's avatar Benjamin Sherman

Merge branch 'master' into pylint

parents 3c200f36 e0055a7b
......@@ -45,5 +45,5 @@ deploy-to-server:
- echo "$SSH_PRIVATE_KEY" | base64 -d > ~/.ssh/id_rsa
- chmod -R 700 ~/.ssh
- for user in $BOT_USERS; do ssh gitlab@$CONTAINER_IP "sh -c 'sudo runuser -u $user -- sh -c \"cd /home/$user/$user && ./\"'"; done
- master@rpi-academic-discord/slithering-duck
- if: $CI_COMMIT_BRANCH == "master"
......@@ -11,8 +11,8 @@ from import DuckClient
class CppRef(Command):
names = ["cpp"]
description = "Sends a link to a cpp reference page, if it exists"
usage = "!usage [container/class/object] [(optional) member function]"
examples = "!usage vector push_back, !cpp sort"
usage = "!cpp [container/class/object] [(optional) member function]"
examples = f"!cpp vector push_back, !cpp sort"
async def execute_command(
self, client: DuckClient, msg: discord.Message, content: str
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment