i have not committed in years
diff --git a/src/utils/generateKeyValueList.ts b/src/utils/generateKeyValueList.ts
index b3e276f..c9eb0c8 100644
--- a/src/utils/generateKeyValueList.ts
+++ b/src/utils/generateKeyValueList.ts
@@ -5,7 +5,14 @@
export function capitalize(s: string) {
s = s.replace(/([A-Z])/g, ' $1');
- return forceCaps.includes(s.toUpperCase()) ? s.toUpperCase() : s[0].toUpperCase() + s.slice(1).toLowerCase();
+ return forceCaps.includes(s.toUpperCase()) ? s.toUpperCase() : s[0]
+ .toUpperCase() + s.slice(1)
+ .toLowerCase()
+ .replace("discord", "Discord");
+}
+
+export function toCapitals(s: string) {
+ return s[0].toUpperCase() + s.slice(1).toLowerCase();
}
function keyValueList(data) {