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

Move DeleteMessageAsync from IMessageChannel to ITextChannel #829

Merged
merged 1 commit into from Oct 1, 2017

Conversation

AntiTcb
Copy link
Collaborator

@AntiTcb AntiTcb commented Sep 28, 2017

Breaking Change: DeleteMessagesAsync() has been removed from IMessageChannel.


Per Discord's documentation, this endpoint is only valid for guild channels. Moving the method definition will prevent 403 errors on attempting this request on an invalid channel type.

Resolves #778.

@foxbot foxbot merged commit e00f17f into discord-net:dev Oct 1, 2017
FiniteReality pushed a commit to FiniteReality/Discord.Net that referenced this pull request May 5, 2018
@AntiTcb AntiTcb deleted the issues/778 branch October 19, 2018 16:23
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants