Skip to content

Commit

Permalink
Merge pull request #47 from HenrySpartGlobal/newbanner
Browse files Browse the repository at this point in the history
fix: add new purge commands
  • Loading branch information
HenrySpartGlobal authored Sep 17, 2023
2 parents f2f3a48 + 2643c0f commit 3e9410c
Showing 1 changed file with 29 additions and 7 deletions.
36 changes: 29 additions & 7 deletions src/data/commands.ts
Original file line number Diff line number Diff line change
Expand Up @@ -65,7 +65,7 @@ const commands = [
{
"name": "sbmm",
"type": "Admin",
"description": "Enable/Disable Skill",
"description": "Toggle Skill",
"usage": [
"/sbmm [options]"
],
Expand Down Expand Up @@ -120,7 +120,7 @@ const commands = [
{
"name": "duo_queue",
"type": "Admin",
"description": "Enable/Disable Duo queuing",
"description": "Toggle Duo queuing",
"usage": [
"/duo_queue [options]"
],
Expand All @@ -140,14 +140,25 @@ const commands = [
]
},
{
"name": "reset_db",
"name": "purge_user",
"type": "Admin",
"description": "Remove a member who has left the server from the database",
"usage": [
"/reset_db [userid]"
"/purge_user [userid]"
],
"examples": [
"/reset_db 12345678912312"
"/purge_user 12345678912312"
]
},
{
"name": "purge_inactive",
"type": "Admin",
"description": "Purge anyone from the leaderboard with 0 wins, 0 losses, and 0 MVP points.",
"usage": [
"/purge_inactive"
],
"examples": [
"/purge_inactive"
]
},
{
Expand Down Expand Up @@ -253,14 +264,25 @@ const commands = [
{
"name": "feature",
"type": "Admin",
"description": "Enable/Disable certain features",
"description": "Toggle certain features",
"usage": [
"/feature [condition] [feature]",
],
"examples": [
"/feature True MVP Voting",
]
},
{
"name": "captain_queue",
"type": "Admin",
"description": "Toggle Captain mode",
"usage": [
"/captain_queue [condition]",
],
"examples": [
"/captain_queue True",
]
},

// ~ Set-up
{
Expand Down Expand Up @@ -310,7 +332,7 @@ const commands = [
{
"name": "test_mode",
"type": "Set-Up",
"description": "Enable/Disable Test mode",
"description": "Toggle Test mode",
"usage": [
"/test_mode [options]"
],
Expand Down

1 comment on commit 3e9410c

@vercel
Copy link

@vercel vercel bot commented on 3e9410c Sep 17, 2023

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Please sign in to comment.