20 | {{range .Messages}}
21 | {{$channel := .ChannelId}}
22 | {{$guild := .GuildId}}
23 |
24 |
25 |
26 |
27 | Message ID: |
28 | {{.MessageId}} |
29 |
30 |
31 | Channel ID: |
32 | {{.ChannelId}} |
33 |
34 |
35 | Guild ID: |
36 | {{.GuildId}} |
37 |
38 |
39 | Message Timestamp: |
40 | {{.MessageTimestamp}} |
41 |
42 |
43 | Sender ID: |
44 | {{.SenderId }} |
45 |
46 |
47 | Sender Name: |
48 | {{.SenderName}} |
49 |
50 | {{if .ReplyTo}}
51 |
52 | Reply To: |
53 | {{.ReplyTo}} |
54 |
55 | {{end}}
56 | {{if .Content}}
57 |
58 | Content: |
59 | {{.Content}} |
60 |
61 | {{end}}
62 | {{if ne .EditTime "-1"}}
63 |
64 | Last Edit Time: |
65 | {{.EditTime}} |
66 |
67 | {{end}}
68 | {{if .ThreadId}}
69 |
70 | ThreadID: |
71 | {{.ThreadId}} |
72 |
73 | {{end}}
74 | {{if .ThreadPath}}
75 |
76 | Link to thread: |
77 | Click here |
78 |
79 | {{end}}
80 |
81 |
82 | {{if .Edits}}
83 |
84 | Edits
85 | {{range .Edits}}
86 |
87 |
88 | Edit Time: |
89 | {{.EditTime}} |
90 |
91 |
92 | Edit Content: |
93 | {{.Content}} |
94 |
95 |
96 | {{ end }}
97 |
98 | {{end}}
99 |
100 | {{if .Embeds}}
101 |
102 | Embeds
103 | {{range .Embeds}}
104 |
105 |
106 | {{if .EmbedUrl}}
107 |
108 | Embed URL: |
109 | {{.EmbedUrl}} |
110 |
111 | {{end}}
112 | {{if .EmbedTimestamp}}
113 |
114 | Embed timestamp: |
115 | {{.EmbedTimestamp}} |
116 |
117 | {{end}}
118 | {{if .EmbedTitle}}
119 |
120 | Embed title: |
121 | {{.EmbedTitle}} |
122 |
123 | {{end}}
124 | {{if .EmbedAuthorName}}
125 |
126 | Embed author name: |
127 | {{.EmbedAuthorName}} |
128 |
129 | {{end}}
130 | {{if .EmbedAuthorUrl}}
131 |
132 | Embed author URL: |
133 | {{.EmbedAuthorUrl}} |
134 |
135 | {{end}}
136 | {{if .EmbedDescription}}
137 |
138 | Embed description: |
139 | {{.EmbedDescription}} |
140 |
141 | {{end}}
142 | {{if .EmbedField}}
143 |
144 | Embed field: |
145 | {{.EmbedField}} |
146 |
147 | {{end}}
148 | {{if .EmbedFooter}}
149 |
150 | Embed footer: |
151 | {{.EmbedFooter}} |
152 |
153 | {{end}}
154 | {{if .EmbedThumbnailUrl}}
155 |
156 | Embed thumbnail URL: |
157 | {{.EmbedThumbnailUrl}} |
158 |
159 | {{end}}
160 | {{if .EmbedThumbnailHash}}
161 |
162 | Embed thumbnail hash: |
163 | {{.EmbedThumbnailHash}} |
164 |
165 | {{end}}
166 | {{if .EmbedImageUrl}}
167 |
168 | Embed image URL: |
169 | {{.EmbedImageUrl}} |
170 |
171 | {{end}}
172 | {{ if .EmbedImageHash }}
173 |
174 | Embed image hash: |
175 | {{.EmbedImageHash}} |
176 |
177 | {{end}}
178 | {{ if .EmbedVideoUrl }}
179 |
180 | Embed video URL: |
181 | {{.EmbedVideoUrl}} |
182 |
183 | {{end}}
184 | {{ if .EmbedVideoHash }}
185 |
186 | Embed video hash: |
187 | {{.EmbedVideoHash}} |
188 |
189 | {{end}}
190 |
191 | {{ if .ResourcePathThumbnail }}
192 |
193 |  |
194 |
195 | {{end}}
196 | {{ if .ResourcePathImage }}
197 |
198 |  |
199 |
200 | {{end}}
201 | {{ if .ResourcePathVideo}}
202 |
203 | |
204 |
205 | {{end}}
206 |
207 |
208 | {{ end }}
209 |
210 | {{end}}
211 |
212 | {{if .Attachments}}
213 |
214 | Attachments:
215 | {{range .Attachments}}
216 |
217 |
218 |
219 | Attachment ID: |
220 | {{.AttachmentId}} |
221 |
222 |
223 | Attachment Hash: |
224 | {{.AttachmentHash}} |
225 |
226 |
227 | Attachment filename: |
228 | {{.AttachmentFilename}} |
229 |
230 |
231 | Attachment URL |
232 | {{.AttachmentUrl}} |
233 |
234 |
235 | {{ if eq .ResourceType "IMAGE"}}
236 |
237 | {{ end }}
238 |
239 |
240 | {{ if eq .ResourceType "VIDEO" }}
241 |
244 | {{ end }}
245 |
246 |
247 | Link to file |
248 | Click here |
249 |
250 |
251 |
252 | {{ end }}
253 |
254 | {{end}}
255 |
256 |
257 |
258 | {{ end }}
259 |
260 | {{ end }}
261 |