gohumble
aaa8a3cc19
WIP: rate limiter per chat ( #86 )
...
* add rate limiter per chat
* differentiate between global and chat rate limiting
* remove diffs
* resolve conflicts
* resolve conflict
* refactor limiter
* rename
* rename
* logs
* remove logs
* reset buckets
* new rate limiter
* fix comments
* separate id and global limiter
* rename stuff
* reset bucket size
Co-authored-by: callebtc <93376500+callebtc@users.noreply.github.com>
2021-12-06 22:22:02 +01:00
gohumble
25d9b8af3b
Check admin rights ( #152 )
...
* add rightsToDoAction
* comments
* comments
* typo
* check for id
* return CanEditMessages
2021-12-06 20:08:33 +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
eeb9d5224e
revert ( #148 )
...
Co-authored-by: callebtc <93376500+callebtc@users.noreply.github.com>
2021-12-01 07:11:49 +01:00
LightningTipBot
79112717cf
Telebot update ( #146 )
...
* update telebot
* test message
* revert
Co-authored-by: callebtc <93376500+callebtc@users.noreply.github.com>
2021-12-01 07:08:46 +01:00
LightningTipBot
4a9a77d5f1
Telebot update ( #145 )
...
* update telebot
* test message
Co-authored-by: callebtc <93376500+callebtc@users.noreply.github.com>
2021-12-01 06:05:20 +01:00
LightningTipBot
4ba892908b
update telebot ( #144 )
...
Co-authored-by: callebtc <93376500+callebtc@users.noreply.github.com>
2021-12-01 05:32:53 +01:00
LightningTipBot
3891c70344
banned prefix filter ( #141 )
...
Co-authored-by: callebtc <93376500+callebtc@users.noreply.github.com>
2021-11-26 13:36:02 +01:00
LightningTipBot
6e6c9e02a4
donate message ( #140 )
...
Co-authored-by: callebtc <93376500+callebtc@users.noreply.github.com>
2021-11-19 21:23:39 +01:00
LightningTipBot
488fab7f9f
expressive errors ( #139 )
...
Co-authored-by: callebtc <93376500+callebtc@users.noreply.github.com>
2021-11-18 22:04:29 +01:00
LightningTipBot
8f569ed4c3
send input ( #138 )
...
* send input
* remove message limiter
* write invoice into tx db
* do not delete tip twice
* hide link after 60 sedondw
* refactor button text update
* remove print
* translations enter user
* add tr
* no error on invalid user input
* printing fix
Co-authored-by: callebtc <93376500+callebtc@users.noreply.github.com>
2021-11-17 19:51:51 +01:00
LightningTipBot
3f26f0b44f
copy handlelnurl ( #137 )
...
* copy handlelnurl
* rephrase error
Co-authored-by: callebtc <93376500+callebtc@users.noreply.github.com>
2021-11-16 20:40:19 +01:00
LightningTipBot
1f25cc6ded
Add russian translation ( #136 )
...
* Add Russian translation
* turn on ru.toml
* load gently
Co-authored-by: Filiph Protsenko <filprocenko@gmail.com>
Co-authored-by: callebtc <93376500+callebtc@users.noreply.github.com>
2021-11-15 16:41:34 +01:00
LightningTipBot
69b0dd5a4a
Lnurl errors localized1 ( #134 )
...
* verbose errors
* add translations
Co-authored-by: callebtc <93376500+callebtc@users.noreply.github.com>
2021-11-15 11:42:35 +01:00
calle
e1d858752f
emojis for logging ( #133 )
...
* emojis for logging
* emojis for logging
2021-11-15 10:18:57 +01:00
LightningTipBot
88bbd4d2cf
Fix lnurlpserver ( #132 )
...
* fix server
* go-lnurl v1.8.4
* encode
Co-authored-by: callebtc <93376500+callebtc@users.noreply.github.com>
2021-11-15 01:12:52 +01:00
LightningTipBot
8c4adb4dd4
Fix lnurlpserver ( #131 )
...
* fix server
* go-lnurl v1.8.4
Co-authored-by: callebtc <93376500+callebtc@users.noreply.github.com>
2021-11-15 01:03:09 +01:00
LightningTipBot
9290f55fa4
fix server ( #130 )
...
Co-authored-by: callebtc <93376500+callebtc@users.noreply.github.com>
2021-11-15 00:02:10 +01:00
LightningTipBot
0653498e0f
Lnurl withdraw ( #129 )
...
* go-lnurl --> v1.8.4
* clean up comments
* delete HandleLNURL()
* lnurl-withdrawal
* actual file
* remove comments
* remove comments
* refactor translation
* translations
* add type check and
* translations
Co-authored-by: callebtc <93376500+callebtc@users.noreply.github.com>
Co-authored-by: lngohumble <lngohumble@gmail.com>
2021-11-14 22:25:47 +01:00
gohumble
dd57247266
increase lnbits pay timeout ( #127 )
2021-11-14 22:03:14 +01:00
gohumble
051174bd1c
using anyChosenInlineHandler ( #128 )
...
* using anyChosenInlineHandler
* error logging
2021-11-14 21:57:54 +01:00
Koty
5eaf380e91
Tipjar translations into Spanish and Portuguese ( #122 )
...
* For mango-selling grannies in Brazil
* Update pt-br.toml
#TIPJAR pt-br translation
* Update es.toml :)
#TIPJAR es ahora alcancía
* Update es.toml
minor fix
* Update pt-br.toml
Minor fixes to pt-br.toml file
* remove pt.toml
2021-11-14 21:53:48 +01:00
LightningTipBot
fb73c1fe08
markdown escape usernames ( #126 )
2021-11-11 11:56:53 +01:00
LightningTipBot
4a03724540
fix lnurl parsing and comment saving ( #125 )
2021-11-09 17:54:35 +01:00
LightningTipBot
5725a0c9c0
do not return ( #123 )
...
* do not return
* warn not error
2021-11-03 20:08:56 +01:00
LightningTipBot
d8a98ad433
fix ( #120 )
2021-11-01 19:03:24 +01:00
LightningTipBot
11edce049e
General amount ( #118 )
...
* generalized amount started
* add new file
* uncomment old pay
* longer comments
* lnurl pay with generalized amount input
* generalized amount for /invoice
* amount input for all commands
* remove logging
* delete old comments
2021-10-30 21:26:01 +02:00
LightningTipBot
e4833bd9c6
User cache ( #117 )
...
* adding users cache in memory
* adding users cache in memory
* adding eko/gocache and removing CopyLowercaseUser
* using UpdateUserRecord
* updateCachedUser in user states
* remove redundant updatePersistentUser
* refactor
* remove cachedUser
* remove user chan
* errors for failed invoice creation
* errors for failed invoice and failed pay
* add GetUserBalanceCached inline commands
* translation
* remove redundant set user state reset state
* update cache ttl
Co-authored-by: lngohumble <lngohumble@gmail.com>
2021-10-29 22:04:53 +02:00
LightningTipBot
51c410c045
Tipjar hotfix2: translations and help ( #116 )
...
* translations and help
* shorten it
2021-10-27 15:23:01 +02:00
LightningTipBot
f0385128db
add username to tipjar ( #115 )
2021-10-27 12:04:32 +02:00
LightningTipBot
c90cfd9d8a
tipjar ( #114 )
...
* tipjar
* tipjar
* fix pointers and wallet keys
* better comment
2021-10-27 11:55:59 +02:00
LightningTipBot
97b6e8f043
LNURL errors verbose ( #110 )
...
* internal/telegram/lnurl.go
* update gjson
2021-10-26 19:37:04 +02:00
LightningTipBot
8da9e0c38c
atoi is 32 bit only, change to ParseInt ( #109 )
2021-10-24 20:52:24 +02:00
LightningTipBot
fd9ad39b0c
anonymous user ID for lnurl ( #107 )
...
* anonymous user ID for lnurl
* anonymous lnurl
* migrate at every start, not good
* anon id at user creation
* migrations file
* fix database migration task
* remove comment
* anon label
Co-authored-by: lngohumble <lngohumble@gmail.com>
2021-10-24 20:31:52 +02:00
LightningTipBot
bb00253122
Translation Indonesian ( #106 )
...
* Translation to Indonesian language
First time using github but I think I did everything correctly though.
Truly sorry if I've made a noob mistake
Trying to make the language as friendly yet polite and as formal as possible
Thanx and keep up the great work
* inline commands in english
* readd en.toml
* enable translation
Co-authored-by: hmalau <92701132+hmalau@users.noreply.github.com>
2021-10-18 20:46:59 +02:00
LightningTipBot
10c9121cc7
lnurl for user id ( #104 )
...
* lnurl for user id
* adjust help
2021-10-18 10:30:07 +02:00
LightningTipBot
236097a461
inline send and receive to specific user ( #103 )
2021-10-17 16:13:41 +02:00
LightningTipBot
22d4ab284c
turkish translations ( #101 )
...
* turkish translations
* fix
* fix
* fix
* add tr.toml
2021-10-13 17:13:28 +03:00
LightningTipBot
3a2c5b2c51
Portuguese ( #100 )
...
* For mango-selling grannies in Brazil
* fix
* rename to pt-br.toml
Co-authored-by: Koty <89604768+kotyauditore@users.noreply.github.com>
2021-10-13 09:01:06 +03:00
LightningTipBot
c7212131fa
Fix fr.toml ( #99 )
...
* Create fr.toml
French translation
* Update with correct line breaks
* typo change
* fix mistakes, enable fr.toml
Co-authored-by: Nicolas Bustamante <92287725+nbstme@users.noreply.github.com>
2021-10-13 08:43:37 +03:00
LightningTipBot
88fdb4de9b
small fix
2021-10-11 18:20:25 +03:00
Bas Simons
693f12470c
Better dutch translations ( #95 )
...
* Update nl.toml
better dutch
* Update nl.toml
2021-10-11 09:08:37 +03:00
Nicolas Bustamante
887751cb0f
small typo ( #96 )
2021-10-11 09:07:44 +03:00
LightningTipBot
08c7ff5113
Fiat price hotfix2 ( #94 )
...
* INR added
* also accept currency string
* dividion by 0
* better check
2021-10-08 10:53:33 +03:00
LightningTipBot
7c77d268f6
Fiat price hotfix2 ( #93 )
...
* INR added
* also accept currency string
* dividion by 0
2021-10-08 10:51:43 +03:00
LightningTipBot
61bc3710c0
Fiat price hotfix2 ( #92 )
...
* INR added
* also accept currency string
2021-10-08 10:45:29 +03:00
gohumble
a880d7b044
Contains -> HasPrefix || HasSuffix ( #91 )
...
Co-authored-by: LightningTipBot <hWOofXvq4m@mail.com>
2021-10-08 08:42:19 +02:00
LightningTipBot
8c7c22b0d8
price checker ( #90 )
...
* price checker
* more currencies
* debug messages
2021-10-08 08:35:46 +02:00