1
0
Fork 1
mirror of https://github.com/TeamOctolings/Octobot.git synced 2025-04-19 16:33:36 +03:00

inlined (?) variable message.id.value

This commit is contained in:
neroduckale 2023-12-05 22:02:37 +05:00
parent 091e51ecc9
commit 632d737950
WARNING! Although there is a key with this ID in the database it does not verify this commit! This commit is SUSPICIOUS.
GPG key ID: 399E73062E1A3667

View file

@ -163,14 +163,13 @@ public class RemindCommandGroup : CommandGroup
return (Result)messageResult;
}
var messageId = message.ID.Value;
memberData.Reminders.Add(
new Reminder
{
At = remindAt,
ChannelId = channelId.Value,
Text = text,
MessageId = messageId
MessageId = message.ID.Value
});
return (Result)messageResult;
}