Rapptz
44a44e938f
Reformat entire project with ruff instead of black
10 months ago
Rapptz
4f539b710f
Fix type errors in all examples
10 months ago
Rapptz
8591cfc5e7
Run black on all examples and require it for CI
4 years ago
Josh
a1c618215e
[commads] Change cog/extension load/unload methods to be async
4 years ago
Austin
5780ff5ef0
Add message content intent to examples
4 years ago
pikaninja
caa9512a8a
Make on_ready examples consistent
5 years ago
pikaninja
1952060e1a
make examples on_ready consistent
5 years ago
Rapptz
99fc950510
Use f-strings in more places that were missed.
5 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`.
5 years ago
Geroyuni
8db7b5eb19
Fix volume command in basic voice example
source.volume takes floating point percentages, e.g. 1.0 for 100%
7 years ago
Rapptz
caf3d17d4a
Rework entire cog system and partially document it and extensions.
7 years ago
PikalaxALT
7891afcec8
Remove deprecated ffmpeg/avconv flag from basic_voice example
8 years ago
Daniel
27063a91c7
Improve basic_voice example
Add stream option and command so we don't always have to download a file
Move repeated voice check code to before_invoke hook
Add typing indicators when making YTDLSources
8 years ago
Daniel
6f42a5f2ec
Fixed broken code
I should have tested it.
9 years ago
Daniel
a037d469d7
Add basic rewrite voice example
9 years ago