Reiningecho90 / chances-discord-bot-public

Public repository for the Chances Discord Bot.
MIT License
1 stars 0 forks source link

Battle Function Bug #22

Closed Reiningecho90 closed 2 years ago

Reiningecho90 commented 2 years ago

Your bug (What bug you found): The ':battlestart' command without numbers does not give an error output in the Discord text channel.

Potential fixes (Optional, write a potential fix): Use of a try: except: statement with an added embed to send to the user either in the text channel or in private DM would warn the person starting the battle that they have to input two numbers.

Operating System (What OS you are using): Windows 10

Additional Notes (Any additional notes about the issue): None

Reiningecho90 commented 2 years ago

Fixed with a try: except: statement. It will be rolled out for the first time with the Valentines update (1.3.1). Any further issues will be addressed as needed, anything minor that comes up will also be addressed under 1.3.1.