SGA-A / c2c

Source code for the custom app exclusive to cc, where most interactions begin and end.
MIT License
2 stars 0 forks source link

Remove use of `can_call_out` #100

Closed SGA-A closed 2 months ago

SGA-A commented 2 months ago

Is your feature request related to a problem? Please describe. It is often unnecessary to do this because we can simply determine this by doing the normal execution of the command itself. If the value when returned is NoneType then we know that user is not registered. Checking for this instead saves another query to the API and is more efficient.

Describe the solution you'd like Remove all uses of can_call_out, just check for NoneType(s) when making queries normally.

Describe alternatives you've considered None.