You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
At the moment each function itself is responsible for sending out the messages back to discord. Since initially I didn't plan making a command which returned a list of all commands and how to use them, this was no problem. However now that I have it the way it is, it spams the chat with multiple messages (like one command each message). Changes could be implemented where each function only returns String and I make an additional function which is responsible for basically sending that String "out". However the one concern that this leaves and why in the end the way I'm doing it now might not be bad is that there is a max character limit of 2000 so if I ever expand on the commands the 'command-list' command might run out of characters and fail or send a .txt instead (behavior unclear). The info could maybe be packed into an embed though I have no idea what sort of restrictions apply there.
The text was updated successfully, but these errors were encountered:
At the moment each function itself is responsible for sending out the messages back to discord. Since initially I didn't plan making a command which returned a list of all commands and how to use them, this was no problem. However now that I have it the way it is, it spams the chat with multiple messages (like one command each message). Changes could be implemented where each function only returns String and I make an additional function which is responsible for basically sending that String "out". However the one concern that this leaves and why in the end the way I'm doing it now might not be bad is that there is a max character limit of 2000 so if I ever expand on the commands the 'command-list' command might run out of characters and fail or send a .txt instead (behavior unclear). The info could maybe be packed into an embed though I have no idea what sort of restrictions apply there.
The text was updated successfully, but these errors were encountered: