mirror of
https://gitlab.com/Kwoth/nadekobot.git
synced 2025-09-10 09:18:27 -04:00
Fixed .timely button for sure this time
This commit is contained in:
@@ -138,7 +138,7 @@ public partial class Gambling : GamblingModule<GamblingService>
|
|||||||
var tt = TimestampTag.FromDateTime(when, TimestampTagStyles.Relative);
|
var tt = TimestampTag.FromDateTime(when, TimestampTagStyles.Relative);
|
||||||
|
|
||||||
await _remind.AddReminderAsync(ctx.User.Id,
|
await _remind.AddReminderAsync(ctx.User.Id,
|
||||||
ctx.Channel.Id,
|
ctx.User.Id,
|
||||||
ctx.Guild.Id,
|
ctx.Guild.Id,
|
||||||
true,
|
true,
|
||||||
when,
|
when,
|
||||||
|
@@ -180,7 +180,7 @@ public class RemindService : INService, IReadyExecutor
|
|||||||
}
|
}
|
||||||
|
|
||||||
public async Task AddReminderAsync(ulong userId,
|
public async Task AddReminderAsync(ulong userId,
|
||||||
ulong channelId,
|
ulong targetId,
|
||||||
ulong? guildId,
|
ulong? guildId,
|
||||||
bool isPrivate,
|
bool isPrivate,
|
||||||
DateTime time,
|
DateTime time,
|
||||||
@@ -189,7 +189,7 @@ public class RemindService : INService, IReadyExecutor
|
|||||||
var rem = new Reminder
|
var rem = new Reminder
|
||||||
{
|
{
|
||||||
UserId = userId,
|
UserId = userId,
|
||||||
ChannelId = channelId,
|
ChannelId = targetId,
|
||||||
ServerId = guildId ?? 0,
|
ServerId = guildId ?? 0,
|
||||||
IsPrivate = isPrivate,
|
IsPrivate = isPrivate,
|
||||||
When = time,
|
When = time,
|
||||||
|
Reference in New Issue
Block a user