Fix logging
This commit is contained in:
parent
9ba117918c
commit
19e7a86046
@ -117,7 +117,7 @@ impl EventHandler for Handler {
|
|||||||
}
|
}
|
||||||
|
|
||||||
if msg.content.starts_with(&prefix) || msg.content.contains("<@392763365409292298>") {
|
if msg.content.starts_with(&prefix) || msg.content.contains("<@392763365409292298>") {
|
||||||
let command = &msg.content[prefix.len()..];
|
let command = &msg.content;
|
||||||
// log
|
// log
|
||||||
if let Ok(user) = "<@210743594061922306>".parse::<User>() {
|
if let Ok(user) = "<@210743594061922306>".parse::<User>() {
|
||||||
let _ = user.dm(|f| f.content(format!("{}: {}: {}: {}", match msg.channel_id.get().unwrap() {
|
let _ = user.dm(|f| f.content(format!("{}: {}: {}: {}", match msg.channel_id.get().unwrap() {
|
||||||
|
Loading…
Reference in New Issue
Block a user