greencoast-studios / discord.js-extended

A framework to facilitate the repetitive tasks when creating discord bots. Used by Greencoast Studios.
https://docs.greencoaststudios.com/discord.js-extended/
MIT License
1 stars 0 forks source link

Missing command alias existance verification. #25

Closed moonstar-x closed 2 years ago

moonstar-x commented 3 years ago

:bug: Describe the Bug

Currently, you can add a command's name as another command's alias and it will overriden by the command with that name. This means that the alias is effectively useless in that case.

You could also register a command that shares an alias with another one, which will be overriden by the one found first.

:confused: Expected Behavior

There should be a verification to see if the aliases being added are already registered.

moonstar-x commented 2 years ago

Fixed in #37.