24 Commits

Author SHA1 Message Date
Erkin Alp Güney
e69c8a31a5 Update Message.ts 2022-04-23 16:40:54 +03:00
Erkin Alp Güney
764d2801a6 self commands and /me messages 2022-04-23 16:37:16 +03:00
1itt1eB0y
f30c3223b3 bug fix
Fix `QueryFailedError: constraint "FK_05535bc695e9f7ee104616459d3" for relation "messages" already exists`
2022-04-09 21:18:33 +03:00
Erkin Alp Güney
6e851f9435 More message types 2022-04-02 12:06:14 +03:00
RealMANI
39a3eee45d Revert "Type change"
This reverts commit de8b83f7b9bf9f418b49c4221bec35417de219d8.
2022-03-08 06:42:21 +01:00
RealMANI
de8b83f7b9 Type change
Changed type for column "content" to "longtext"

(you might want to get a back up from your database before updating)
2022-03-07 22:25:28 +03:00
unknownPerson115
716ea8b233 Fixed potential guild message SQL constraints
i have tied member dependencies to the author id rather than the member id to avoid a dependency cycle and you can now kick/ban someone from a guild/server and the messages will remain in the guild (just like discord) as stated in issue #441

I have also tested this code seems clean so far
(new pull request opened because of branch commit issues)
2021-12-23 20:40:13 -06:00
Flam3rboy
e58e153c7c 🐛 revert file config overwrite 2021-10-20 17:15:21 +02:00
Flam3rboy
d8f77c687e 🐛 fix message sticker sending 2021-10-15 00:03:05 +02:00
The Arcane Brony
496d7d2780 Put local types back 2021-10-10 21:30:46 +02:00
The Arcane Brony
d7fa45771d Change enums to numbers 2021-10-10 20:34:45 +02:00
Flam3rboy
dc85a79498 🎨 clean up imports + classes 2021-10-10 11:03:32 +02:00
Flam3rboy
2f7182ca3d 🐛 fix message reactions 2021-10-03 22:53:01 +02:00
Flam3rboy
62f9b35185 🐛 fix .delete -> add onDelete: "CASCADE" 2021-09-20 20:22:56 +02:00
Flam3rboy
705206ec1b 🎨 add orphanedRowAction and cascade onDelete to entities 2021-09-19 18:47:38 +02:00
AlTech98
12c92a2950 Fix attachments not being saved to db 2021-09-13 17:31:07 +02:00
Flam3rboy
11b2176773 🐛 fix message sending 2021-09-03 04:04:34 +02:00
Flam3rboy
a374b0b11a 🎨 update entities 2021-09-03 03:38:19 +02:00
Flam3rboy
cba341a6d6 🐛 fix entity types and projection 2021-09-01 23:34:55 +02:00
Flam3rboy
3d929755fb delete _ids from entities 2021-08-31 17:54:09 +02:00
Flam3rboy
681ce2ac47 fix util 2021-08-29 16:58:37 +02:00
Flam3rboy
766dcc24aa update util 2021-08-29 00:03:58 +02:00
Flam3rboy
18deb1e4b0 use RelationId 2021-08-26 20:48:09 +02:00
Flam3rboy
1e5ed28514 typeorm entities 2021-08-24 16:34:46 +02:00