Skip to content

Commit

Permalink
refactor: Update Telegram bot command to handle arweave alias
Browse files Browse the repository at this point in the history
  • Loading branch information
Laisky committed Jul 17, 2024
1 parent c91259f commit 55355aa
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion internal/web/telegram/service/arweave_alias.go
Original file line number Diff line number Diff line change
Expand Up @@ -39,7 +39,7 @@ func init() {
var regexpAlias = regexp.MustCompile(`^[a-zA-Z0-9_\-]+$`)

func (s *Type) arweaveAliasHandler() {
s.bot.Handle("/arweave-alias", func(c tb.Context) error {
s.bot.Handle("/arweave_alias", func(c tb.Context) error {
m := c.Message()
s.userStats.Store(m.Sender.ID, &userStat{
user: m.Sender,
Expand Down

0 comments on commit 55355aa

Please sign in to comment.