Skip to content

Commit

Permalink
fixed seg violation error
Browse files Browse the repository at this point in the history
  • Loading branch information
micr0-dev committed Dec 6, 2024
1 parent db76cbc commit 0898607
Showing 1 changed file with 6 additions and 1 deletion.
7 changes: 6 additions & 1 deletion main.go
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@ import (
)

// Version of the bot
const Version = "1.2.2"
const Version = "1.2.3"

// AsciiArt is the ASCII art for the bot
const AsciiArt = ` _ _ _ ___ _
Expand Down Expand Up @@ -172,6 +172,11 @@ func main() {

getStatus, err := c.GetStatus(ctx, originalStatusID)

if getStatus == nil {
log.Printf("Error fetching original status: %v", err)
break
}

if err != nil {
handleMention(c, e.Notification)
}
Expand Down

0 comments on commit 0898607

Please sign in to comment.