Fixed .timely button for sure this time

This commit is contained in:
Kwoth
2022-07-06 13:41:27 +02:00
parent 2fb4bb2ea4
commit 470bb9657f
2 changed files with 3 additions and 3 deletions

View File

@@ -138,7 +138,7 @@ public partial class Gambling : GamblingModule<GamblingService>
var tt = TimestampTag.FromDateTime(when, TimestampTagStyles.Relative);
await _remind.AddReminderAsync(ctx.User.Id,
ctx.Channel.Id,
ctx.User.Id,
ctx.Guild.Id,
true,
when,

View File

@@ -180,7 +180,7 @@ public class RemindService : INService, IReadyExecutor
}
public async Task AddReminderAsync(ulong userId,
ulong channelId,
ulong targetId,
ulong? guildId,
bool isPrivate,
DateTime time,
@@ -189,7 +189,7 @@ public class RemindService : INService, IReadyExecutor
var rem = new Reminder
{
UserId = userId,
ChannelId = channelId,
ChannelId = targetId,
ServerId = guildId ?? 0,
IsPrivate = isPrivate,
When = time,