feat: add edited label after message content for edited messages (#536)
This commit is contained in:
parent
a111a9dfbb
commit
c7ba928d0c
2 changed files with 4 additions and 0 deletions
BIN
.github/preview.png
vendored
BIN
.github/preview.png
vendored
Binary file not shown.
|
Before Width: | Height: | Size: 481 KiB After Width: | Height: | Size: 634 KiB |
|
|
@ -171,6 +171,10 @@ func (mt *MessagesText) createBody(w io.Writer, m discord.Message, isReply bool)
|
|||
if isReply {
|
||||
fmt.Fprint(w, "[::-]")
|
||||
}
|
||||
|
||||
if m.EditedTimestamp.IsValid() {
|
||||
fmt.Fprint(w, " [::d](edited)[::-]")
|
||||
}
|
||||
}
|
||||
|
||||
func (mt *MessagesText) createFooter(w io.Writer, m discord.Message) {
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue