Dooley_labs
604ab73fce
Add gif integration to get_avatar_url ( #113 )
* Update user.py
Add proper gif integration to get_avatar_url
* Update user.py
Undid removal of size and webp
* Update user.py
This should keep everyone happy... hopefully 🤔
* Update user.py
Code cleanup as per z64
7 years ago
Dooley_labs
16ebf6375f
@everyone ( #114 )
Most bots have administrator perms, which means this little exploit allows the bot to `@everyone`. This fixes that. Thanks Xenthys.
7 years ago
Watchful1
e249099808
Update gevent to 1.3.6 to support python 3.7 ( #111 )
* Update requirements.txt
* Update import
* Update tests to run on 3.7
* Update .travis.yml
* Try workaround recommended here https://github.com/travis-ci/travis-ci/issues/9815
7 years ago
Kyriog
8c6ff6df86
Adding user_limit to Channel objects ( #110 )
7 years ago
Kyriog
cf34230a7a
Adding kwargs to scheduled functions ( #104 )
* Adding kwargs to scheduled functions
* Using kwargs as a dict for register_schedule
7 years ago
Dan
9cc7ca7000
voice receive support ( #101 )
* initial voice
* some updates
fixed it
* some style updates
replaced the speaking when joining with an actual client_connect event
* please pass
* replaced channel with client in VoiceData and VoiceSpeaking events
Also changed some voice sending stuff
* added more debug logs
* fixed version not being set on the voice gateway
7 years ago
Kyriog
4032094bd2
Adding API method for Get User endpoint ( #103 )
7 years ago
Andrei
ec7f0797a9
Fix the way HashMap.select() works
7 years ago
Kyriog
a5316bc6f2
Fix wrong permission assert for channel deletion ( #96 )
7 years ago
Justin Moore
3fad17a2b0
Add Channel.send_typing ( #97 )
7 years ago
Raphael Nepomuceno
e6563df50c
Fix IDs being strings on `bot.levels` setting. ( #93 )
Now, numeric IDs on said configuration are converted to ints, regardless
of the configuration format.
7 years ago
Naymin
e0209737c0
Fixed typo in documentation ( #91 )
7 years ago
andrei
2a116631b9
[voice] use IP from voice ready for UDP connection
7 years ago
andrei
65d651d3af
Fix bug related to `text` field
Previously under python 2.x the text field allowed through values which
would not be turned into a string. This is invalid as all output should
be a valid textual string. This commit fixes that behavior to properly
cast the value to a string in all cases.
7 years ago
Andrei
de5ae5155c
Add guild_id to events that now contain it
7 years ago
Kodie Goodwin
df6c363250
Allow removing content during message edit ( #88 )
7 years ago
andrei
49d0486b6b
Add xsalsa20_poly1305_lite voice encryption mode
7 years ago
Andrei
51576d2970
Fix various inconsistencies/bugs in cli.py
7 years ago
Andrei
90098c1c27
Cleanup the initialization of the builtin HTTP server
7 years ago
Andrei
5c28ee6508
Fix exception on some MessageUpdates when `commands_allow_edit` was enabled
7 years ago
Andrei
ce143d1da4
fix incorrect paren positioning from last commit
7 years ago
Andrei
eb6b22d93e
state listeners should use Priority.BEFORE
7 years ago
andrei
56d705a8f7
Release v0.0.12
I changed the format of the changelog as well, we'll see how this holds
up moving forward
7 years ago
PixeL
e1fcda0ffb
Set the ban reason in ban list as well ( #82 )
7 years ago
Andrei
7d1fe756ac
Release v0.0.12-rc.4
7 years ago
Andrei Zbikowski
88504f7aa6
Voice Gateway v3 ( #80 )
* [reqs] add wsaccel to performance reqs
* Support voice gateway v3
7 years ago
PixeL
02cc56e605
Handle zombie connections ( #79 )
* Handle zombie connections
* Close w/ non-1000 code, make variable private
7 years ago
Andrei Zbikowski
a137dc2523
Support 'xsalsa20_poly1305_suffix' encryption mode ( #77 )
7 years ago
PixeL
d0a3c5db0d
Add the new statuses ( #78 )
7 years ago
Giovani Irimea
091017c8cf
Add ETF support for Python 3.x ( #68 )
* Added ETF support for Python 3.x
Bumped requirements for PyNaCl and youtube-dl
* Changed setup.py check from using six to sys
Bumped requirements for youtube-dl and websocket-client
7 years ago
andrei
76b34a039e
Remove util.token module entirely
7 years ago
Sebastian Winkler
a8ebb0f1b2
adds support for animated emoji ( #74 )
* adds support for animated emoji
* improves string creation
7 years ago
Spencer
c8d6cb0e29
Fix shared_config initialization typo ( #71 )
smh
7 years ago
Moses Miller
857b4454a8
Fix IndexError instead of StopIteration when MessageIterator is done ( #69 )
* Fix IndexError instead of StopIteration when MessageIterator is done
* Make fill() return a boolean based on whether items were added to the
buffer, and update __next__() accordingly
7 years ago
andrei
9128844980
Bump to v0.0.12-rc.3
7 years ago
Kodie Goodwin
15138e9854
Remove spawn_each args during Emitter init ( #62 )
* Remove spawn_each args during Emitter init
* Pin holster to master in requirements.txt
* Bump holster to 2.0.0
7 years ago
Anis B
2d32e9e52a
Fix overwrites order in Channel.get_permissions ( #66 )
* Fix overwrites order in get_permissions
* [flake8] Remove whitespaces
7 years ago
Kodie Goodwin
6f3345d7c7
shared config ( #67 )
* Add shared_config to BotConfig
* Allow plugins to overwrite shared_config
7 years ago
andrei
7fd0863a0d
[gateway] fix using etf encoder with new zlib-stream
8 years ago
andrei
c215328606
Bump to v0.0.12-rc.2
8 years ago
Andrei Zbikowski
44689af035
[QOL] Flake8 CI and Fixes ( #61 )
* Add flake8 to travis
* Various flake8 fixes
* dont
* Only test against 2.7 / 3.6
I really don't care about 3.3/3.4/3.5
* Fix usage of unicode
8 years ago
andrei
5b5f29865a
[typing] allow Field to have a default of None
Previously we used None as the sentinel for determining that a user had
not specified a default value for a field. This meant that a user could
never select `None` as the default value. We now properly use UNSET to
determine if a default was passed, this aligns better with the code as
it stands given that if no default is passed we'll use UNSET anyway.
8 years ago
Kodie Goodwin
a90f4cbc01
Check for Unset type in Emoji.custom ( #60 )
* Check for Unset type in Emoji.custom
* Typecase id value to bool
in the case where id is Unset this will call the builtin
__bool__ which returns False. This is not ideal beacuse
an Id of 0 will mean the emoji is custom, but to fix would
require a deeper refactor of the Field logic. Lets put a pin
in it.
* Remove unused import
8 years ago
andrei
52223e3ad8
[holster] update Emitter instances to use `spawn_each`
8 years ago
andrei
c2f7e4c7cc
Bump dependency versions and release 0.0.12-rc.1
8 years ago
Andrei
5b37deeade
Allow more kwargs on APIClient.guilds_roles_create
8 years ago
andrei
afee2cac10
Add methods for creating sub-channels on a category
8 years ago
andrei
1e5b954ad1
Fix Channel's __str__ method for DMs
8 years ago
andrei
583e2c3b8e
Refactor the way channels are created
8 years ago
Andrei
c836b6e865
Cleanup / performance stuff
8 years ago