Andrei
835242c241
Add GuildMember.name property, returning nickname or username
9 years ago
Andrei
8216ec4ad7
Add APIClient.users_me_get and APIClient.users_me_patch
Not currently hooked up, but useful nonetheless
9 years ago
Andrei
729f778ef4
Add utility properties for MessageDeleteBulk
9 years ago
Andrei
a10aca7f4a
Allow overriding plugin configuration in the top-level bot config
9 years ago
Andrei
d2d7166e66
add User.get_avatar_url to support more formats/sizes
10 years ago
Andrei
8d0dbeba1e
bugfix - properly combine multiple triggers ( fixes #14 )
10 years ago
Andrei
d78fed6641
bugfix - fix editing a message with embeds
10 years ago
Andrei
1bba005c34
feature - add some utility functions for constructing MessageEmbed
10 years ago
Andrei
eef13d4330
hackfixes - various fixes, incl fucky CHANNEL_UPDATE stuff
10 years ago
Andrei
75677ab272
feature - channel argtype should support channel names
10 years ago
Andrei
514a99dcea
feature - add Guild.create_channel
10 years ago
Andrei
4f4c3ab2ff
feature - Channel.recipients should be a hash map
10 years ago
Andrei
29768b84d2
feature - add trace field to Ready and Resumed events
10 years ago
Andrei
ceb57e19d4
bugfix - fix `create_hash` not reading from the created object
also add GuildBan
10 years ago
Andrei
a3924440b9
etc - better default log format
10 years ago
Andrei
013fd54444
cleanup - Simplfy ARGS_REGEX even more
This still needs to not be a shitty regex
10 years ago
Andrei
21d54969e7
bugfix - properly send embed when using multipart-form for attachments
also fix sending an embed on edit
10 years ago
Andrei
a498f08217
feature - add ability to control gateway max reconnects vi config
10 years ago
Andrei
ec85c25342
bugfix - reset reconnection attempts after a successful resume
10 years ago
Andrei
57b7e4b549
feature - add guild "mention" type to parser
10 years ago
Andrei
e0ea431d9d
cleanup - actually use retries var in APIException
10 years ago
Andrei
48c8fa6fa9
feature -Add some logging to Bot, allow for handling of command/event exceptions
10 years ago
Andrei
704f784bef
refactor - make APIException less corner-casey, easier to interact with
10 years ago
Andrei
2e7b707e1e
bugfix - n-size arguments would be limited to one argument
10 years ago
Andrei
bef1492d54
Bump holster, fix SimpleLimiter race error, fix to_dict recursion
10 years ago
Andrei
b85376be32
Add MessageReactionRemoveAll, etc fixes
- Fix passing plugins on command line
- Fix shard count in AutoSharder
10 years ago
Andrei
8d3e290e03
feature - add GuildMember.unban utility method
10 years ago
Andrei
93cf4ac660
bugfix - private_channels is a list of channels, not guilds
(derp)
10 years ago
Andrei
fca1599579
bugfix - fields without a default but set to None would become UNSET
etc stuff as well
10 years ago
Andrei
b41bcebef9
feature - add url property to GuildEmoji
10 years ago
Andrei
ca36412c2e
feature - track GuildEmojisUpdate in state
10 years ago
Andrei
0b2305a746
bugfix - fix flag parsing be super derp
10 years ago
Andrei
5d2d20a42b
feature - add guild emoji management routes
10 years ago
Andrei
6f8684bb69
refactor - better parser flags implementation
10 years ago
Andrei
d9015dd3c0
feature - add support for flags/bools in command arguments
10 years ago
Andrei
b7535790fb
bugfix - set a proper User-Agent header
10 years ago
Andrei
7084531353
bugfix - parsed command arguments should be passed in kwargs
This fixes some weird edge cases with positional arguments when using
multiple command definitions for a single function.
10 years ago
Andrei
d80e3c4c57
Swap to using RESTful role add/remove endpoints
10 years ago
Andrei
492b26326a
More hashmaps, cleanup and fixes
10 years ago
Andrei
cae3ceff85
cleanup - various bits of cleanup
10 years ago
Andrei
cc9ba3d641
bugfix - user type should look in state if its not a mention resolver
10 years ago
Andrei
fa2f915de5
Remove some debug stuff
10 years ago
Andrei
bc8e494fba
bugfix - don't to_bytes keys in args
10 years ago
Andrei
6f8cecdcf7
Fix filtered args dict compt in HTTPClient
10 years ago
Andrei
07321c9250
Rename Model.fields to avoid smashing other model props, etc
10 years ago
Andrei
dd75502b89
Improvements to command processing
- Bot.get_commands_for_message is now more composable/externally useable
- Command parser for 'user' type has been improved to allow
username/discrim combos
- Model loading can now be done outside of the model constructor, and
supports some utility arguments
- Fix sub-model fields not having their default value be the sub-model
constructor
- Fix Message.without_mentions
- Add Message.with_proper_mentions (e.g. humanifying the message)
- Cleanup Message.replace_mentions for the above two changes
- Fix some weird casting inside MessageTable
10 years ago
Andrei
b5284c1975
Various fixes and improvements
- Add support for attachments and message embeds
- Fix commands being weirdly stored by some key (which doesn't make
sense)
- Added CommandEvent.codeblock which represents the first codeblock in
the message (useful for eval like commands)
- Cleanup the spawn utilties on plugin a bit
- Fix GuildBanAdd/GuildBanRemove
- Unset model fields are now a special sentinel value
- etc stuff
10 years ago
Andrei
58ea923562
Better command function introspection, docstrings
10 years ago
Andrei
28cfa830f7
Various fixes and tweaks
- Add plugin context on load
- Allow providing additional kwargs to a command context
- Commands are now stored using their base trigger instead of function
name, which allows for multiple bindings on a single function
- Use argument passing for register_listener
- Fix RedisProvider.get_many failing when its passed an empty list of
keys
- Add some utility properties on MessageReactionAdd/Remove
- Support type conversion toggling in MessageTable
- Latest holster fixes
10 years ago
Andrei
8db18a6a1f
Fix killing heartbeat task when it wasnt created, better loads/dumps
10 years ago