spike-2 / Spike-2

Server specific Discord bot
https://spike-2.github.io
1 stars 0 forks source link

Check for member obj before verifying; prettier formatting #35

Closed brandoningli closed 3 years ago

brandoningli commented 3 years ago

Related bugs/feature requests

Describe the changes

Check for member object before looking for role when verifying user. I suspect the error that prompted this fix was due to a webhook firing, which may not have a member object.

Expected behavior

Screenshots

New npm dependencies

Testing Instructions

Additional context