pycord icon indicating copy to clipboard operation
pycord copied to clipboard

Support files for interaction.send_message

Open BobDotCom opened this issue 5 years ago • 6 comments

Summary

Title explains it all

What is the feature request for?

The core library

The Problem

files cannot currently be sent in send_message

The Ideal Solution

add a files and file kwarg to interaction.send_message

The Current Solution

No response

Additional Context

No response

BobDotCom avatar Sep 15 '21 01:09 BobDotCom

I think this might be a discord limitation, though I might be wrong.

Grace-codes avatar Sep 15 '21 03:09 Grace-codes

The discord API docs don't list this as a field that they support, also it says that "Not all message fields are currently supported.".

esmaycat avatar Sep 15 '21 06:09 esmaycat

yes this is feature that needs to be added not discord limitation... i have the same problem

ritwick06 avatar Sep 15 '21 08:09 ritwick06

I think this might be a discord limitation, though I might be wrong.

I asked in the discord API server and was told that they can be sent

BobDotCom avatar Sep 15 '21 13:09 BobDotCom

That's great then, someone can remove the discord limitation label I guess.

Grace-codes avatar Sep 15 '21 13:09 Grace-codes

I think this might be a discord limitation, though I might be wrong.

Seems like I was wrong, it is possible. Refer: https://github.com/discord/discord-api-docs/discussions/3799

Grace-codes avatar Sep 16 '21 07:09 Grace-codes