From 1f11e4f227b79416f39c2895302851d315ba57d2 Mon Sep 17 00:00:00 2001 From: Ene <4186225-Kieteyuku@users.noreply.gitlab.com> Date: Wed, 24 Apr 2024 09:59:11 +0000 Subject: [PATCH 1/3] Correctly label auto-restart options --- docs/guides/linux-guide.md | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/docs/guides/linux-guide.md b/docs/guides/linux-guide.md index d1fdfbecd..e3af6db6c 100644 --- a/docs/guides/linux-guide.md +++ b/docs/guides/linux-guide.md @@ -180,8 +180,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` From 236a8aa9ac965c7363fe97204a3e55ca39f99d6f Mon Sep 17 00:00:00 2001 From: Hokuto Chen Date: Fri, 26 Apr 2024 05:00:41 +0000 Subject: [PATCH 2/3] Removed random W --- docs/guides/linux-guide.md | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/docs/guides/linux-guide.md b/docs/guides/linux-guide.md index d1fdfbecd..a812437c9 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 | | :-------------------------------------------------- | @@ -180,8 +180,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` From 6c305860bc52125ee177147ed7a8a2c674cf9a67 Mon Sep 17 00:00:00 2001 From: Kwoth Date: Fri, 26 Apr 2024 12:49:55 +0000 Subject: [PATCH 3/3] Fixed some compilation warnings --- src/NadekoBot/Modules/Administration/Self/DoAsUserMessage.cs | 5 ++++- src/NadekoBot/NadekoBot.csproj | 2 +- 2 files changed, 5 insertions(+), 2 deletions(-) diff --git a/src/NadekoBot/Modules/Administration/Self/DoAsUserMessage.cs b/src/NadekoBot/Modules/Administration/Self/DoAsUserMessage.cs index 5eebaa1cb..ff21f0ab1 100644 --- a/src/NadekoBot/Modules/Administration/Self/DoAsUserMessage.cs +++ b/src/NadekoBot/Modules/Administration/Self/DoAsUserMessage.cs @@ -113,6 +113,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; @@ -146,5 +147,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 diff --git a/src/NadekoBot/NadekoBot.csproj b/src/NadekoBot/NadekoBot.csproj index a22f2f9fe..74ccbd626 100644 --- a/src/NadekoBot/NadekoBot.csproj +++ b/src/NadekoBot/NadekoBot.csproj @@ -60,7 +60,7 @@ - +