Beispiel #1
0
        public async Task ReminderCommandAsync([Remainder] string args = "")
        {
            // TODO: CHECK FOR USER TIMEZONE
            if (UserDataManager.GetUserData(BotUtils.GetGUser(Context)).TimeZone == null)
            {
                await ReplyAsync(BotUtils.KamtroText("Looks like you don't have a time zone set! Set one now and do the command again to set reminders."));

                TimeZoneSelectEmbed tzse = new TimeZoneSelectEmbed(Context);
                await tzse.Display();

                return;
            }

            ReminderEmbed re = new ReminderEmbed(Context);
            await re.Display();
        }
Beispiel #2
0
 public async Task EditTimeZoneAsync([Remainder] string args = "")
 {
     TimeZoneSelectEmbed te = new TimeZoneSelectEmbed(Context);
     await te.Display();
 }