From 492331c97b79238e1987e10fbf7c19de0477ee4e Mon Sep 17 00:00:00 2001 From: Henry Date: Mon, 3 Jul 2023 17:47:41 +0100 Subject: [PATCH 1/5] feat: update metadata --- src/app/layout.tsx | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/app/layout.tsx b/src/app/layout.tsx index 26b4860..6169ece 100644 --- a/src/app/layout.tsx +++ b/src/app/layout.tsx @@ -19,7 +19,7 @@ export const metadata: Metadata = { viewport: "width=device-width, initial-scale=1", themeColor: config.theme?.colors?.primary as string, description: - "In-House Queue: A Discord Bot designed to organize In-House custom games for League of Legends, Overwatch, and Valorant.", + "In-House Queue: A Discord Bot designed to organize In-House custom games", twitter: { card: "summary_large_image", }, @@ -27,7 +27,7 @@ export const metadata: Metadata = { openGraph: { title: "In-House Queue", description: - "In-House Queue: A Discord Bot designed to organize In-House custom games for League of Legends, Overwatch, and Valorant.", + "In-House Queue: A Discord Bot designed to organize In-House custom games", images: [ { url: banner.src, From f0d855d1b217bd03aca4c69034154a59a0f40149 Mon Sep 17 00:00:00 2001 From: Henry Date: Fri, 21 Jul 2023 20:33:12 +0100 Subject: [PATCH 2/5] feat: add new command for mmr --- src/data/commands.ts | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) diff --git a/src/data/commands.ts b/src/data/commands.ts index 89fd6fa..2b3820e 100644 --- a/src/data/commands.ts +++ b/src/data/commands.ts @@ -4,16 +4,19 @@ const commands = [ { "name": "reset", "type": "Admin", - "description": "Reset scores of an individual or the entire server. Remove everyone from a queue.", + "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 queue [gameid]", + "/admin reset mmr [member](optional)" + ] ], "examples": [ "/admin reset leaderboard", "/admin reset user @John", "/admin reset queue 03134ff5" + "/admin reset mmr @John" ] }, { From d8ae9de944195826172dd605b236b8d65692e277 Mon Sep 17 00:00:00 2001 From: Henry Date: Fri, 21 Jul 2023 20:37:08 +0100 Subject: [PATCH 3/5] fix: add missing comma --- src/data/commands.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/data/commands.ts b/src/data/commands.ts index 2b3820e..03d63a0 100644 --- a/src/data/commands.ts +++ b/src/data/commands.ts @@ -15,7 +15,7 @@ const commands = [ "examples": [ "/admin reset leaderboard", "/admin reset user @John", - "/admin reset queue 03134ff5" + "/admin reset queue 03134ff5", "/admin reset mmr @John" ] }, From b96bb5ac8ce65b4568f5b38e2ddce21103434854 Mon Sep 17 00:00:00 2001 From: Henry Date: Mon, 4 Sep 2023 09:57:36 +0100 Subject: [PATCH 4/5] fix: fix broken square bracket --- src/data/commands.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/data/commands.ts b/src/data/commands.ts index 03d63a0..88b82cc 100644 --- a/src/data/commands.ts +++ b/src/data/commands.ts @@ -11,7 +11,7 @@ const commands = [ "/admin reset queue [gameid]", "/admin reset mmr [member](optional)" ] - ], + }, "examples": [ "/admin reset leaderboard", "/admin reset user @John", From 246d58a0d28c726ef29c7aba2318ec27e7480904 Mon Sep 17 00:00:00 2001 From: Henry Date: Mon, 4 Sep 2023 10:00:52 +0100 Subject: [PATCH 5/5] fix: fix broken square bracket --- src/data/commands.ts | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/src/data/commands.ts b/src/data/commands.ts index 88b82cc..365486d 100644 --- a/src/data/commands.ts +++ b/src/data/commands.ts @@ -10,8 +10,7 @@ const commands = [ "/admin reset user [member]", "/admin reset queue [gameid]", "/admin reset mmr [member](optional)" - ] - }, + ], "examples": [ "/admin reset leaderboard", "/admin reset user @John",