mirror of
https://github.com/TeamOctolings/Octobot.git
synced 2025-04-29 18:49:53 +03:00
Add responders for scheduled event cancellation and completion
Signed-off-by: Octol1ttle <l1ttleofficial@outlook.com>
This commit is contained in:
parent
b89e557e48
commit
4b8c3fd11c
7 changed files with 842 additions and 1147 deletions
|
@ -3,25 +3,25 @@ using System.Globalization;
|
|||
namespace Boyfriend.Data;
|
||||
|
||||
public class GuildConfiguration {
|
||||
private static readonly Dictionary<string, CultureInfo> CultureInfoCache = new() {
|
||||
public static readonly Dictionary<string, CultureInfo> CultureInfoCache = new() {
|
||||
{ "en", new CultureInfo("en-US") },
|
||||
{ "ru", new CultureInfo("ru-RU") },
|
||||
{ "mctaylors-ru", new CultureInfo("tt-RU") }
|
||||
};
|
||||
|
||||
public string Prefix { get; set; } = "!";
|
||||
public string Language { get; set; } = "en";
|
||||
public string? WelcomeMessage { get; set; }
|
||||
public bool ReceiveStartupMessages { get; set; }
|
||||
public bool RemoveRolesOnMute { get; set; }
|
||||
public bool ReturnRolesOnRejoin { get; set; }
|
||||
public bool AutoStartEvents { get; set; }
|
||||
public ulong? PublicFeedbackChannel { get; set; }
|
||||
public ulong? PrivateFeedbackChannel { get; set; }
|
||||
public ulong? EventNotificationChannel { get; set; }
|
||||
public ulong? StarterRole { get; set; }
|
||||
public ulong? MuteRole { get; set; }
|
||||
public ulong? EventNotificationRole { get; set; }
|
||||
public string Prefix { get; set; } = "!";
|
||||
public string Language { get; set; } = "en";
|
||||
public string WelcomeMessage { get; set; } = "default";
|
||||
public bool ReceiveStartupMessages { get; set; }
|
||||
public bool RemoveRolesOnMute { get; set; }
|
||||
public bool ReturnRolesOnRejoin { get; set; }
|
||||
public bool AutoStartEvents { get; set; }
|
||||
public ulong PublicFeedbackChannel { get; set; } = 0;
|
||||
public ulong PrivateFeedbackChannel { get; set; } = 0;
|
||||
public ulong EventNotificationChannel { get; set; } = 0;
|
||||
public ulong StarterRole { get; set; } = 0;
|
||||
public ulong MuteRole { get; set; } = 0;
|
||||
public ulong EventNotificationRole { get; set; } = 0;
|
||||
|
||||
public List<NotificationReceiver> EventStartedReceivers { get; set; }
|
||||
= new() { NotificationReceiver.Interested, NotificationReceiver.Role };
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue