diff options
Diffstat (limited to 'src/utils/genCmdURL.ts')
| -rw-r--r-- | src/utils/genCmdURL.ts | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/utils/genCmdURL.ts b/src/utils/genCmdURL.ts index 4d658bc..0519de0 100644 --- a/src/utils/genCmdURL.ts +++ b/src/utils/genCmdURL.ts @@ -1 +1 @@ -module.exports = cmd => `/commands/${cmd.group.name.toLowerCase().replace(/\s/g, "-")}/${cmd.name}`;
\ No newline at end of file +module.exports = (cmd: { group: { name: string; }; name: any; }) => `/commands/${cmd.group.name.toLowerCase().replace(/\s/g, "-")}/${cmd.name}`;
\ No newline at end of file |