diff --git a/docs/guides/linux-guide.md b/docs/guides/linux-guide.md index 551dca16d..1c643722a 100644 --- a/docs/guides/linux-guide.md +++ b/docs/guides/linux-guide.md @@ -1,4 +1,4 @@ -w# Setting up NadekoBot on Linux +# Setting up NadekoBot on Linux | Table of Contents | | :-------------------------------------------------- | @@ -175,8 +175,8 @@ Choose: [1] to Run NadekoBot with Auto Restart on "die" command without updating. [2] to Run with Auto Updating on restart after using "die" command. ``` -- Run `1` to update the bot upon restart. (This is done using the `.die` command) -- Run `2` to restart the bot without updating. (This is also done using the `.die` command) +- Run `1` to restart the bot without updating. (This is done using the `.die` command) +- Run `2` to update the bot upon restart. (This is also done using the `.die` command) 5. That's it! to detatch the tmux session: - Press `Ctrl` + `B` diff --git a/src/Nadeko.Bot.Common/DoAsUserMessage.cs b/src/Nadeko.Bot.Common/DoAsUserMessage.cs index 950ed4914..7c66fc6e6 100644 --- a/src/Nadeko.Bot.Common/DoAsUserMessage.cs +++ b/src/Nadeko.Bot.Common/DoAsUserMessage.cs @@ -114,6 +114,7 @@ public sealed class DoAsUserMessage : IUserMessage public MessageFlags? Flags => _msg.Flags; + [Obsolete("Obsolete in favor of InteractionMetadata")] public IMessageInteraction Interaction => _msg.Interaction; public MessageRoleSubscriptionData RoleSubscriptionData => _msg.RoleSubscriptionData; @@ -147,5 +148,7 @@ public sealed class DoAsUserMessage : IUserMessage public MessageResolvedData ResolvedData => _msg.ResolvedData; public IUserMessage ReferencedMessage => _msg.ReferencedMessage; - public IMessageInteractionMetadata InteractionMetadata { get; } + + public IMessageInteractionMetadata InteractionMetadata + => _msg.InteractionMetadata; } \ No newline at end of file