Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion commands/decrypt-group/decryptCommands.cs
Original file line number Diff line number Diff line change
Expand Up @@ -46,7 +46,7 @@ public async Task Morse([Summary("message", "the text you want to decrypt")] str
{
await DeferAsync(ephemeral: true);

if (key.Any(char.IsLetter) == false)
if (key.All(char.IsLetter) == false)
{
await FollowupAsync(text: "❌ The message *cannot* be encrypted because the key contains non-alphabetic characters.", ephemeral: true);
}
Expand Down
Loading