Skip to content

Commit

Permalink
(╯°□°)╯︵ ┻━┻
Browse files Browse the repository at this point in the history
  • Loading branch information
Austin Hellyer committed Dec 19, 2016
1 parent 0984e36 commit 86bb46c
Show file tree
Hide file tree
Showing 4 changed files with 14 additions and 6 deletions.
2 changes: 1 addition & 1 deletion src/ext/voice/handler.rs
Original file line number Diff line number Diff line change
Expand Up @@ -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;
};
Expand Down
3 changes: 2 additions & 1 deletion src/ext/voice/threading.rs
Original file line number Diff line number Diff line change
Expand Up @@ -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
},
Expand Down
2 changes: 1 addition & 1 deletion src/internal/ws_impl.rs
Original file line number Diff line number Diff line change
Expand Up @@ -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)
}
Expand Down
13 changes: 10 additions & 3 deletions src/model/guild.rs
Original file line number Diff line number Diff line change
Expand Up @@ -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();
},
Expand All @@ -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);
}
}

Expand Down Expand Up @@ -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.
Expand Down

0 comments on commit 86bb46c

Please sign in to comment.