3
0
Fork 0
mirror of https://github.com/ZeppelinBot/Zeppelin.git synced 2025-05-22 17:25:01 +00:00

When updating cases, update existing case embed in case log channel if possible

This commit is contained in:
Dragory 2020-08-10 02:35:47 +03:00
parent d7a93451c0
commit 4275104de7
4 changed files with 46 additions and 4 deletions

View file

@ -29,6 +29,12 @@ export class Case {
@Column() pp_name: string;
/**
* ID of the channel and message where this case was logged.
* Format: "channelid-messageid"
*/
@Column() log_message_id: string;
@OneToMany(
type => CaseNote,
note => note.case,