diff options
| author | Fuwn <[email protected]> | 2020-11-05 10:39:57 -0800 |
|---|---|---|
| committer | Fuwn <[email protected]> | 2020-11-05 10:39:57 -0800 |
| commit | 47187c8b34a9b0035a6b9d39a70959793aa6cf10 (patch) | |
| tree | c45a006e7886db00c00c06bfd248793e7acd9cc2 /src/modules | |
| parent | fix: mention handling where it should be handled (diff) | |
| download | dep-core-next-47187c8b34a9b0035a6b9d39a70959793aa6cf10.tar.xz dep-core-next-47187c8b34a9b0035a6b9d39a70959793aa6cf10.zip | |
fix: mention parsing
Diffstat (limited to 'src/modules')
| -rw-r--r-- | src/modules/commands/general/fun.rs | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/modules/commands/general/fun.rs b/src/modules/commands/general/fun.rs index eb3c1e1..fbcd7d5 100644 --- a/src/modules/commands/general/fun.rs +++ b/src/modules/commands/general/fun.rs @@ -34,6 +34,8 @@ impl Command for Clapify { message.channel_id.say(MENTION_FAIL)?; return Ok(()) } + // let mentions = message.mentions.len().to_owned(); + // println!("Mentions: {:?}, Content: {:?}", mentions, message.content); let to_say = args; let clapped = to_say.replace(" ", "🙏"); |