From 70fd4777f88e3ca1c5723a513ac4d0684c31b7f8 Mon Sep 17 00:00:00 2001 From: Jasper Claus <97516104+Jasper-Claus@users.noreply.github.com> Date: Wed, 17 Apr 2024 00:34:52 +0200 Subject: [PATCH] =?UTF-8?q?Aktualisiere=20Befehl=20f=C3=BCr=20Timer,=20um?= =?UTF-8?q?=20Start-=20und=20Stoppaktionen=20zu=20unterst=C3=BCtzen?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- README.md | 19 +++++++++++++++---- 1 file changed, 15 insertions(+), 4 deletions(-) diff --git a/README.md b/README.md index 68839b6..3b9aede 100644 --- a/README.md +++ b/README.md @@ -4,6 +4,15 @@ This Discord bot was developed with Node JS to practice programming and testing # The Challenge The challenge is to program another 'slash' command within 30 minutes. If the command works, create a pull request. So get started and expand the bot according to your ideas. I look forward to your ideas. + +# ´/commands` for the discord-bot` + +| Command | Description | +| ------- | ----------- | +| /ping | Responds with "Pong". This is a simple test command to check if the bot is responding. | +| /user | Returns information about the calling user. Depending on the implementation, this can include the username, ID, role, and other relevant information. | +| /timer | Starts, stops, or checks a timer. `/timer start` starts the timer, `/timer stop` stops the timer and displays the elapsed time, and `/timer check` displays the currently elapsed time since the start of the timer. | + # Creating a new Slash Command To create a new slash command, you need to follow these steps: @@ -25,8 +34,10 @@ module.exports = { # ´/commands` for the discord-bot` -Command Description -/ping Responds with "Pong". This is a simple test command to check if the bot is responding. -/user Returns information about the calling user. Depending on the implementation, this can include the username, ID, role, and other relevant information. -/timer Starts, stops, or checks a timer. /timer start starts the timer, /timer stop stops the timer and displays the elapsed time, and /timer check displays the currently elapsed time since the start of the timer. +| Command | Description | +| ------- | ----------- | +| /ping | Responds with "Pong". This is a simple test command to check if the bot is responding. | +| /user | Returns information about the calling user. Depending on the implementation, this can include the username, ID, role, and other relevant information. | +| /timer | Starts, stops, or checks a timer. `/timer start` starts the timer, `/timer stop` stops the timer and displays the elapsed time, and `/timer check` displays the currently elapsed time since the start of the timer. | +