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
Description
There is currently no systemic way of performing testing since spoofing the state of the discord client is difficult. This might not be necessary. Instead, a !test command that can be run only by bot admins can be added. The arguments to a command can be created easily (see here) and read in from a file. From there, the Context and Message can be used used as a proxy for calls to the other commands.
Note: This can't really be used in a CI environment. But it's better than nothing, and more stable that spoofing the client.
The text was updated successfully, but these errors were encountered:
Description
There is currently no systemic way of performing testing since spoofing the state of the discord client is difficult. This might not be necessary. Instead, a
!test
command that can be run only by bot admins can be added. The arguments to a command can be created easily (see here) and read in from a file. From there, theContext
andMessage
can be used used as a proxy for calls to the other commands.Note: This can't really be used in a CI environment. But it's better than nothing, and more stable that spoofing the client.
The text was updated successfully, but these errors were encountered: