You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
- Shows reminder text & time in modify dropdown instead of ID & text (closes#41)
- Uses modals instead of select menus to prompt user for reminder IDs if they have too many to list in a select menu, and adds slash command option for reminder ID to /reminder show (closes#38)
.WithContent($"The reminder ID you provided isn't correct! It should look something like this: `1234`.{(reminderCmdisnull?"":$" You can see your reminders and their IDs with </reminder list:{reminderCmd.Id}>.")}")
:$"You don't have any reminders! Set one with </{reminderCmd.Name} set:{reminderCmd.Id}>.")
485
-
.AsEphemeral());
492
+
.WithContent($"I couldn't find a reminder with that ID! Make sure it's correct. It should look something like this: `1234`.{(reminderCmdisnull?"":$" You can see your reminders and their IDs with </reminder list:{reminderCmd.Id}>.")}")
493
+
.AsEphemeral());
486
494
return;
487
495
}
488
496
489
-
awaitctx.FollowupAsync(
490
-
newDiscordFollowupMessageBuilder().WithContent("Please choose a reminder to show details for.")
?$"This reminder was set privately, so the message where it was set is unavailable. Here is a link to the surrounding context: https://discord.com/channels/{reminder.GuildId}/{reminder.ChannelId}/{reminder.MessageId}/"
.WithContent($"The reminder ID you provided isn't correct! It should look something like this: `1234`.{(reminderCmdisnull?"":$" You can see your reminders and their IDs with </reminder list:{reminderCmd.Id}>.")}")
.WithContent($"I couldn't find a reminder with that ID! Make sure it's correct. It should look something like this: `1234`.{(reminderCmdisnull?"":$" You can see your reminders and their IDs with </reminder list:{reminderCmd.Id}>.")}")
95
+
.AsEphemeral());
96
+
return;
97
+
}
98
+
catch
99
+
{
100
+
awaite.Interaction.CreateFollowupMessageAsync(newDiscordFollowupMessageBuilder().WithContent($"Sorry, something went wrong. Please try again or contact a bot owner for help."));
0 commit comments