aboutsummaryrefslogtreecommitdiffstats
path: root/Pipfile.lock
diff options
context:
space:
mode:
authorGravatar Manuel Ignacio Pérez Alcolea <[email protected]>2019-12-20 02:28:34 -0300
committerGravatar Manuel Ignacio Pérez Alcolea <[email protected]>2019-12-20 02:28:34 -0300
commit98096a4ada2d4d27edac24a606c04e74fb4dc45b (patch)
tree08927034b89c07794250deddbff33273cc265bc1 /Pipfile.lock
parentRefactor minor details in `post_infraction` (diff)
Give `post_user` default values for `payload` if absent in `user`
Now `post_user(...)` expects either a `discord.User` or a `discord.Object` object as `user`. Either way, it will try to take the relevant attributes from `user` to fill the DB columns. If it can't be done, `.avatar_hash`, `.discriminator`, and `name` will take default values.
Diffstat (limited to 'Pipfile.lock')
0 files changed, 0 insertions, 0 deletions