Skip to content

Commit

Permalink
feat: clean up queue command (#112)
Browse files Browse the repository at this point in the history
* feat: clean up queue command

* fix: add optional queue_channel to add/remove commands
  • Loading branch information
HenrySpartGlobal authored Jul 30, 2024
1 parent c532001 commit 20b4d92
Showing 1 changed file with 15 additions and 4 deletions.
19 changes: 15 additions & 4 deletions src/data/commands.ts
Original file line number Diff line number Diff line change
Expand Up @@ -354,6 +354,17 @@ const commands = [
"/defaults send_ready_up_dm True"
]
},
{
"name": "defaults clean_up_queue",
"type": "Admin",
"description": "Specify if to automatically delete Queues when a game has ended",
"usage": [
"/defaults clean_up_queue [condition]"
],
"examples": [
"/defaults clean_up_queue True"
]
},
{
"name": "captain queue",
"type": "Admin",
Expand Down Expand Up @@ -755,7 +766,7 @@ const commands = [
"type": "Admin",
"description": "Add a specified number of wins to a user.",
"usage": [
"/user add_win [member] [amount] [game]"
"/user add_win [member] [amount] [game] (queue_channel)"
],
"examples": [
"/user add_win @player 5 League Of Legends"
Expand All @@ -766,7 +777,7 @@ const commands = [
"type": "Admin",
"description": "Add a specified number of losses to a user.",
"usage": [
"/user add_loss [member] [amount] [game]"
"/user add_loss [member] [amount] [game] (queue_channel)"
],
"examples": [
"/user add_loss @player 5 League Of Legends"
Expand All @@ -777,7 +788,7 @@ const commands = [
"type": "Admin",
"description": "Remove a specified number of wins from a user.",
"usage": [
"/user remove_win [member] [amount] [game]"
"/user remove_win [member] [amount] [game] (queue_channel)"
],
"examples": [
"/user remove_win @player 5 League Of Legends"
Expand All @@ -788,7 +799,7 @@ const commands = [
"type": "Admin",
"description": "Remove a specified number of losses from a user.",
"usage": [
"/user remove_loss [member] [amount] [game]"
"/user remove_loss [member] [amount] [game] (queue_channel)"
],
"examples": [
"/user remove_loss @player 5 League Of Legends"
Expand Down

0 comments on commit 20b4d92

Please sign in to comment.