Skip to content

Commit

Permalink
style: format code with gofumpt (#383)
Browse files Browse the repository at this point in the history
Format code with gofumpt

This commit fixes the style issues introduced in 12e48d1 according to the output
from gofumpt.

Details: https://app.deepsource.com/gh/divideprojects/Alita_Robot/transform/beda40eb-0cc1-4834-b4fc-cc924025f3a1/

Co-authored-by: deepsource-autofix[bot] <62050782+deepsource-autofix[bot]@users.noreply.github.com>
  • Loading branch information
deepsource-autofix[bot] authored Jun 11, 2023
1 parent 12e48d1 commit 84f2180
Showing 1 changed file with 1 addition and 3 deletions.
4 changes: 1 addition & 3 deletions alita/modules/bot_updates.go
Original file line number Diff line number Diff line change
Expand Up @@ -57,9 +57,7 @@ func botJoinedGroup(b *gotgbot.Bot, ctx *ext.Context) error {
return ext.EndGroups
}

var (
msgAdmin = "\n\nMake me admin to use me with my full abilities!"
)
msgAdmin := "\n\nMake me admin to use me with my full abilities!"

// used to check if bot was added as admin or not
if chat_status.IsBotAdmin(b, ctx, nil) {
Expand Down

0 comments on commit 84f2180

Please sign in to comment.