diff options
| author | 2019-12-20 02:28:34 -0300 | |
|---|---|---|
| committer | 2019-12-20 02:28:34 -0300 | |
| commit | 98096a4ada2d4d27edac24a606c04e74fb4dc45b (patch) | |
| tree | 08927034b89c07794250deddbff33273cc265bc1 /Pipfile.lock | |
| parent | Refactor 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
