mirror of
https://github.com/PluralKit/PluralKit.git
synced 2026-02-04 13:06:50 +00:00
feat: don't call GetCurrentProcess twice
This commit is contained in:
parent
35bbf199f6
commit
24a549341e
1 changed files with 1 additions and 1 deletions
|
|
@ -114,7 +114,7 @@ namespace PluralKit.Bot
|
|||
+ $" {counts.GroupCount:N0} groups,"
|
||||
+ $" {counts.SwitchCount:N0} switches,"
|
||||
+ $" {counts.MessageCount:N0} messages"))
|
||||
.Timestamp(Process.GetCurrentProcess().StartTime.ToString("O"))
|
||||
.Timestamp(process.StartTime.ToString("O"))
|
||||
.Footer(new($"PluralKit {BuildInfoService.Version} • https://github.com/xSke/PluralKit • Last restarted: ")); ;
|
||||
await ctx.Rest.EditMessage(msg.ChannelId, msg.Id,
|
||||
new MessageEditRequest { Content = "", Embed = embed.Build() });
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue