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:
parent
091e51ecc9
commit
632d737950
1 changed files with 1 additions and 2 deletions
|
@ -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;
|
||||
}
|
||||
|
|
Loading…
Add table
Reference in a new issue