Skip to content

Commit

Permalink
Merge pull request #46 from HenrySpartGlobal/newbanner
Browse files Browse the repository at this point in the history
fix: remove admin prefix from all commands
  • Loading branch information
HenrySpartGlobal authored Sep 10, 2023
2 parents 9235fe3 + 455fe0a commit f2f3a48
Showing 1 changed file with 57 additions and 57 deletions.
114 changes: 57 additions & 57 deletions src/data/commands.ts
Original file line number Diff line number Diff line change
Expand Up @@ -6,126 +6,126 @@ const commands = [
"type": "Admin",
"description": "Reset scores or MMR of an individual or the entire server. Remove everyone from a queue.",
"usage": [
"/admin reset leaderboard",
"/admin reset user [member]",
"/admin reset queue [gameid]",
"/admin reset mmr [member](optional)"
"/reset leaderboard",
"/reset user [member]",
"/reset queue [gameid]",
"/reset mmr [member](optional)"
],
"examples": [
"/admin reset leaderboard",
"/admin reset user @John",
"/admin reset queue 03134ff5",
"/admin reset mmr @John"
"/reset leaderboard",
"/reset user @John",
"/reset queue 03134ff5",
"/reset mmr @John"
]
},
{
"name": "void",
"type": "Admin",
"description": "Purge all records of a game. Used if players get \"stuck\" in a match and cannot queue.",
"usage": [
"/admin void [gameid]"
"/void [gameid]"
],
"examples": [
"/admin void 03134ff5"
"/void 03134ff5"
]
},
{
"name": "change_winner",
"type": "Admin",
"description": "Change the results of a finished game.",
"usage": [
"/admin change_winner [gameid] [team]"
"/change_winner [gameid] [team]"
],
"examples": [
"/admin change_winner 03134ff5 Red"
"/change_winner 03134ff5 Red"
]
},
{
"name": "winner",
"type": "Admin",
"description": "Set a winner for an ongoing game without requiring a vote.",
"usage": [
"/admin winner [role]"
"/winner [role]"
],
"examples": [
"/admin winner @Red: 316d8cc7"
"/winner @Red: 316d8cc7"
]
},
{
"name": "queue_preference",
"type": "Admin",
"description": "Decide if players can be in multiple queues at once.",
"usage": [
"/admin queue_preference [options] "
"/queue_preference [options] "
],
"examples": [
"/admin queue_preference Single Queue"
"/queue_preference Single Queue"
]
},
{
"name": "sbmm",
"type": "Admin",
"description": "Enable/Disable Skill",
"usage": [
"/admin sbmm [options]"
"/sbmm [options]"
],
"examples": [
"/admin sbmm Disable"
"/sbmm Disable"
]
},
{
"name": "cancel",
"type": "Admin",
"description": "Cancel an ongoing match",
"usage": [
"/admin cancel [gameid]"
"/cancel [gameid]"
],
"examples": [
"/admin cancel 03134ff5"
"/cancel 03134ff5"
]
},
{
"name": "grant",
"type": "Admin",
"description": "Give a Discord role the permissions to run a specific admin command",
"usage": [
"/admin grant [role] [command]"
"/grant [role] [command]"
],
"examples": [
"/admin grant @Moderators queue reset"
"/grant @Moderators queue reset"
]
},
{
"name": "revoke",
"type": "Admin",
"description": "Remove the admin command from a discord role you previously set",
"usage": [
"/admin revoke [role] [command]"
"/revoke [role] [command]"
],
"examples": [
"/admin revoke @Moderators queue reset"
"/revoke @Moderators queue reset"
]
},
{
"name": "user_dequeue",
"type": "Admin",
"description": "Remove single user from an ongoing queue",
"usage": [
"/admin user_dequeue [member]"
"/user_dequeue [member]"
],
"examples": [
"/admin user_dequeue @John"
"/user_dequeue @John"
]
},
{
"name": "duo_queue",
"type": "Admin",
"description": "Enable/Disable Duo queuing",
"usage": [
"/admin duo_queue [options]"
"/duo_queue [options]"
],
"examples": [
"/admin duo_queue Enable"
"/duo_queue Enable"
]
},
{
Expand All @@ -144,121 +144,121 @@ const commands = [
"type": "Admin",
"description": "Remove a member who has left the server from the database",
"usage": [
"/admin reset_db [userid]"
"/reset_db [userid]"
],
"examples": [
"/admin reset_db 12345678912312"
"/reset_db 12345678912312"
]
},
{
"name": "update_ign",
"type": "Admin",
"description": "Update the IGN of any player",
"usage": [
"/admin update_ign [ign] [member] [game]"
"/update_ign [ign] [member] [game]"
],
"examples": [
"/admin update_ign Faker John League of Legends"
"/update_ign Faker John League of Legends"
]
},
{
"name": "require",
"type": "Admin",
"description": "Set queue requirements based on the specified options",
"usage": [
"/admin require [condition] [game] [feature]"
"/require [condition] [game] [feature]"
],
"examples": [
"/admin require True League of Legends IGN",
"/admin require True League of Legends Character Required"
"/require True League of Legends IGN",
"/require True League of Legends Character Required"
]
},
{
"name": "update_character",
"type": "Admin",
"description": "Add/update the champion, hero or agent a member has played",
"usage": [
"/admin update_character [name] [gameid] [member] [game]"
"/update_character [name] [gameid] [member] [game]"
],
"examples": [
"/admin update_character Teemo 03134ff5 @iHenners League of Legends"
"/update_character Teemo 03134ff5 @iHenners League of Legends"
]
},
{
"name": "queue_role",
"type": "Admin",
"description": "Users must have this role before being able to queue",
"usage": [
"/admin queue_role [role] [game]"
"/queue_role [role] [game]"
],
"examples": [
"/admin queue_role @InHouseQueue League of Legends"
"/queue_role @InHouseQueue League of Legends"
]
},
{
"name": "fill",
"type": "Admin",
"description": "Enable Fill. Players queueing fill will be assigned a random available role",
"usage": [
"/admin fill [condition]"
"/fill [condition]"
],
"examples": [
"/admin fill True"
"/fill True"
]
},
{
"name": "casual",
"type": "Admin",
"description": "Enable Casual mode. No predefined roles, just 1 queue button for quick casual InHouse games",
"usage": [
"/admin casual [condition]"
"/casual [condition]"
],
"examples": [
"/admin casual True"
"/casual True"
]
},
{
"name": "force_start",
"type": "Admin",
"description": "Forces the game to start once the ready-up phase has begun",
"usage": [
"/admin force_start [gameid]",
"/force_start [gameid]",
],
"examples": [
"/admin force_start 03134ff5",
"/force_start 03134ff5",
]
},
{
"name": "schedule",
"type": "Admin",
"description": "Schedule when the queue opens and closes automatically (Timezones: UTC, EST, EDT)",
"usage": [
"/admin schedule",
"/schedule",
],
"examples": [
"/admin schedule",
"/schedule",
]
},
{
"name": "delete_schedule",
"type": "Admin",
"description": "Delete a previously set schedule",
"usage": [
"/admin delete_schedule",
"/delete_schedule",
],
"examples": [
"/admin delete_schedule",
"/delete_schedule",
]
},
{
"name": "feature",
"type": "Admin",
"description": "Enable/Disable certain features",
"usage": [
"/admin feature [condition] [feature]",
"/feature [condition] [feature]",
],
"examples": [
"/admin feature True MVP Voting",
"/feature True MVP Voting",
]
},

Expand All @@ -268,10 +268,10 @@ const commands = [
"type": "Set-Up",
"description": "Setup your server Automatically!",
"usage": [
"/admin setup [game]"
"/setup [game]"
],
"examples": [
"/admin setup Overwatch"
"/setup Overwatch"
]
},
{
Expand Down Expand Up @@ -301,21 +301,21 @@ const commands = [
"type": "Set-Up",
"description": "Set up a Dynamic top ten leaderboard",
"usage": [
"/admin top_ten [#channelname] [game]"
"/top_ten [#channelname] [game]"
],
"examples": [
"/admin top_ten #leaderboard Overwatch"
"/top_ten #leaderboard Overwatch"
]
},
{
"name": "test_mode",
"type": "Set-Up",
"description": "Enable/Disable Test mode",
"usage": [
"/admin test_mode [options]"
"/test_mode [options]"
],
"examples": [
"/admin test_mode True"
"/test_mode True"
]
},

Expand Down

1 comment on commit f2f3a48

@vercel
Copy link

@vercel vercel bot commented on f2f3a48 Sep 10, 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.