diff --git a/Commands/RemindCommand.cs b/Commands/RemindCommand.cs index 24b1a08..efc9fd2 100644 --- a/Commands/RemindCommand.cs +++ b/Commands/RemindCommand.cs @@ -9,14 +9,20 @@ public sealed class RemindCommand : ICommand { // TODO: actually make this good var remindIn = CommandProcessor.GetTimeSpan(args, 0); var reminderText = cmd.GetRemaining(cleanArgs, 1, "ReminderText"); - if (reminderText is not null) - GuildData.Get(cmd.Context.Guild).MemberData[cmd.Context.User.Id].Reminders.Add(new Reminder { - RemindAt = DateTimeOffset.Now.Add(remindIn), - ReminderText = reminderText, - ReminderChannel = cmd.Context.Channel.Id - }); + var reminderOffset = DateTimeOffset.Now.Add(remindIn); + if (reminderText is not null) { + GuildData.Get(cmd.Context.Guild).MemberData[cmd.Context.User.Id].Reminders.Add( + new Reminder { + RemindAt = reminderOffset, + ReminderText = reminderText, + ReminderChannel = cmd.Context.Channel.Id + }); - cmd.ConfigWriteScheduled = true; + cmd.ConfigWriteScheduled = true; + + var feedback = string.Format(Messages.FeedbackReminderAdded, reminderOffset.ToUnixTimeSeconds().ToString()); + cmd.Reply(feedback, ReplyEmojis.Reminder); + } return Task.CompletedTask; } diff --git a/Messages.Designer.cs b/Messages.Designer.cs index 8f2be50..daeaa3a 100644 --- a/Messages.Designer.cs +++ b/Messages.Designer.cs @@ -9,8 +9,8 @@ namespace Boyfriend { using System; - - + + /// /// A strongly-typed resource class, for looking up localized strings, etc. /// @@ -22,15 +22,15 @@ namespace Boyfriend { [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] [global::System.Runtime.CompilerServices.CompilerGeneratedAttribute()] internal class Messages { - + private static global::System.Resources.ResourceManager resourceMan; - + private static global::System.Globalization.CultureInfo resourceCulture; - + [global::System.Diagnostics.CodeAnalysis.SuppressMessageAttribute("Microsoft.Performance", "CA1811:AvoidUncalledPrivateCode")] internal Messages() { } - + /// /// Returns the cached ResourceManager instance used by this class. /// @@ -44,7 +44,7 @@ namespace Boyfriend { return resourceMan; } } - + /// /// Overrides the current thread's CurrentUICulture property for all /// resource lookups using this strongly typed resource class. @@ -58,7 +58,7 @@ namespace Boyfriend { resourceCulture = value; } } - + /// /// Looks up a localized string similar to Bah! . /// @@ -67,7 +67,7 @@ namespace Boyfriend { return ResourceManager.GetString("Beep1", resourceCulture); } } - + /// /// Looks up a localized string similar to Bop! . /// @@ -76,7 +76,7 @@ namespace Boyfriend { return ResourceManager.GetString("Beep2", resourceCulture); } } - + /// /// Looks up a localized string similar to Beep! . /// @@ -85,7 +85,7 @@ namespace Boyfriend { return ResourceManager.GetString("Beep3", resourceCulture); } } - + /// /// Looks up a localized string similar to I cannot ban users from this guild!. /// @@ -94,7 +94,7 @@ namespace Boyfriend { return ResourceManager.GetString("BotCannotBanMembers", resourceCulture); } } - + /// /// Looks up a localized string similar to I cannot ban this user!. /// @@ -103,7 +103,7 @@ namespace Boyfriend { return ResourceManager.GetString("BotCannotBanTarget", resourceCulture); } } - + /// /// Looks up a localized string similar to I cannot kick members from this guild!. /// @@ -112,7 +112,7 @@ namespace Boyfriend { return ResourceManager.GetString("BotCannotKickMembers", resourceCulture); } } - + /// /// Looks up a localized string similar to I cannot kick this member!. /// @@ -121,7 +121,7 @@ namespace Boyfriend { return ResourceManager.GetString("BotCannotKickTarget", resourceCulture); } } - + /// /// Looks up a localized string similar to I cannot manage this guild!. /// @@ -130,7 +130,7 @@ namespace Boyfriend { return ResourceManager.GetString("BotCannotManageGuild", resourceCulture); } } - + /// /// Looks up a localized string similar to I cannot manage messages in this guild!. /// @@ -139,7 +139,7 @@ namespace Boyfriend { return ResourceManager.GetString("BotCannotManageMessages", resourceCulture); } } - + /// /// Looks up a localized string similar to I cannot moderate members in this guild!. /// @@ -148,7 +148,7 @@ namespace Boyfriend { return ResourceManager.GetString("BotCannotModerateMembers", resourceCulture); } } - + /// /// Looks up a localized string similar to I cannot mute this member!. /// @@ -157,7 +157,7 @@ namespace Boyfriend { return ResourceManager.GetString("BotCannotMuteTarget", resourceCulture); } } - + /// /// Looks up a localized string similar to I cannot unmute this member!. /// @@ -166,7 +166,7 @@ namespace Boyfriend { return ResourceManager.GetString("BotCannotUnmuteTarget", resourceCulture); } } - + /// /// Looks up a localized string similar to Deleted message from {0} in channel {1}: {2}. /// @@ -175,7 +175,7 @@ namespace Boyfriend { return ResourceManager.GetString("CachedMessageDeleted", resourceCulture); } } - + /// /// Looks up a localized string similar to Edited message in channel {0}: {1} -> {2}. /// @@ -184,7 +184,7 @@ namespace Boyfriend { return ResourceManager.GetString("CachedMessageEdited", resourceCulture); } } - + /// /// Looks up a localized string similar to I cannot use time-outs on other bots! Try to set a mute role in settings. /// @@ -193,7 +193,7 @@ namespace Boyfriend { return ResourceManager.GetString("CannotTimeOutBot", resourceCulture); } } - + /// /// Looks up a localized string similar to Not specified. /// @@ -202,7 +202,7 @@ namespace Boyfriend { return ResourceManager.GetString("ChannelNotSpecified", resourceCulture); } } - + /// /// Looks up a localized string similar to You need to specify an integer from {0} to {1} instead of {2}!. /// @@ -211,7 +211,7 @@ namespace Boyfriend { return ResourceManager.GetString("ClearAmountInvalid", resourceCulture); } } - + /// /// Looks up a localized string similar to You specified more than {0} messages!. /// @@ -220,7 +220,7 @@ namespace Boyfriend { return ResourceManager.GetString("ClearAmountTooLarge", resourceCulture); } } - + /// /// Looks up a localized string similar to You specified less than {0} messages!. /// @@ -229,7 +229,7 @@ namespace Boyfriend { return ResourceManager.GetString("ClearAmountTooSmall", resourceCulture); } } - + /// /// Looks up a localized string similar to Bans a user. /// @@ -238,7 +238,7 @@ namespace Boyfriend { return ResourceManager.GetString("CommandDescriptionBan", resourceCulture); } } - + /// /// Looks up a localized string similar to Deletes a specified amount of messages in this channel. /// @@ -247,7 +247,7 @@ namespace Boyfriend { return ResourceManager.GetString("CommandDescriptionClear", resourceCulture); } } - + /// /// Looks up a localized string similar to Shows this message. /// @@ -256,7 +256,7 @@ namespace Boyfriend { return ResourceManager.GetString("CommandDescriptionHelp", resourceCulture); } } - + /// /// Looks up a localized string similar to Kicks a member. /// @@ -265,7 +265,7 @@ namespace Boyfriend { return ResourceManager.GetString("CommandDescriptionKick", resourceCulture); } } - + /// /// Looks up a localized string similar to Mutes a member. /// @@ -274,7 +274,7 @@ namespace Boyfriend { return ResourceManager.GetString("CommandDescriptionMute", resourceCulture); } } - + /// /// Looks up a localized string similar to Shows (inaccurate) latency. /// @@ -283,7 +283,7 @@ namespace Boyfriend { return ResourceManager.GetString("CommandDescriptionPing", resourceCulture); } } - + /// /// Looks up a localized string similar to Adds a reminder. /// @@ -292,7 +292,7 @@ namespace Boyfriend { return ResourceManager.GetString("CommandDescriptionRemind", resourceCulture); } } - + /// /// Looks up a localized string similar to Allows you to change certain preferences for this guild. /// @@ -301,7 +301,7 @@ namespace Boyfriend { return ResourceManager.GetString("CommandDescriptionSettings", resourceCulture); } } - + /// /// Looks up a localized string similar to Unbans a user. /// @@ -310,7 +310,7 @@ namespace Boyfriend { return ResourceManager.GetString("CommandDescriptionUnban", resourceCulture); } } - + /// /// Looks up a localized string similar to Unmutes a member. /// @@ -319,7 +319,7 @@ namespace Boyfriend { return ResourceManager.GetString("CommandDescriptionUnmute", resourceCulture); } } - + /// /// Looks up a localized string similar to Command help:. /// @@ -328,7 +328,7 @@ namespace Boyfriend { return ResourceManager.GetString("CommandHelp", resourceCulture); } } - + /// /// Looks up a localized string similar to I do not have permission to execute this command!. /// @@ -337,7 +337,7 @@ namespace Boyfriend { return ResourceManager.GetString("CommandNoPermissionBot", resourceCulture); } } - + /// /// Looks up a localized string similar to You do not have permission to execute this command!. /// @@ -346,7 +346,7 @@ namespace Boyfriend { return ResourceManager.GetString("CommandNoPermissionUser", resourceCulture); } } - + /// /// Looks up a localized string similar to Current settings:. /// @@ -355,7 +355,7 @@ namespace Boyfriend { return ResourceManager.GetString("CurrentSettings", resourceCulture); } } - + /// /// Looks up a localized string similar to {0}, welcome to {1}. /// @@ -364,7 +364,7 @@ namespace Boyfriend { return ResourceManager.GetString("DefaultWelcomeMessage", resourceCulture); } } - + /// /// Looks up a localized string similar to I cannot mute someone for more than 28 days using timeouts! Either specify a duration shorter than 28 days, or set a mute role in settings. /// @@ -373,7 +373,7 @@ namespace Boyfriend { return ResourceManager.GetString("DurationRequiredForTimeOuts", resourceCulture); } } - + /// /// Looks up a localized string similar to Event {0} is cancelled!{1}. /// @@ -382,7 +382,7 @@ namespace Boyfriend { return ResourceManager.GetString("EventCancelled", resourceCulture); } } - + /// /// Looks up a localized string similar to Event {0} has completed! Duration:{1}. /// @@ -391,7 +391,7 @@ namespace Boyfriend { return ResourceManager.GetString("EventCompleted", resourceCulture); } } - + /// /// Looks up a localized string similar to {0} has created event {1}! It will take place in {2} and will start <t:{3}:R>! \n {4}. /// @@ -400,7 +400,7 @@ namespace Boyfriend { return ResourceManager.GetString("EventCreated", resourceCulture); } } - + /// /// Looks up a localized string similar to {0}Event {1} will start <t:{2}:R>!. /// @@ -409,7 +409,7 @@ namespace Boyfriend { return ResourceManager.GetString("EventEarlyNotification", resourceCulture); } } - + /// /// Looks up a localized string similar to {0}Event {1} is starting at {2}!. /// @@ -418,7 +418,7 @@ namespace Boyfriend { return ResourceManager.GetString("EventStarted", resourceCulture); } } - + /// /// Looks up a localized string similar to ever. /// @@ -427,7 +427,7 @@ namespace Boyfriend { return ResourceManager.GetString("Ever", resourceCulture); } } - + /// /// Looks up a localized string similar to Kicked {0}: {1}. /// @@ -436,7 +436,7 @@ namespace Boyfriend { return ResourceManager.GetString("FeedbackMemberKicked", resourceCulture); } } - + /// /// Looks up a localized string similar to Muted {0} for{1}: {2}. /// @@ -445,7 +445,7 @@ namespace Boyfriend { return ResourceManager.GetString("FeedbackMemberMuted", resourceCulture); } } - + /// /// Looks up a localized string similar to Unmuted {0}: {1}. /// @@ -454,7 +454,7 @@ namespace Boyfriend { return ResourceManager.GetString("FeedbackMemberUnmuted", resourceCulture); } } - + /// /// Looks up a localized string similar to Deleted {0} messages in {1}. /// @@ -463,7 +463,7 @@ namespace Boyfriend { return ResourceManager.GetString("FeedbackMessagesCleared", resourceCulture); } } - + /// /// Looks up a localized string similar to Value of setting `{0}` is now set to {1}. /// @@ -472,7 +472,7 @@ namespace Boyfriend { return ResourceManager.GetString("FeedbackSettingsUpdated", resourceCulture); } } - + /// /// Looks up a localized string similar to Banned {0} for{1}: {2}. /// @@ -481,7 +481,7 @@ namespace Boyfriend { return ResourceManager.GetString("FeedbackUserBanned", resourceCulture); } } - + /// /// Looks up a localized string similar to Unbanned {0}: {1}. /// @@ -490,7 +490,7 @@ namespace Boyfriend { return ResourceManager.GetString("FeedbackUserUnbanned", resourceCulture); } } - + /// /// Looks up a localized string similar to This channel does not exist!. /// @@ -499,7 +499,7 @@ namespace Boyfriend { return ResourceManager.GetString("InvalidChannel", resourceCulture); } } - + /// /// Looks up a localized string similar to You did not specify a member of this guild!. /// @@ -508,7 +508,7 @@ namespace Boyfriend { return ResourceManager.GetString("InvalidMember", resourceCulture); } } - + /// /// Looks up a localized string similar to This role does not exist!. /// @@ -517,7 +517,7 @@ namespace Boyfriend { return ResourceManager.GetString("InvalidRole", resourceCulture); } } - + /// /// Looks up a localized string similar to Invalid setting value specified!. /// @@ -526,7 +526,7 @@ namespace Boyfriend { return ResourceManager.GetString("InvalidSettingValue", resourceCulture); } } - + /// /// Looks up a localized string similar to You need to specify a user instead of {0}!. /// @@ -535,7 +535,7 @@ namespace Boyfriend { return ResourceManager.GetString("InvalidUser", resourceCulture); } } - + /// /// Looks up a localized string similar to Language not supported! Supported languages:. /// @@ -544,7 +544,7 @@ namespace Boyfriend { return ResourceManager.GetString("LanguageNotSupported", resourceCulture); } } - + /// /// Looks up a localized string similar to Member is already muted!. /// @@ -553,7 +553,7 @@ namespace Boyfriend { return ResourceManager.GetString("MemberAlreadyMuted", resourceCulture); } } - + /// /// Looks up a localized string similar to Member not muted!. /// @@ -562,7 +562,7 @@ namespace Boyfriend { return ResourceManager.GetString("MemberNotMuted", resourceCulture); } } - + /// /// Looks up a localized string similar to ms. /// @@ -571,7 +571,7 @@ namespace Boyfriend { return ResourceManager.GetString("Milliseconds", resourceCulture); } } - + /// /// Looks up a localized string similar to You need to specify a reason to ban this user!. /// @@ -580,7 +580,7 @@ namespace Boyfriend { return ResourceManager.GetString("MissingBanReason", resourceCulture); } } - + /// /// Looks up a localized string similar to You need to specify a reason to kick this member!. /// @@ -589,7 +589,7 @@ namespace Boyfriend { return ResourceManager.GetString("MissingKickReason", resourceCulture); } } - + /// /// Looks up a localized string similar to You need to specify a guild member!. /// @@ -598,7 +598,7 @@ namespace Boyfriend { return ResourceManager.GetString("MissingMember", resourceCulture); } } - + /// /// Looks up a localized string similar to You need to specify a reason to mute this member!. /// @@ -607,7 +607,7 @@ namespace Boyfriend { return ResourceManager.GetString("MissingMuteReason", resourceCulture); } } - + /// /// Looks up a localized string similar to You need to specify an integer from {0} to {1}!. /// @@ -616,7 +616,7 @@ namespace Boyfriend { return ResourceManager.GetString("MissingNumber", resourceCulture); } } - + /// /// Looks up a localized string similar to You need to specify reminder text!. /// @@ -625,7 +625,7 @@ namespace Boyfriend { return ResourceManager.GetString("MissingReminderText", resourceCulture); } } - + /// /// Looks up a localized string similar to You need to specify a reason to unban this user!. /// @@ -634,7 +634,7 @@ namespace Boyfriend { return ResourceManager.GetString("MissingUnbanReason", resourceCulture); } } - + /// /// Looks up a localized string similar to You need to specify a reason for unmute this member!. /// @@ -643,7 +643,7 @@ namespace Boyfriend { return ResourceManager.GetString("MissingUnmuteReason", resourceCulture); } } - + /// /// Looks up a localized string similar to You need to specify a user!. /// @@ -652,7 +652,7 @@ namespace Boyfriend { return ResourceManager.GetString("MissingUser", resourceCulture); } } - + /// /// Looks up a localized string similar to No. /// @@ -661,7 +661,7 @@ namespace Boyfriend { return ResourceManager.GetString("No", resourceCulture); } } - + /// /// Looks up a localized string similar to Punishment expired. /// @@ -670,7 +670,7 @@ namespace Boyfriend { return ResourceManager.GetString("PunishmentExpired", resourceCulture); } } - + /// /// Looks up a localized string similar to {0}I'm ready!. /// @@ -679,7 +679,7 @@ namespace Boyfriend { return ResourceManager.GetString("Ready", resourceCulture); } } - + /// /// Looks up a localized string similar to Not specified. /// @@ -688,7 +688,7 @@ namespace Boyfriend { return ResourceManager.GetString("RoleNotSpecified", resourceCulture); } } - + /// /// Looks up a localized string similar to That setting doesn't exist!. /// @@ -697,7 +697,7 @@ namespace Boyfriend { return ResourceManager.GetString("SettingDoesntExist", resourceCulture); } } - + /// /// Looks up a localized string similar to Not specified. /// @@ -706,7 +706,7 @@ namespace Boyfriend { return ResourceManager.GetString("SettingNotDefined", resourceCulture); } } - + /// /// Looks up a localized string similar to Automatically start scheduled events. /// @@ -715,7 +715,7 @@ namespace Boyfriend { return ResourceManager.GetString("SettingsAutoStartEvents", resourceCulture); } } - + /// /// Looks up a localized string similar to Early event start notification offset. /// @@ -724,7 +724,7 @@ namespace Boyfriend { return ResourceManager.GetString("SettingsEventEarlyNotificationOffset", resourceCulture); } } - + /// /// Looks up a localized string similar to Channel for event notifications. /// @@ -733,7 +733,7 @@ namespace Boyfriend { return ResourceManager.GetString("SettingsEventNotificationChannel", resourceCulture); } } - + /// /// Looks up a localized string similar to Role for event creation notifications. /// @@ -742,7 +742,7 @@ namespace Boyfriend { return ResourceManager.GetString("SettingsEventNotificationRole", resourceCulture); } } - + /// /// Looks up a localized string similar to Event start notifications receivers. /// @@ -751,7 +751,7 @@ namespace Boyfriend { return ResourceManager.GetString("SettingsEventStartedReceivers", resourceCulture); } } - + /// /// Looks up a localized string similar to :(. /// @@ -760,7 +760,7 @@ namespace Boyfriend { return ResourceManager.GetString("SettingsFrowningFace", resourceCulture); } } - + /// /// Looks up a localized string similar to Language. /// @@ -769,7 +769,7 @@ namespace Boyfriend { return ResourceManager.GetString("SettingsLang", resourceCulture); } } - + /// /// Looks up a localized string similar to Mute role. /// @@ -778,7 +778,7 @@ namespace Boyfriend { return ResourceManager.GetString("SettingsMuteRole", resourceCulture); } } - + /// /// Looks up a localized string similar to Nothing changed! `{0}` is already set to {1}. /// @@ -787,7 +787,7 @@ namespace Boyfriend { return ResourceManager.GetString("SettingsNothingChanged", resourceCulture); } } - + /// /// Looks up a localized string similar to Prefix. /// @@ -796,7 +796,7 @@ namespace Boyfriend { return ResourceManager.GetString("SettingsPrefix", resourceCulture); } } - + /// /// Looks up a localized string similar to Channel for private notifications. /// @@ -805,7 +805,7 @@ namespace Boyfriend { return ResourceManager.GetString("SettingsPrivateFeedbackChannel", resourceCulture); } } - + /// /// Looks up a localized string similar to Channel for public notifications. /// @@ -814,7 +814,7 @@ namespace Boyfriend { return ResourceManager.GetString("SettingsPublicFeedbackChannel", resourceCulture); } } - + /// /// Looks up a localized string similar to Receive startup messages. /// @@ -823,7 +823,7 @@ namespace Boyfriend { return ResourceManager.GetString("SettingsReceiveStartupMessages", resourceCulture); } } - + /// /// Looks up a localized string similar to Remove roles on mute. /// @@ -832,7 +832,7 @@ namespace Boyfriend { return ResourceManager.GetString("SettingsRemoveRolesOnMute", resourceCulture); } } - + /// /// Looks up a localized string similar to Return roles on rejoin. /// @@ -841,7 +841,7 @@ namespace Boyfriend { return ResourceManager.GetString("SettingsReturnRolesOnRejoin", resourceCulture); } } - + /// /// Looks up a localized string similar to Send welcome messages. /// @@ -850,7 +850,7 @@ namespace Boyfriend { return ResourceManager.GetString("SettingsSendWelcomeMessages", resourceCulture); } } - + /// /// Looks up a localized string similar to Starter role. /// @@ -859,7 +859,7 @@ namespace Boyfriend { return ResourceManager.GetString("SettingsStarterRole", resourceCulture); } } - + /// /// Looks up a localized string similar to Welcome message. /// @@ -868,7 +868,7 @@ namespace Boyfriend { return ResourceManager.GetString("SettingsWelcomeMessage", resourceCulture); } } - + /// /// Looks up a localized string similar to You cannot ban me!. /// @@ -877,7 +877,7 @@ namespace Boyfriend { return ResourceManager.GetString("UserCannotBanBot", resourceCulture); } } - + /// /// Looks up a localized string similar to You cannot ban users from this guild!. /// @@ -886,7 +886,7 @@ namespace Boyfriend { return ResourceManager.GetString("UserCannotBanMembers", resourceCulture); } } - + /// /// Looks up a localized string similar to You cannot ban the owner of this guild!. /// @@ -895,7 +895,7 @@ namespace Boyfriend { return ResourceManager.GetString("UserCannotBanOwner", resourceCulture); } } - + /// /// Looks up a localized string similar to You cannot ban this user!. /// @@ -904,7 +904,7 @@ namespace Boyfriend { return ResourceManager.GetString("UserCannotBanTarget", resourceCulture); } } - + /// /// Looks up a localized string similar to You cannot ban yourself!. /// @@ -913,7 +913,7 @@ namespace Boyfriend { return ResourceManager.GetString("UserCannotBanThemselves", resourceCulture); } } - + /// /// Looks up a localized string similar to You cannot kick me!. /// @@ -922,7 +922,7 @@ namespace Boyfriend { return ResourceManager.GetString("UserCannotKickBot", resourceCulture); } } - + /// /// Looks up a localized string similar to You cannot kick members from this guild!. /// @@ -931,7 +931,7 @@ namespace Boyfriend { return ResourceManager.GetString("UserCannotKickMembers", resourceCulture); } } - + /// /// Looks up a localized string similar to You cannot kick the owner of this guild!. /// @@ -940,7 +940,7 @@ namespace Boyfriend { return ResourceManager.GetString("UserCannotKickOwner", resourceCulture); } } - + /// /// Looks up a localized string similar to You cannot kick this member!. /// @@ -949,7 +949,7 @@ namespace Boyfriend { return ResourceManager.GetString("UserCannotKickTarget", resourceCulture); } } - + /// /// Looks up a localized string similar to You cannot kick yourself!. /// @@ -958,7 +958,7 @@ namespace Boyfriend { return ResourceManager.GetString("UserCannotKickThemselves", resourceCulture); } } - + /// /// Looks up a localized string similar to You cannot manage this guild!. /// @@ -967,7 +967,7 @@ namespace Boyfriend { return ResourceManager.GetString("UserCannotManageGuild", resourceCulture); } } - + /// /// Looks up a localized string similar to You cannot manage messages in this guild!. /// @@ -976,7 +976,7 @@ namespace Boyfriend { return ResourceManager.GetString("UserCannotManageMessages", resourceCulture); } } - + /// /// Looks up a localized string similar to You cannot moderate members in this guild!. /// @@ -985,7 +985,7 @@ namespace Boyfriend { return ResourceManager.GetString("UserCannotModerateMembers", resourceCulture); } } - + /// /// Looks up a localized string similar to You cannot mute me!. /// @@ -994,7 +994,7 @@ namespace Boyfriend { return ResourceManager.GetString("UserCannotMuteBot", resourceCulture); } } - + /// /// Looks up a localized string similar to You cannot mute the owner of this guild!. /// @@ -1003,7 +1003,7 @@ namespace Boyfriend { return ResourceManager.GetString("UserCannotMuteOwner", resourceCulture); } } - + /// /// Looks up a localized string similar to You cannot mute this member!. /// @@ -1012,7 +1012,7 @@ namespace Boyfriend { return ResourceManager.GetString("UserCannotMuteTarget", resourceCulture); } } - + /// /// Looks up a localized string similar to You cannot mute yourself!. /// @@ -1021,7 +1021,7 @@ namespace Boyfriend { return ResourceManager.GetString("UserCannotMuteThemselves", resourceCulture); } } - + /// /// Looks up a localized string similar to .... /// @@ -1030,7 +1030,7 @@ namespace Boyfriend { return ResourceManager.GetString("UserCannotUnmuteBot", resourceCulture); } } - + /// /// Looks up a localized string similar to You don't need to unmute the owner of this guild!. /// @@ -1039,7 +1039,7 @@ namespace Boyfriend { return ResourceManager.GetString("UserCannotUnmuteOwner", resourceCulture); } } - + /// /// Looks up a localized string similar to You cannot unmute this user!. /// @@ -1048,7 +1048,7 @@ namespace Boyfriend { return ResourceManager.GetString("UserCannotUnmuteTarget", resourceCulture); } } - + /// /// Looks up a localized string similar to You are muted!. /// @@ -1057,7 +1057,7 @@ namespace Boyfriend { return ResourceManager.GetString("UserCannotUnmuteThemselves", resourceCulture); } } - + /// /// Looks up a localized string similar to This user is not banned!. /// @@ -1066,7 +1066,7 @@ namespace Boyfriend { return ResourceManager.GetString("UserNotBanned", resourceCulture); } } - + /// /// Looks up a localized string similar to I could not find this user in any guild I'm a member of! Check if the ID is correct and that the user was on this server no longer than 30 days ago. /// @@ -1075,7 +1075,7 @@ namespace Boyfriend { return ResourceManager.GetString("UserNotFound", resourceCulture); } } - + /// /// Looks up a localized string similar to Yes. /// @@ -1084,7 +1084,7 @@ namespace Boyfriend { return ResourceManager.GetString("Yes", resourceCulture); } } - + /// /// Looks up a localized string similar to You were banned by {0} in guild `{1}` for {2}. /// @@ -1093,7 +1093,7 @@ namespace Boyfriend { return ResourceManager.GetString("YouWereBanned", resourceCulture); } } - + /// /// Looks up a localized string similar to You were kicked by {0} in guild `{1}` for {2}. /// @@ -1102,5 +1102,14 @@ namespace Boyfriend { return ResourceManager.GetString("YouWereKicked", resourceCulture); } } + + /// + /// Looks up a localized string similar to OK, I'll mention you on <t:{0}:f>. + /// + internal static string FeedbackReminderAdded { + get { + return ResourceManager.GetString("FeedbackReminderAdded", resourceCulture); + } + } } } diff --git a/Messages.resx b/Messages.resx index e397d73..82beb50 100644 --- a/Messages.resx +++ b/Messages.resx @@ -465,4 +465,7 @@ You need to specify reminder text! + + OK, I'll mention you on <t:{0}:f> + diff --git a/Messages.ru.resx b/Messages.ru.resx index 55b7fb2..1d34695 100644 --- a/Messages.ru.resx +++ b/Messages.ru.resx @@ -465,4 +465,7 @@ Тебе нужно указать текст напоминания! + + Хорошо, я упомяну тебя <t:{0}:f> + diff --git a/Messages.tt-ru.resx b/Messages.tt-ru.resx index c2b67bc..0301ea7 100644 --- a/Messages.tt-ru.resx +++ b/Messages.tt-ru.resx @@ -465,4 +465,7 @@ для крафта напоминалки нужен текст + + вас понял, упоминание будет <t:{0}:f> + diff --git a/ReplyEmojis.cs b/ReplyEmojis.cs index a4e8c40..3ccb6a6 100644 --- a/ReplyEmojis.cs +++ b/ReplyEmojis.cs @@ -1,18 +1,19 @@ namespace Boyfriend; public static class ReplyEmojis { - public const string Success = ":white_check_mark:"; - public const string Error = ":x:"; + public const string Success = ":white_check_mark:"; + public const string Error = ":x:"; public const string MissingArgument = ":keyboard:"; public const string InvalidArgument = ":construction:"; - public const string NoPermission = ":no_entry_sign:"; - public const string CantInteract = ":vertical_traffic_light:"; - public const string Help = ":page_facing_up:"; - public const string SettingsList = ":gear:"; - public const string SettingsSet = ":control_knobs:"; - public const string Ping = ":signal_strength:"; - public const string Banned = ":hammer:"; - public const string Kicked = ":police_car:"; - public const string Muted = ":mute:"; - public const string Unmuted = ":loud_sound:"; + public const string NoPermission = ":no_entry_sign:"; + public const string CantInteract = ":vertical_traffic_light:"; + public const string Help = ":page_facing_up:"; + public const string SettingsList = ":gear:"; + public const string SettingsSet = ":control_knobs:"; + public const string Ping = ":signal_strength:"; + public const string Banned = ":hammer:"; + public const string Kicked = ":police_car:"; + public const string Muted = ":mute:"; + public const string Unmuted = ":loud_sound:"; + public const string Reminder = ":alarm_clock:"; }