diff --git a/.github/ISSUE_TEMPLATE/bug-report.yml b/.github/ISSUE_TEMPLATE/bug-report.yml index 691e635..9c0524f 100644 --- a/.github/ISSUE_TEMPLATE/bug-report.yml +++ b/.github/ISSUE_TEMPLATE/bug-report.yml @@ -14,6 +14,15 @@ body: placeholder: Description validations: required: true + - type: textarea + id: expected-vs-actual-behavior + attributes: + label: Expected vs. Actual Behavior + description: | + Provide a description of the expected behavior compared to the actual behavior. + placeholder: Expected vs. Actual Behavior + validations: + required: true - type: textarea id: repro-steps attributes: @@ -23,54 +32,12 @@ body: placeholder: Minimal Reproduction validations: required: true - - type: textarea - id: expected-behavior - attributes: - label: Expected behavior - description: | - Provide a description of the expected behavior. - placeholder: Expected behavior - validations: - required: true - - type: textarea - id: actual-behavior - attributes: - label: Actual behavior - description: | - Provide a description of the actual behavior observed. If applicable please include any error messages, exception stacktraces or memory dumps. - placeholder: Actual behavior - validations: - required: true - - type: textarea - id: known-workarounds - attributes: - label: Known Workarounds - description: | - Please provide a description of any known workarounds. - placeholder: Known Workarounds - validations: - required: false - - type: textarea - id: configuration - attributes: - label: Configuration - description: | - Please provide more information on your configuration: - * Which version of .NET is the bot running on? - * What OS and version, and what distro if applicable? - * What is the architecture (x64, x86, ARM, ARM64)? - * Do you know whether it is specific to that configuration? - * If possible, please provide the Configuration.json for the affected guild - * If applicable, provide the member data JSON for the affected members - placeholder: Configuration - validations: - required: false - type: textarea id: other-info attributes: - label: Other information + label: Other Information description: | If you have an idea where the problem might lie, let us know that here. Please include any pointers to code, relevant changes, or related issues you know of. - placeholder: Other information + placeholder: Other Information validations: required: false diff --git a/.github/ISSUE_TEMPLATE/config.yml b/.github/ISSUE_TEMPLATE/config.yml index 3ba13e0..0086358 100644 --- a/.github/ISSUE_TEMPLATE/config.yml +++ b/.github/ISSUE_TEMPLATE/config.yml @@ -1 +1 @@ -blank_issues_enabled: false +blank_issues_enabled: true diff --git a/.github/ISSUE_TEMPLATE/feature-request.yml b/.github/ISSUE_TEMPLATE/feature-request.yml index e840cf6..2fd43c5 100644 --- a/.github/ISSUE_TEMPLATE/feature-request.yml +++ b/.github/ISSUE_TEMPLATE/feature-request.yml @@ -18,15 +18,6 @@ body: placeholder: Proposed Solution validations: required: true - - type: textarea - id: alternatives - attributes: - label: Considered Alternatives - description: | - Please provide a description of any alternative solutions or features you've considered. - placeholder: Considered Alternatives - validations: - required: false - type: textarea id: other-info attributes: diff --git a/.github/dependabot.yml b/.github/dependabot.yml index 77a6b9e..4545f2b 100644 --- a/.github/dependabot.yml +++ b/.github/dependabot.yml @@ -26,3 +26,7 @@ updates: labels: - "type: change" - "area: build/ci" + groups: + remora: + patterns: + - "Remora.Discord.*" diff --git a/src/Responders/MessageEditedResponder.cs b/src/Responders/MessageEditedResponder.cs index 7841b14..3b0a6aa 100644 --- a/src/Responders/MessageEditedResponder.cs +++ b/src/Responders/MessageEditedResponder.cs @@ -72,7 +72,8 @@ public class MessageEditedResponder : IResponder cacheKey, ct); if (!messageResult.IsDefined(out var message)) { - return Result.FromError(messageResult); + _ = _channelApi.GetChannelMessageAsync(channelId, messageId, ct); + return Result.FromSuccess(); } if (message.Content == newContent)