wrap expr call in braces
This commit is contained in:
parent
4b7a981a88
commit
b7bb17a42c
1 changed files with 3 additions and 1 deletions
|
@ -5,7 +5,9 @@ use serenity::async_trait;
|
||||||
use serenity::model::channel::Message;
|
use serenity::model::channel::Message;
|
||||||
use serenity::prelude::{Context, EventHandler};
|
use serenity::prelude::{Context, EventHandler};
|
||||||
|
|
||||||
simple_responder!(FufufuResponder, r"(?:[fF][uU]){3,}", (get_desu()));
|
// Yes, the blocks are necessary, rustc is bugged; check macro declaration
|
||||||
|
// for more info.
|
||||||
|
simple_responder!(FufufuResponder, r"(?:[fF][uU]){3,}", { get_desu() });
|
||||||
|
|
||||||
const DESU_STRINGS: &[&str] = &[
|
const DESU_STRINGS: &[&str] = &[
|
||||||
"です。",
|
"です。",
|
||||||
|
|
Loading…
Reference in a new issue