use super::*;
misc_cmd!(
SearchPostCommand,
SEARCH_POST_REG,
"im_search_post",
true,
|args, cmd| { Ok(("search/post", do_search_body(args, cmd)?)) }
);
misc_cmd!(
SearchUserCommand,
SEARCH_USER_REG,
"im_search_user",
true,
|args, cmd| { Ok(("search/user", do_search_body(args, cmd)?)) }
);
misc_cmd!(
SearchChannelCommand,
SEARCH_CHANNEL_REG,
"im_search_channel",
true,
|args, cmd| { Ok(("search/channel", do_search_body(args, cmd)?)) }
);
misc_cmd!(
SearchDoCommand,
SEARCH_DO_REG,
"im_search_do",
true,
|args, cmd| { Ok(("search/do", do_search_body(args, cmd)?)) }
);