Skip to content

Commit

Permalink
Update Xcode typo correction matcher
Browse files Browse the repository at this point in the history
  • Loading branch information
kiliankoe committed Jul 4, 2023
1 parent fa30ab8 commit 2a3674a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Sources/SwiftDEBot/Command/Message Commands/Xcode.swift
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ struct XcodeTypoCommand: MessageCommand {

func run(client: DiscordClient, message: Gateway.MessageCreate) async throws {
let content = message.content
guard content.contains(" XCode") || content.contains(" xCode"),
guard content.contains("XCode") || content.contains("xCode"),
let handle = message.author?.mentionHandle
else {
return
Expand Down

0 comments on commit 2a3674a

Please sign in to comment.