Ecosyste.ms: OpenCollective

An open API service for software projects hosted on Open Collective.

github.com/PitchBlackRecoveryProject/pbrp_tg_bot

Offiical Telegram Bot of PBRP
https://github.com/PitchBlackRecoveryProject/pbrp_tg_bot

Add option to have multiple words in a warn filter

dea77936bbdc9c11e48f0397ee684368d439c49c authored almost 7 years ago by Paul Larsen <[email protected]>
update help strings

c2f9b8cbfdf4e5a1bb615eb3cf15e594b4c105a1 authored almost 7 years ago by Paul Larsen <[email protected]>
Fix an incorrectly named variable

6bc3d1805229d4c01c0cf0a105d20b15b6b17ed3 authored almost 7 years ago by Paul Larsen <[email protected]>
Fix a bug causing the wrong handler to be used

900f9ed6eda1e95f695d7d040a3a2f7e0ab4843d authored almost 7 years ago by Paul Larsen <[email protected]>
Switch from print to logger calls

18fb6dff82dae17aaa25d946f5d0c16dbdb5a372 authored almost 7 years ago by Paul Larsen <[email protected]>
add locktype of url to stop people sending links.

`alter table permissions add column url boolean default false;`
Will need to execute this in psq...

c709a99786eaf10a064e62b1cb014f182f1ec409 authored almost 7 years ago by Paul Larsen <[email protected]>
Move user+text extraction to helper functions, so that gbans can use it as well as locks

b6075c1fc90fad94fa2a203f83b53999b16a5f66 authored almost 7 years ago by Paul Larsen <[email protected]>
Refactor helper_funcs into its own subdirectory.

Original file was getting messy and too long for it's own good.

be50f91935d0d8a80783c1ab481352dbea43ca1a authored almost 7 years ago by Paul Larsen <[email protected]>
remove annoying kicked message

b1cf2cff93335ccc74fd6f43ea528f4db926ed38 authored almost 7 years ago by Paul Larsen <[email protected]>
Some migration changes

46c2369037596fcd64400e920393ac321909d84e authored almost 7 years ago by Paul Larsen <[email protected]>
Add an exception for misimported gb messages

609188cbc947bb270efbf98fcf9b2d6543b4b2e2 authored almost 7 years ago by Paul Larsen <[email protected]>
Fix a logic error affecting the importing of messages

cfdb0ab773278d43ee6a5e769a0eb8bde6d3bc34 authored almost 7 years ago by Paul Larsen <[email protected]>
Add gban whitelists, to disable gbans in some groups.

72b5618ef30d45d61be60ec158c671ff952e43de authored almost 7 years ago by Paul Larsen <[email protected]>
Add an exception handler around the get_file method

d7837755dae52c56b68be8d9eadb7c27d3fbb94a authored almost 7 years ago by Paul Larsen <[email protected]>
Stop people using a python version under 3.6. This breaks markdown parsing, and confuses me when reading error messages.

700080806306621c0777afedadd3b481fd26c7f3 authored almost 7 years ago by Paul Larsen <[email protected]>
remove print

ad7d4c3d1181860fbe681cfb9c4ac371bdd5be66 authored almost 7 years ago by Paul Larsen <[email protected]>
fix warn import bug

aaaefb374fac49a215b3dbc651905ba6c9e3f37c authored almost 7 years ago by Paul Larsen <[email protected]>
Add a method to import notes from group butler snap backups.

953b41dc9971a79d033113afc27ee8277b828a59 authored almost 7 years ago by Paul Larsen <[email protected]>
Don't need to be admin to get current flood setting

389914e02166319d84a176ffb15ad7fe9783776e authored almost 7 years ago by Paul Larsen <[email protected]>
Avoid a rules error when people dont set the welcome link right

e98ac8cca6da8fed5e1d7b6d76ed97f0f749a657 authored almost 7 years ago by Paul Larsen <[email protected]>
Don't allow modules with the same name

c27c13ce531289b863b9e97aeb9731973ebf860e authored almost 7 years ago by Paul Larsen <[email protected]>
Dont want to gban self

12f02900083b2ad86758cd87ec72f6cf7fdee9f0 authored almost 7 years ago by Paul Larsen <[email protected]>
add some pep8

32f75bb6e4292df6d9aa61ea70ecb031ab6eac9e authored almost 7 years ago by Paul Larsen <[email protected]>
Fix gban enforcing.

I need code review don't I.

b6637c92d406fc153f129e09690d0522166d0e40 authored almost 7 years ago by Paul Larsen <[email protected]>
Add rule button instructions to welcome messages

103a496e4c5b85f85859c120aae8733cff15547b authored almost 7 years ago by Paul Larsen <[email protected]>
Allow for rules and help messages to be sent to PM via a button

f0a830c7a73fdbe51c4ff39a528cf12759923e68 authored almost 7 years ago by Paul Larsen <[email protected]>
Add a string for when the bot infos itself

3293ce747a351d94e9c6e531740c92b3336b279b authored almost 7 years ago by Paul Larsen <[email protected]>
Fix a possible nonetype

c39573f893032e1653b34dd9dcdcee87518525eb authored almost 7 years ago by Paul Larsen <[email protected]>
Use a better error type + add BAN_STICKER variable

a71d089f6ff041baa89eb240762fad767c3d9984 authored almost 7 years ago by Paul Larsen <[email protected]>
Ignore exceptions when sending to all users

0320eef4c8bb7400dc61d3ebd6e872dc6202d054 authored almost 7 years ago by Paul Larsen <[email protected]>
fix a list/set bug which was breaking gbans

96d4c27e617d527370891e414e769a0e9db4d3c9 authored almost 7 years ago by Paul Larsen <[email protected]>
Fix some strings, and a ban bug

85080e28e0a0f42aa68127fc200efc5b3cf003f7 authored almost 7 years ago by Paul Larsen <[email protected]>
add user extraction to /me and /bio

6574bbbfb58fc774a4acfda299936dd3aaa3ee0d authored almost 7 years ago by Paul Larsen <[email protected]>
Add /slap and /info user extraction

0f6da002f263ee93978ac3e325d847b8f88e1996 authored almost 7 years ago by Paul Larsen <[email protected]>
Add extract_user support for /id

a25cc24aa1fc2991c222f661786abd39b6bc8eff authored almost 7 years ago by Paul Larsen <[email protected]>
Send gban/ungban messages to ALL sudo and support users, and allow all sudoers to use /stats

bb8546ab676343ac6cce2911c4d5fab93c021bc1 authored almost 7 years ago by Paul Larsen <[email protected]>
Add workers as a possible variable

f13ed5b21b3428f0769cac174f2ae431e84f3dc5 authored almost 7 years ago by Paul Larsen <[email protected]>
Catch a sed exception from invalid regex

67ef7bfb2ef703aa229570acd2a9defe732576d8 authored almost 7 years ago by Paul Larsen <[email protected]>
async gban enforcing

f338a7c069f2dc85e9e1639c99734a6dd775fbfb authored almost 7 years ago by Paul Larsen <[email protected]>
use in the id message

199ba20c0640083f2f98fc3b1c3bc996f9ba929b authored almost 7 years ago by Paul Larsen <[email protected]>
Implement strict gbans

4964147b918d715daf94533dad6d7204ce91467f authored almost 7 years ago by Paul Larsen <[email protected]>
Add forwarded messages to user database

f9a63521e7e92cb5494aac82edaad39504c459cd authored almost 7 years ago by Paul Larsen <[email protected]>
Order filters and notes.

Filters are length+alphabetical, notes are alphabetical.

1f12c390666747a5bcb00f5e9907c69cf98efaa3 authored almost 7 years ago by Paul Larsen <[email protected]>
Let's sort the modules for a predictable output.

c2752d08f66c6caf1f748036a116ac6bfa3f4ce2 authored almost 7 years ago by Paul Larsen <[email protected]>
Noone can escape a typo

5fb6853801ddc1042c4d5414e282f22845356326 authored almost 7 years ago by Paul Larsen <[email protected]>
Don't do flood checks on status update messages.

db6bc9c845d2568f38bb1b7980d1bbc6b901a4d7 authored almost 7 years ago by Paul Larsen <[email protected]>
More info in the /info command

6d817d15226f92dd3d5920ceac4b1cea2def3006 authored almost 7 years ago by Paul Larsen <[email protected]>
Upgrade the /info command to have more information about a user.

40ed08024694fcbaa438b55e2d2238acc28df31f authored almost 7 years ago by Paul Larsen <[email protected]>
Change the /id string

f2b917335081794b8fd7ee8469b2481b66328eaa authored almost 7 years ago by Paul Larsen <[email protected]>
Enable the DEL_CMD config variable which deletes messages from users which they arent allowed to execute - usually because of bluetext syndrome.

9706c0220319ab902fca2af3603bcc79435862fe authored almost 7 years ago by Paul Larsen <[email protected]>
Add a gban database, and add reasons for gbanning as well. also add /gbanlist command

b3856fc594e7f034a80e4f3b39383c28be1c61a4 authored almost 7 years ago by Paul Larsen <[email protected]>
Add more user tiers.

Create to more user tiers with less privileges than sudo users.

Support users can gban/ungban, ...

cca66546f0eef9935d9073be67b7a5d6f489247c authored almost 7 years ago by Paul Larsen <[email protected]>
Minor bugfixes, string changes

b76b5c6c9a2df024e6dd35e4a1f0162da7cd05d1 authored almost 7 years ago by Paul Larsen <[email protected]>
remove webhook_url in favour of url

6a4e4f74aed995293ba5cac4e83979a65235bea2 authored almost 7 years ago by Paul Larsen <[email protected]>
inform which service is being used

dd55469a6f3a0b86c4ea0ee39e86931198b7e159 authored almost 7 years ago by Paul Larsen <[email protected]>
Enhance webook support

baaa27f0295c07d5dd87b52938281b06e664fbee authored almost 7 years ago by Paul Larsen <[email protected]>
Fix minor bug in antiflood

f071a6f0a5f5b71a42f3be2e8e7732494666b1a1 authored almost 7 years ago by Paul Larsen <[email protected]>
Add help docs for antiflood

a8425f216c212a4721c2a4967b00fe4aaa56fb47 authored almost 7 years ago by Paul Larsen <[email protected]>
initial antiflood module support

687605cdc228e966106881e62e176bd9842aa42a authored almost 7 years ago by Paul Larsen <[email protected]>
Add some extra safety to the extract_user function, to avoid interracting with unseen users

ef1f744510f5e401cd567ff7635565d04b4e810c authored almost 7 years ago by Paul Larsen <[email protected]>
catch an exception occuring when a user the bot has never seen is mentioned

e611cdf2237d046afcb694ff3588c46dc74c51f8 authored almost 7 years ago by Paul Larsen <[email protected]>
more /runs strings

a47c39686fc0e5e334b5e5fc798b8ce3bb539c6c authored almost 7 years ago by Paul Larsen <[email protected]>
Fix incorrect support group link in readme - thanks @DD3Boh

66f02a668dc81c5fdea599000ed502501704c4a2 authored almost 7 years ago by Paul Larsen <[email protected]>
Check if the user to be promoted is already an admin or not

8e42145d767d2ed73f43108f237c205ff916b704 authored almost 7 years ago by Paul Larsen <[email protected]>
Fix ungbans

83e114034e042b94bdb360643025419c02d206d5 authored almost 7 years ago by Paul Larsen <[email protected]>
Ensure that emoji don't cause issues markdown offsets.

bfb31e4bb34e9cb89df9cfc9315121f8fe14ac53 authored almost 7 years ago by Paul Larsen <[email protected]>
Attempt to fix url parsing, again

6a5113442ddeaf19d7cd3b4e64afdf3a2bbff3e0 authored almost 7 years ago by Paul Larsen <[email protected]>
avoid None errors for the info command

517e4b339edb08fbc2562195761cfedc490616cb authored almost 7 years ago by Paul Larsen <[email protected]>
Merge branch 'master' of github.com:PaulSonOfLars/tgbot

1c2a5a0c7340120264a9bf3da2773aa314cd2f4d authored almost 7 years ago by Paul Larsen <[email protected]>
turn on markdown for /info

c951429c330a489a17083fea1db808287223e815 authored almost 7 years ago by Paul Larsen <[email protected]>
update some strings

5500c972285ec893d4057625703edf2fddf3c41a authored almost 7 years ago by Paul Larsen <[email protected]>
Add the /info command to get info about a user.

Also, change user database to also log userids with no usernames

e66610ed88739af58a6041b81ce4dc9ae992ff03 authored almost 7 years ago by Paul Larsen <[email protected]>
Update readme

7169da2785785dc03cee0206ff9560de78941919 authored almost 7 years ago by Paul Larsen <[email protected]>
Change which message /slap replies to

fc63a0b2fe65057846acad1e32ed9c40dfa07a81 authored almost 7 years ago by Paul Larsen <[email protected]>
Update help string

fede9b3a311f83cb667f32aa9cbca7e2a875eb99 authored almost 7 years ago by Paul Larsen <[email protected]>
Fix string

e502ea08c7507387b640b0959dda4dae009ba013 authored almost 7 years ago by Paul Larsen <[email protected]>
Buttonify /help

CLICK ALL THE BUTTONS!

Buttons are awesome, and an easy way to work with bots. The previous
/he...

308b63ecc8722e0d779258e51101ce6617b3f683 authored almost 7 years ago by Paul Larsen <[email protected]>
Add __name__ to modules to allow for nice naming in help functions.

26a1615395c304faf51f12007d9631b1741fc06b authored almost 7 years ago by Paul Larsen <[email protected]>
If someone retrieves a note while replying to another message, reply to the replied message

a59ceb77fefde85907a679e9c3f3c03d34ae1c91 authored almost 7 years ago by Paul Larsen <[email protected]>
fix welcome insertion issue

was inserting a type instead of type value

775063b965a43530b75445b283fd91ad333f3a35 authored almost 7 years ago by Paul Larsen <[email protected]>
update readme.md

14d455450be4df6a7779c0e1a2e7bc433c6ddad6 authored almost 7 years ago by Paul Larsen <[email protected]>
Move /donate to main module

b7f2e9a0db76bce98fbf9708b5fa18e42ce594ce authored almost 7 years ago by Paul Larsen <[email protected]>
Update readme

03226f5499c8d03a14ba968eebc7e6745a95eb75 authored almost 7 years ago by Paul Larsen <[email protected]>
Remove load.json.

Instead, set LOAD and NO_LOAD variables either in env, or in the
config.py.

Also expanded the w...

b649c40102666247be7466522865964824448b0c authored almost 7 years ago by Paul Larsen <[email protected]>
Add buttons to welcome messages.

Also, reenforce the "multiple types" logic for welcome messages.

21d40ab3684dc1e2f4bcea67a1021541459e4408 authored almost 7 years ago by Paul Larsen <[email protected]>
Add new welcome implementation, allowing the use of pictures, gifs, videos, etc

558e7fa369aba11d46addc1478ad2f3e72f0664a authored almost 7 years ago by Paul Larsen <[email protected]>
Ensure dispatcher handler stop is called

df8612602a22ed2cc300c633b3f8d4e618ba11b8 authored almost 7 years ago by Paul Larsen <[email protected]>
Add donation command

c4bc86226a74eee7cc15f1fc8452594d698f2e0a authored almost 7 years ago by Paul Larsen <[email protected]>
avoid kicking a user in ungbans + string fix

2662de6b66eebaab2d49cab4614b27ab0845139c authored almost 7 years ago by Paul Larsen <[email protected]>
Fix a markdown bug

Bug caused a duplicate letter at the start of urls.
Also, change the welcome check string.

7c864c81b681d2362b96dde7ef47b3d6e3f90653 authored almost 7 years ago by Paul Larsen <[email protected]>
Can only ban/unban/kick/kickme in groups

a37c5e62e01f8b657a521a4a3b84c355984d8d42 authored almost 7 years ago by Paul Larsen <[email protected]>
remove unneeded prints

1d46b3e29b2ee22a489cf731af3ec479d78c165e authored almost 7 years ago by Paul Larsen <[email protected]>
catch some invite link errors

87fe5ae5e51211817b9e0de915ec88387894c1ae authored almost 7 years ago by Paul Larsen <[email protected]>
Can't gban sudo users

d6f153e38d735aa6a8f26adcfa3e61d97deb1477 authored almost 7 years ago by Paul Larsen <[email protected]>
update README

17f6c860a3cc38e5223bc6a7a159a49e058f6937 authored almost 7 years ago by Paul Larsen <[email protected]>
stop session errors occurring

e8f0fe4d90017b6158292f94a4666ba1c9e1dedf authored almost 7 years ago by Paul Larsen <[email protected]>
escape possible bad markdown parts in welcome messages

0cac44a63a18478b7effa7a323d564b95dd6e535 authored almost 7 years ago by Paul Larsen <[email protected]>
Add a backup name in welcome.py to avoid the empty string first names (tg bug)

Also, stop using parse_markdown when sending - this causes unexpected
behaviour.

0bdc9b0539e8005c00a7747b424610aa3c621114 authored almost 7 years ago by Paul Larsen <[email protected]>
Manual revert of fullname commit - not in stable ptb lib yet

0fad657be31988168d715cb035809711bc0e6cad authored almost 7 years ago by Paul Larsen <[email protected]>
change sed implementation - global is no longer default, and must be activated with /g flag

15c2cdd3a855ede6501f6a11b930091dbedf7bff authored almost 7 years ago by Paul Larsen <[email protected]>