forked from TeamInklings/Octobot
EventEarlyNotification timestamp bugfix and other changes (#84)
This PR fixes EventEarlyNotification timestamp not displaying correctly and also has some other changes: - Add xmldocs for `/settingslist`'s `page` option in SettingsCommandGroup.cs - Add option description for `index` for `/delreminder` - Some corrections of grammatical errors in Messages.tt-ru.resx - Fix `ArgumentOutOfRangeException` in `/settingslist` that appears if the user uses a negative integer in `page` --------- Signed-off-by: Macintosh II <95250141+mctaylors@users.noreply.github.com> Co-authored-by: Octol1ttle <l1ttleofficial@outlook.com>
This commit is contained in:
parent
d0d663d2bb
commit
87dbb07dec
4 changed files with 15 additions and 20 deletions
|
@ -153,7 +153,9 @@ public class RemindCommandGroup : CommandGroup
|
|||
[RequireContext(ChannelContext.Guild)]
|
||||
[UsedImplicitly]
|
||||
public async Task<Result> ExecuteDeleteReminderAsync(
|
||||
[MinValue(0)] int index)
|
||||
[Description("Index of reminder to delete")]
|
||||
[MinValue(0)]
|
||||
int index)
|
||||
{
|
||||
if (!_context.TryGetContextIDs(out var guildId, out _, out var userId))
|
||||
{
|
||||
|
|
Reference in a new issue