From bf2066278e872a86da64ef4d4ce95dfaf8baf4e7 Mon Sep 17 00:00:00 2001 From: Rapptz Date: Sat, 8 Apr 2017 03:17:30 -0400 Subject: Add support for multiple file attachments. This is a breaking change. No longer does Messageable.send have a filename keyword argument, instead this is all handled through the discord.File model. To upload many files you must specify a list of discord.File objects. --- docs/api.rst | 6 ++++++ 1 file changed, 6 insertions(+) (limited to 'docs/api.rst') diff --git a/docs/api.rst b/docs/api.rst index 6da9c1ed..6581cc97 100644 --- a/docs/api.rst +++ b/docs/api.rst @@ -827,6 +827,12 @@ Embed .. autoclass:: Embed :members: +File +~~~~~ + +.. autoclass:: File + :members: + CallMessage ~~~~~~~~~~~~ -- cgit v1.2.3