Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

送ったメッセージにReactを付ける #2

Open
crssnky opened this issue Oct 16, 2021 · 2 comments
Open

送ったメッセージにReactを付ける #2

crssnky opened this issue Oct 16, 2021 · 2 comments

Comments

@crssnky
Copy link
Member

crssnky commented Oct 16, 2021

No description provided.

@crssnky
Copy link
Member Author

crssnky commented Oct 16, 2021

pub async fn react(
&self,
cache_http: impl CacheHttp,
reaction_type: impl Into<ReactionType>,
) -> Result<Reaction>

を使い、serenity::model::channel::ReactionTypeを入れても

Http(UnsuccessfulRequest(ErrorResponse { status_code: 400, url: Url { scheme: "https", cannot_be_a_base: false, username: "", password: None, host: Some(Domain("discord.com")), port: None, path: "/api/v9/channels/<>/messages/<>/reactions/hotsprings:<>/@me", query: None, fragment: None }, error: DiscordJsonError { code: 10014, message: "Unknown Emoji", errors: [] } }))

となってしまう

@crssnky
Copy link
Member Author

crssnky commented Oct 16, 2021

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant