diff options
| author | alex <[email protected]> | 2017-05-08 06:59:48 +0200 |
|---|---|---|
| committer | zeyla <[email protected]> | 2017-05-07 21:59:48 -0700 |
| commit | 404a089af267c5d5c33025a3d74826e02b6f8ca1 (patch) | |
| tree | b90781f322748ac6aefc4629ccb9111204c9865e /src/ext/framework/command.rs | |
| parent | Fix guild leaving result (diff) | |
| download | serenity-404a089af267c5d5c33025a3d74826e02b6f8ca1.tar.xz serenity-404a089af267c5d5c33025a3d74826e02b6f8ca1.zip | |
Fix permissions when sending to DMs or groups
When performing an action on a DM Channel or Group, an arbitrary
permission check would always fail, causing the action to error out with
a lacking permissions error.
To fix this, just assume the action will always succeed.
Diffstat (limited to 'src/ext/framework/command.rs')
0 files changed, 0 insertions, 0 deletions