Azoy / Sword

Discord library for Swift
https://azoy.github.io/Sword
MIT License
179 stars 52 forks source link

Early audit log reason support! #14

Closed nullpixel closed 7 years ago

nullpixel commented 7 years ago

I was considering making this part of the kick & ban enum, but I decided against it since any admin action can have a reason attached.

This will allow users to specify who requested what on things such as channel create, which, if requested can be easily added.

Currently, I only added the optional reason parameter to ban, and removeMember, however, it is extremely easy to add support for other types of auditable action.

nullpixel commented 7 years ago

Yay