1
0
Fork 1
mirror of https://github.com/TeamOctolings/Octobot.git synced 2025-04-19 16:33:36 +03:00

Merge branch 'master' into fix-220

This commit is contained in:
Octol1ttle 2024-03-24 20:37:22 +05:00 committed by GitHub
commit 836e5784fb
Signed by: GitHub
GPG key ID: B5690EEEBB952194
2 changed files with 6 additions and 7 deletions

View file

@ -2,15 +2,15 @@
public static class BuildInfo public static class BuildInfo
{ {
public static string RepositoryUrl => ThisAssembly.Git.RepositoryUrl; public const string RepositoryUrl = "https://github.com/TeamOctolings/Octobot";
public static string IssuesUrl => $"{RepositoryUrl}/issues"; public const string IssuesUrl = $"{RepositoryUrl}/issues";
public static string WikiUrl => $"{RepositoryUrl}/wiki"; public const string WikiUrl = $"{RepositoryUrl}/wiki";
private static string Commit => ThisAssembly.Git.Commit; private const string Commit = ThisAssembly.Git.Commit;
private static string Branch => ThisAssembly.Git.Branch; private const string Branch = ThisAssembly.Git.Branch;
public static bool IsDirty => ThisAssembly.Git.IsDirty; public static bool IsDirty => ThisAssembly.Git.IsDirty;

View file

@ -5,10 +5,9 @@ namespace Octobot.Data;
/// </summary> /// </summary>
public sealed class MemberData public sealed class MemberData
{ {
public MemberData(ulong id, DateTimeOffset? bannedUntil = null, List<Reminder>? reminders = null) public MemberData(ulong id, List<Reminder>? reminders = null)
{ {
Id = id; Id = id;
BannedUntil = bannedUntil;
if (reminders is not null) if (reminders is not null)
{ {
Reminders = reminders; Reminders = reminders;