Describe the bug
If someone uses "!build" with spaces in the name of the channel, discord replaces the spaces with "-". The bot is looking for the channel name with spaces, which causes issues.
To Reproduce
Steps to reproduce the behavior:
With "Home Builder" role, type "!build this is a test"
the channel will be created and a role assigned, but it will not be added to database, and home owner will not be rebuilt
Expected behavior
Channel creation, role addition, database entry added, homebuilder role removed
Additional context
Easy fix. will just have bot replace spaces with dashes.
Describe the bug If someone uses "!build" with spaces in the name of the channel, discord replaces the spaces with "-". The bot is looking for the channel name with spaces, which causes issues.
To Reproduce Steps to reproduce the behavior:
Expected behavior Channel creation, role addition, database entry added, homebuilder role removed
Additional context Easy fix. will just have bot replace spaces with dashes.