python-discord / api

A FastAPI-based service that allows our services to communicatie with our database.
MIT License
10 stars 1 forks source link

Add `dm_sent` field to infractions database model #20

Closed TizzySaurus closed 2 years ago

TizzySaurus commented 3 years ago

Refers to bot#1864 and site#610.

Make the necessary database model changes to this file in order to support infractions having a dm_sent field in the database which is shown upon !infraction command.

The field will be a nullable boolean (pre-existing infractions will have the value set to null, and future infractions will be set to true/false accordingly).

RELEVANT PR TO BE MERGED WITH THOSE OF bot#1864 AND site#610.

TizzySaurus commented 3 years ago

I'll implement this shortly, along with the other change in regarding the Infractions model.

As discussed on discord, I'm planning to do this myself as part of bot#1864.

jchristgit commented 3 years ago

Reassigned 👍