Skip to content

Commit

Permalink
feat: add set unique leaderboard command (#109)
Browse files Browse the repository at this point in the history
  • Loading branch information
HenrySpartGlobal authored Jul 30, 2024
1 parent 554c905 commit c532001
Showing 1 changed file with 20 additions and 9 deletions.
29 changes: 20 additions & 9 deletions src/data/commands.ts
Original file line number Diff line number Diff line change
Expand Up @@ -9,10 +9,10 @@ const commands = [
"/reset leaderboard",
"/reset user [member]",
"/reset queue [gameid]",
"/reset mmr [member](optional)"
"/reset mmr (member) (queue_channel)"
],
"examples": [
"/reset leaderboard",
"/reset leaderboard #pro-queue",
"/reset user @John",
"/reset queue 03134ff5",
"/reset mmr @John"
Expand Down Expand Up @@ -370,7 +370,7 @@ const commands = [
"type": "Admin",
"description": "Increase a members MMR by an approximate percentage %",
"usage": [
"/mmr add [member] [percentage]",
"/mmr add [member] [percentage] (queue_channel) ",
],
"examples": [
"/mmr add @Faker 100",
Expand All @@ -381,7 +381,7 @@ const commands = [
"type": "Admin",
"description": "Decrease a members MMR by an approximate percentage %",
"usage": [
"/mmr remove [member] [percentage]",
"/mmr remove [member] [percentage] (queue_channel)",
],
"examples": [
"/mmr remove @Faker 100",
Expand All @@ -403,7 +403,7 @@ const commands = [
"type": "Admin",
"description": "Check and display enabled InHouseQueue permissions in a specific channel",
"usage": [
"/check_permissions [#channelname] (optional)",
"/check_permissions (#channelname)",
],
"examples": [
"/check_permissions #general",
Expand Down Expand Up @@ -634,7 +634,7 @@ const commands = [
"type": "Admin",
"description": "Adjust a players starting MMR",
"usage": [
"/mmr set_starting [player] [mmr] [game]",
"/mmr set_starting [player] [mmr] [game] (queue_channel)",
],
"examples": [
"/mmr set_starting @Faker ~4000 League of Legends",
Expand Down Expand Up @@ -806,6 +806,17 @@ const commands = [
"/queue duo_mmr_limit 2000 #queue"
]
},
{
"name": "queue set_unique_leaderboard",
"type": "Admin",
"description": "Set a queue channel to have its own individual leaderboard",
"usage": [
"/queue set_unique_leaderboard [queue_channel] [game]"
],
"examples": [
"/queue set_unique_leaderboard #queue Custom",
]
},

// ~ Set-up
{
Expand Down Expand Up @@ -908,7 +919,7 @@ const commands = [
"type": "General",
"description": "Display a specific leaderboard.",
"usage": [
"/leaderboard [game] [options]"
"/leaderboard [game] [options] (queue_channel)"
],
"examples": [
"/leaderboard lol mmr",
Expand All @@ -921,10 +932,10 @@ const commands = [
"type": "General",
"description": "Display a player's rank in the server.",
"usage": [
"/rank [game] [user]"
"/rank [game] [user] (queue_channel)"
],
"examples": [
"/rank lol Faker"
"/rank lol Faker (queue_channel)"
]
},
{
Expand Down

0 comments on commit c532001

Please sign in to comment.