Skip to content

Commit

Permalink
Aktualisiere Befehl für Timer, um Start- und Stoppaktionen zu unterst…
Browse files Browse the repository at this point in the history
…ützen
  • Loading branch information
Jasper-Claus committed Apr 16, 2024
1 parent a42acff commit 70fd477
Showing 1 changed file with 15 additions and 4 deletions.
19 changes: 15 additions & 4 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -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:

Expand All @@ -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. |


0 comments on commit 70fd477

Please sign in to comment.