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
Tried to make the "Command" struct have a function that is called every time the command is triggered. The params are the same: user and room. And the return is a Result. The problem is that it is async, so I don't know how to get the type correct.
You can assume that all command triggers have the a function that are all the same type.
The text was updated successfully, but these errors were encountered:
What?
Tried to make the "Command" struct have a function that is called every time the command is triggered. The params are the same: user and room. And the return is a Result. The problem is that it is async, so I don't know how to get the type correct.
You can assume that all command triggers have the a function that are all the same type.
The text was updated successfully, but these errors were encountered: