blord0
45945b6909
Incriment versionadded to 2.7
2 weeks ago
Rapptz
e00bb0b0f3
Change info directive to note
2 weeks ago
Rapptz
13d1fbee58
Add more detail to what filenames are allowed in File.uri
2 weeks ago
Rapptz
76258d071a
Add note for File.uri and ASCII only names
2 weeks ago
Rapptz
4854c56d58
Allow discord.File in places where UnfurledMediaItem or str are allowed
2 weeks ago
blord0
394b16ee50
Fix doc issues
1 month ago
blord0
8bea5c3aa9
Change waveform data to be input as a list of ints
1 month ago
blord0
0f3bc42878
Change TypeError to ValueError
1 month ago
blord0
bb4de89d5c
Calculate correct number of points per sample
1 month ago
blord0
dd2fd338b1
Formatting
1 month ago
blord0
8bc906e765
Add real generation of waveforms for Opus files
1 month ago
blord0
9936b0d216
Formatting change
1 month ago
blord0
e5cca7db92
Add File.voice attribute
1 month ago
blord0
3dd7f8fefb
Rename duation to duration
1 month ago
blord0
8332ca3f28
Move `VoiceMessageFile` into `File`
2 months ago
blord0
d1747b9efa
Doc fixes and made `duration` a required field
2 months ago
blord0
27bca43918
Remove unncessary code
2 months ago
blord0
eb623381a3
`size` method no longer needed
2 months ago
blord0
4a406832ed
Start cleaning up parts of the code
2 months ago
blord0
4480fea5d7
Add VoiceMessageFile class
2 months ago
Josh
4e03b170ef
Update pyright version
2 years ago
Rapptz
3ff88db768
Update pyright to 1.1.289
3 years ago
Rapptz
5c14149873
Fix filename spoiler stripping method
lstrip does not work as expected
3 years ago
will
2010b42f6a
[docs] Fix capitalization typo in spoiler parameter documentation
3 years ago
Josh
c11363f037
Rework File.spoiler to synchronise with the filename
Co-authored-by: Danny <Rapptz@users.noreply.github.com>
3 years ago
Stocker
5aa696ccfa
Fix typing issues and improve typing completeness across the library
Co-authored-by: Danny <Rapptz@users.noreply.github.com>
Co-authored-by: Josh <josh.ja.butt@gmail.com>
4 years ago
Rapptz
88b520b5ab
Reformat code using black
Segments where readability was hampered were fixed by appropriate
format skipping directives. New code should hopefully be black
compatible. The moment they remove the -S option is probably the moment
I stop using black though.
4 years ago
Josh
dede5539ee
Add support for editing message attachments
4 years ago
Josh
08bee0eeb6
Add support for file/attachment descriptions
4 years ago
Rapptz
fc66c5b92d
Fix some webhook related type checker errors
4 years ago
Rapptz
2e12f6de9c
Typehint File
4 years ago
Nadir Chowdhury
89456022cf
Add `__all__` to remaining modules
4 years ago
Rapptz
9d39b135f4
Modernize code to use f-strings
This also removes the encoding on the top, since Python 3 does it by
default. It also changes some methods to use `yield from`.
4 years ago
Josh
fce67c32c9
Add spoiler attribute to File
5 years ago
Nihaal Sangha
69bdc3a184
Change copyright year to present
5 years ago
TicClick
a4b20d08c3
Make File docstring raw for Python 3.9 compatibility
5 years ago
Sebastian Law
b4b953bfc6
Fix various inconsistencies within the documentation ( #5067 )
5 years ago
Rapptz
6071607176
Bump copyright year to 2020
Closes #2510
6 years ago
NCPlayz
3c9bcc2851
Improve documentation
6 years ago
Rapptz
5e65ec978c
Take back ownership of files from aiohttp for retrying requests.
Fix #1809
7 years ago
Dante Dam
9656a21ebe
Bumped copyright years to 2019.
7 years ago
Rapptz
93d576a65b
Add support for spoiler attachments.
7 years ago
Tobotimus
3112e1c17e
Add intersphinx
8 years ago
FrostLuma
e52532c06e
Fix File not using the filename if given
9 years ago
Rapptz
bf2066278e
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.
9 years ago