diff options
| author | Austin Hellyer <[email protected]> | 2016-12-19 11:23:26 -0800 |
|---|---|---|
| committer | Austin Hellyer <[email protected]> | 2016-12-19 11:23:26 -0800 |
| commit | 86bb46c14088516c5e52a2cd0607b7ae33b50898 (patch) | |
| tree | 9db3d83666073b59b26944e1eb282c16b38a0307 /src/model | |
| parent | Clarify command missing argument message (diff) | |
| download | serenity-86bb46c14088516c5e52a2cd0607b7ae33b50898.tar.xz serenity-86bb46c14088516c5e52a2cd0607b7ae33b50898.zip | |
(╯°□°)╯︵ ┻━┻
Diffstat (limited to 'src/model')
| -rw-r--r-- | src/model/guild.rs | 13 |
1 files changed, 10 insertions, 3 deletions
diff --git a/src/model/guild.rs b/src/model/guild.rs index e136ccc..3a45b3a 100644 --- a/src/model/guild.rs +++ b/src/model/guild.rs @@ -611,7 +611,9 @@ impl Guild { let everyone = match self.roles.get(&RoleId(self.id.0)) { Some(everyone) => everyone, None => { - error!("@everyone role ({}) missing in {}", self.id, self.name); + error!("(╯°□°)╯︵ ┻━┻ @everyone role ({}) missing in '{}'", + self.id, + self.name); return Permissions::empty(); }, @@ -629,7 +631,10 @@ impl Guild { if let Some(role) = self.roles.get(&role) { permissions |= role.permissions; } else { - warn!("perms: {:?} on {:?} has non-existent role {:?}", member.user.id, self.id, role); + warn!("(╯°□°)╯︵ ┻━┻ {} on {} has non-existent role {:?}", + member.user.id, + self.id, + role); } } @@ -672,7 +677,9 @@ impl Guild { permissions = (permissions & !overwrite.deny) | overwrite.allow; } } else { - warn!("Guild {} does not contain channel {}", self.id, channel_id); + warn!("(╯°□°)╯︵ ┻━┻ Guild {} does not contain channel {}", + self.id, + channel_id); } // The default channel is always readable. |