Skip to content

Commit 7d54f99

Browse files
authored
Added ability to save image, author icon.
1 parent e0b8684 commit 7d54f99

File tree

1 file changed

+17
-12
lines changed

1 file changed

+17
-12
lines changed

UPBot Code/DataClasses/TagBase.cs

+17-12
Original file line numberDiff line numberDiff line change
@@ -8,22 +8,27 @@ public class TagBase : Entity {
88
public string Alias3;
99
[Comment] public string Information;
1010
public string Author;
11+
public string AuthorIcon;
1112
public long ColorOfTheme;
1213
public DateTime timeOfCreation;
1314
public string thumbnailLink;
15+
public string imageLink;
1416

1517
public TagBase() { }
1618

17-
public TagBase(ulong guild, string topic, string info, string author, int colorOfTheme, DateTime time, string thumbnailLink) {
18-
Guild = guild;
19-
Topic = topic;
20-
Alias1 = null;
21-
Alias2 = null;
22-
Alias3 = null;
23-
Information = info;
24-
Author = author;
25-
ColorOfTheme = colorOfTheme;
26-
timeOfCreation = time;
27-
this.thumbnailLink = thumbnailLink;
28-
}
19+
public TagBase(ulong guild, string topic, string info, string author, string authorIcon, int colorOfTheme, DateTime time, string thumbnailLink, string imageLink)
20+
{
21+
Guild = guild;
22+
Topic = topic;
23+
Alias1 = null;
24+
Alias2 = null;
25+
Alias3 = null;
26+
Information = info;
27+
Author = author;
28+
AuthorIcon = authorIcon;
29+
ColorOfTheme = colorOfTheme;
30+
timeOfCreation = time;
31+
this.thumbnailLink = thumbnailLink;
32+
this.imageLink = imageLink;
33+
}
2934
}

0 commit comments

Comments
 (0)