Terisback / discord.v

Discord Bot Framework written in V
MIT License
120 stars 12 forks source link

Update enum compares for explicit int compares to allow compiling. #12

Closed litenite42 closed 3 years ago

litenite42 commented 3 years ago

Commenting out guild_audit_log in rest.v was necessary as well. I was getting an error for no return value, but wasn't quite sure what to return at the end, so just commented it out. I can fix it in this PR if you know what you want there

Terisback commented 3 years ago

V is changing, huh

litenite42 commented 3 years ago

I'm not sure if the log.Level.error is needed or a parsing error, but imported enums weren't being recognized (w/o being fully stated) in the int cast. Wasn't trying to be overly verbose.