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