gohumble
|
bf643f103d
|
🪄 update telebot v3 🤖 (#325)
* 🚧 minor changes to all handlers...
* 🚧 passing callback to tryEditStack
* 🚧 edit and delete callback messages
* 🚧 refactor again
* 🚧 uncomment this
* 🚧 using ctx.Message().Text
* 🚧 refactor
* 🚧 refactor
* 🚧 uncomment
* context not queruy
* 🚧 update forked lightningtipbot
* 🚧 reset ArticleResult
* fix inline receive
* readd shop
* remove chat from shopView
Co-authored-by: callebtc <93376500+callebtc@users.noreply.github.com>
|
2022-03-27 22:19:38 +02:00 |
|
calle
|
71d8aa202c
|
Group invite link management (#310)
* group invite link
* link
* works
* ticketinvoiceevent type
* Add invoice event interface
* add AssertEventType
* generalize AssertEventType invocation
* wip: payment button
* all new
* callback
* fix TicketEvent Key()
* invoiceEvent in ticketEvent
* fix errors
* add payment button
* commission
* minimum price
* remove redundant ticket event data
* commission
* fixes
* update balance
* notify user if ticket < 10
* commission rounding error
* refactor
* refactor
* /join
* add /join handler
* fix handler
* fix /join
* fix handler
* fix /join interceptor
* add startUserInterceptor
* delete qr
* no test blyad
* fix defer
* message
Co-authored-by: gohumble <lngohumble@gmail.com>
|
2022-03-17 00:21:28 +01:00 |
|
gohumble
|
54beceba32
|
add empty callback response (#301)
* add empty response
* commend
Co-authored-by: callebtc <93376500+callebtc@users.noreply.github.com>
|
2022-02-07 22:03:17 +01:00 |
|
LightningTipBot
|
545d20d043
|
Mutex fix 329823hf (#287)
* big change
* mutex
* global lock
* another lock
* fix log
* trySendMessageEditable added
* defer before return
Co-authored-by: callebtc <93376500+callebtc@users.noreply.github.com>
|
2022-01-14 20:34:20 +01:00 |
|
LightningTipBot
|
5a25f07bfb
|
callback responses (#279)
Co-authored-by: callebtc <93376500+callebtc@users.noreply.github.com>
|
2022-01-09 22:20:42 +01:00 |
|
gohumble
|
4e812f7897
|
add errors to handler (#273)
* add errors to handler
* add errors to handlers
* shop fixes (#274)
Co-authored-by: callebtc <93376500+callebtc@users.noreply.github.com>
* better log (#275)
Co-authored-by: callebtc <93376500+callebtc@users.noreply.github.com>
* add errors to map
* more errors
* rename NoWalletError
* fix one panic (#276)
Co-authored-by: callebtc <93376500+callebtc@users.noreply.github.com>
* add invalid type error
* Shop panic attempt 2 (#277)
* less log
* fix shop first view
Co-authored-by: callebtc <93376500+callebtc@users.noreply.github.com>
* make errors private
* add errors to handler
* add errors to handlers
* add errors to map
* more errors
* rename NoWalletError
* add invalid type error
* make errors private
* patch
* return handlers
* add noPrivateChat
* add invalid amount err
Co-authored-by: LightningTipBot <88730856+LightningTipBot@users.noreply.github.com>
Co-authored-by: callebtc <93376500+callebtc@users.noreply.github.com>
|
2022-01-09 21:39:09 +01:00 |
|
LightningTipBot
|
e70344892f
|
shop fixes (#274)
Co-authored-by: callebtc <93376500+callebtc@users.noreply.github.com>
|
2022-01-09 11:08:27 +01:00 |
|
LightningTipBot
|
ec319cc691
|
fix ban (#260)
Co-authored-by: callebtc <93376500+callebtc@users.noreply.github.com>
|
2022-01-04 13:49:31 +01:00 |
|
LightningTipBot
|
c6a064b332
|
Banned entirely (#259)
* do not react to banned users
* do not respond to banned
Co-authored-by: callebtc <93376500+callebtc@users.noreply.github.com>
|
2022-01-04 13:32:10 +01:00 |
|
gohumble
|
151ed39b04
|
add once + singleton click interceptor (#229)
* speed up tx lock
* yolo master
* add once + singleton click interceptor
* yoooo;
* stuff
Co-authored-by: callebtc <93376500+callebtc@users.noreply.github.com>
|
2021-12-26 00:23:58 +01:00 |
|
gohumble
|
6aa05c8faa
|
Callback response (#200)
* add answerCallbackInterceptor
* use answerCallbackInterceptor
* fix nil response
|
2021-12-24 02:22:41 +01:00 |
|
LightningTipBot
|
f9aed70869
|
Soft lock (#198)
* add Lock and Unlock soft
* Update mutex.go
* sync mutex
* mutex bracket
* add idInterceptor
* context lock
Co-authored-by: lngohumble <lngohumble@gmail.com>
Co-authored-by: callebtc <93376500+callebtc@users.noreply.github.com>
|
2021-12-24 00:12:57 +01:00 |
|
LightningTipBot
|
67cff58c63
|
Revert "Soft lock (#195)" (#196)
This reverts commit 4730c94c84.
|
2021-12-23 19:29:14 +01:00 |
|
LightningTipBot
|
4730c94c84
|
Soft lock (#195)
* add Lock and Unlock soft
* Update mutex.go
Co-authored-by: lngohumble <lngohumble@gmail.com>
|
2021-12-23 19:25:55 +01:00 |
|
LightningTipBot
|
e53ef94306
|
Revert "add Lock and Unlock soft (#193)" (#194)
This reverts commit a9f2728c93.
|
2021-12-23 19:08:06 +01:00 |
|
gohumble
|
a9f2728c93
|
add Lock and Unlock soft (#193)
|
2021-12-23 19:06:15 +01:00 |
|
gohumble
|
fa234d4073
|
remove user mutex log message (#186)
|
2021-12-23 15:50:41 +01:00 |
|
gohumble
|
dd88c93474
|
add mutex package (#185)
* add mutex package
* fix cancelSendHandler
|
2021-12-23 15:47:18 +01:00 |
|
LightningTipBot
|
ee656dc5f0
|
Mutex fix 420 (#183)
* speed up tx lock
* handling
Co-authored-by: callebtc <93376500+callebtc@users.noreply.github.com>
|
2021-12-23 11:16:26 +01:00 |
|
LightningTipBot
|
f8fadb1729
|
Onlysats (#181)
* speed up tx lock
* add shops
* shop
* scrolling
* 🚀 add state stateCallbackMessage 🚀
* no shop
* scroll
* add shop browser
* scroll bug
* add buttons.go
* scrolling
* shop
* lnurl print after serving
* shop deletion
* adding and removing shops
* display photo captions
* refactor
* shops
* shops
* files work
* rename shop
* error handling
* fixes
* payments
* confirm delete all shops
* adding new items fix
* own bunt db for shop
* unlock transaction
* remove double print
* add transaction.Lock(id)
* unlock getShop
* add default interceptors to shop
* more files
* go sleep
* add fileStateResetTicker
* async sleep
* add runtime.ResettableFunctionTicker
* remove default duration
* generalized concurrent mutex
* simplify function ticker
* status message ticker queue
* add start index to shopViewDeleteAllStatusMsgs
Co-authored-by: callebtc <93376500+callebtc@users.noreply.github.com>
Co-authored-by: lngohumble <lngohumble@gmail.com>
|
2021-12-23 10:16:13 +01:00 |
|
gohumble
|
64f9492af2
|
update no private chat error message (#177)
|
2021-12-22 18:03:03 +01:00 |
|
gohumble
|
a59a7c226d
|
defer intercept after before intercept error check (#173)
* defer intercept after before intercept error check.
* log trace level
Co-authored-by: callebtc <93376500+callebtc@users.noreply.github.com>
|
2021-12-22 14:40:48 +01:00 |
|
LightningTipBot
|
f50e6ced71
|
test mutex (#158)
Co-authored-by: callebtc <93376500+callebtc@users.noreply.github.com>
|
2021-12-08 22:22:11 +01:00 |
|
gohumble
|
1b922c03a9
|
mutex interceptor patch to prevent concurrent map read / write (#157)
* add handlerMapMutex
* cleanup
|
2021-12-08 09:55:56 +01:00 |
|
gohumble
|
f6768b72ea
|
Mutex lock per Telegram User ID (#156)
* lets go
* dunno
* fix after interceptor
* getTelegramUserFromInterface
* clean up requireUserInterceptor
* clean up bs
* cleanup
* cleanup2
* add comment
* fix before default interceptor
* async sleep
* back to 60
* remove newline
* adding defer interceptor
* handlers tighter
Co-authored-by: callebtc <93376500+callebtc@users.noreply.github.com>
|
2021-12-07 22:55:21 +01:00 |
|
LightningTipBot
|
ba6bf0a317
|
telebot fork user ID int64 (#151)
Co-authored-by: callebtc <93376500+callebtc@users.noreply.github.com>
|
2021-12-01 11:24:28 +01:00 |
|
LightningTipBot
|
0abe56dfba
|
Revert "telebot fork user ID int64 (#149)" (#150)
This reverts commit 7c8ba7895d.
|
2021-12-01 08:59:51 +01:00 |
|
LightningTipBot
|
7c8ba7895d
|
telebot fork user ID int64 (#149)
Co-authored-by: callebtc <93376500+callebtc@users.noreply.github.com>
|
2021-12-01 08:52:47 +01:00 |
|
LightningTipBot
|
c90cfd9d8a
|
tipjar (#114)
* tipjar
* tipjar
* fix pointers and wallet keys
* better comment
|
2021-10-27 11:55:59 +02:00 |
|
LightningTipBot
|
903cc3c2e2
|
Lnurlp comments (#89)
* lnurl comments for RECEIVING
* fix import cycle
* fix import
* rename WebhookServer to Server
* rename LNURLInvoice to Invoice
* add str package. MarkdownEscape lnurl.Invoice comment
* add str package
* check for comment length
* lnurl pay with comment
* lnurl pay with comment
* check for wallet existence
* repackage main to internal
Co-authored-by: lngohumble <lngohumble@gmail.com>
|
2021-10-07 00:21:21 +03:00 |
|