aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorAustin Hellyer <[email protected]>2016-12-19 11:23:26 -0800
committerAustin Hellyer <[email protected]>2016-12-19 11:23:26 -0800
commit86bb46c14088516c5e52a2cd0607b7ae33b50898 (patch)
tree9db3d83666073b59b26944e1eb282c16b38a0307 /src
parentClarify command missing argument message (diff)
downloadserenity-86bb46c14088516c5e52a2cd0607b7ae33b50898.tar.xz
serenity-86bb46c14088516c5e52a2cd0607b7ae33b50898.zip
(╯°□°)╯︵ ┻━┻
Diffstat (limited to 'src')
-rw-r--r--src/ext/voice/handler.rs2
-rw-r--r--src/ext/voice/threading.rs3
-rw-r--r--src/internal/ws_impl.rs2
-rw-r--r--src/model/guild.rs13
4 files changed, 14 insertions, 6 deletions
diff --git a/src/ext/voice/handler.rs b/src/ext/voice/handler.rs
index e9e5cd6..05f977d 100644
--- a/src/ext/voice/handler.rs
+++ b/src/ext/voice/handler.rs
@@ -261,7 +261,7 @@ impl Handler {
channel_id.0
} else {
// Theoretically never happens? This needs to be researched more.
- error!("[Voice] No guild/channel ID when connecting");
+ error!("(╯°□°)╯︵ ┻━┻ No guild/channel ID when connecting");
return;
};
diff --git a/src/ext/voice/threading.rs b/src/ext/voice/threading.rs
index 8d3599b..0aaafba 100644
--- a/src/ext/voice/threading.rs
+++ b/src/ext/voice/threading.rs
@@ -73,7 +73,8 @@ fn runner(rx: MpscReceiver<Status>) {
match cycle {
Ok(()) => false,
Err(why) => {
- error!("[Voice] Error updating connection: {:?}", why);
+ error!("(╯°□°)╯︵ ┻━┻ Error updating connection: {:?}",
+ why);
true
},
diff --git a/src/internal/ws_impl.rs b/src/internal/ws_impl.rs
index 9fd2e2d..abae6b9 100644
--- a/src/internal/ws_impl.rs
+++ b/src/internal/ws_impl.rs
@@ -37,7 +37,7 @@ impl ReceiverExt for Receiver<WebSocketStream> {
Err(why) => {
let s = String::from_utf8_lossy(&message.payload);
- warn!("Error decoding: {}", s);
+ warn!("(╯°□°)╯︵ ┻━┻ Error decoding: {}", s);
Err(why)
}
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.