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 filtering for more than one word at a time using ' and "

e2dddedffa35a3fc361b4704342749e84139e6a3 authored almost 7 years ago by Paul Larsen <[email protected]>
Add {mention} field to welcome/leave messages

779ad07b691343436121ed87201df63f241ec118 authored almost 7 years ago by Paul Larsen <[email protected]>
Minor changes

- Change the location of the if statement for Master welcoming, to allow
multiple additions supp...

04cc368aec69be37ff5803aea0e900f76d3868a5 authored almost 7 years ago by Paul Larsen <[email protected]>
Add the /locks command

5f4f5391dc21b8887dba744dd123327f65ed24e5 authored about 7 years ago by Paul Larsen <[email protected]>
Add 'all' type to locks, and work on some more concurrency/session kinks

d2abba79764a8ee1a79320a753a79b6867c66ea7 authored about 7 years ago by Paul Larsen <[email protected]>
Fix some thread locking issues caused by a thread attempting to acquire a lock twice. use RLock() to avoid this. Also fix some session issues where sessions werent being closed as expected

a8b3cc2390d52f10b7ad3f0429decf790595c099 authored about 7 years ago by Paul Larsen <[email protected]>
double check all run_async calls to ensure they wont cause deadlocks

c7ef48282b945eaa11eb731169380d1b3c9588a5 authored about 7 years ago by Paul Larsen <[email protected]>
Fix a nonetype bug + pm owner when bot gets kicked from chat

b9589b7994800d27c972d6ed568de2468cd11b81 authored about 7 years ago by Paul Larsen <[email protected]>
Add a catch for when a message cannot be found.

Also asynced some mroe functions

dfb892bd17ef07d92690e263f912f767d25bc4f3 authored about 7 years ago by Paul Larsen <[email protected]>
ensure welcome messages are markdown parsed

1ceed6b456b7ed5826036c0970a2a31d2cbd3d30 authored about 7 years ago by Paul Larsen <[email protected]>
Add owner-only /stats function

4dd3440802915b02b1fe94226c052a5dd4140922 authored about 7 years ago by Paul Larsen <[email protected]>
Fix a possible sed nonetype exception + remove redundant welcome help string

d4e1aa452c15295dcb22d8c7be056558be5cb5ba authored about 7 years ago by Paul Larsen <[email protected]>
Fix a possible sed nonetype exception

c2bacf76bfa28120e1e4f94681ccff96cc2f21c1 authored about 7 years ago by Paul Larsen <[email protected]>
escape invalid curly brackets in welcome/leave messages

66e832005b00ce6d38a725a7e21a195d7c289978 authored about 7 years ago by Paul Larsen <[email protected]>
Modify welcome help message

fd235732b623e97be50cae7255dc67da577b3340 authored about 7 years ago by Paul Larsen <[email protected]>
Add id to the possible welcome message variables

fc65f506ca788939f757f0264c8e845b06eda299 authored about 7 years ago by Paul Larsen <[email protected]>
Bugfixes

- Fix a bug where the welcome message would be invalidated due to having
{} which arent matched ...

bdce0dd6c5b4cbcdd2970fbd45101402d7b4ba19 authored about 7 years ago by Paul Larsen <[email protected]>
add a help message to explain markdown

d80d5c843da15f4380cc7731fb774a9bea55f548 authored about 7 years ago by Paul Larsen <[email protected]>
Fix a runs string, and fix the buttons variable being referenced before assignment

8dda24dcf90cc0c7c0653e0bff01df9ce097654c authored about 7 years ago by Paul Larsen <[email protected]>
Add markdown support to filters, rework some logic for notes

f540b1d79d959775d2a24f17709e7a896707d1c2 authored about 7 years ago by Paul Larsen <[email protected]>
Fix formatting, adhere to 120 char limit

4a686d37129270d2471cab2978ca3ac514d85ff0 authored about 7 years ago by Paul Larsen <[email protected]>
Add some more runs and slaps strings, and a few comments

582c17a0ba78d3757459f19e1db44d5f20b5f1b2 authored about 7 years ago by Paul Larsen <[email protected]>
Change some afk strings, cleanup

d5e30a859a1908b9a5c72ae839ff799de7897de0 authored about 7 years ago by Paul Larsen <[email protected]>
How has this not been noticed earlier?

ac4abb2e8ae83a040c2bece399c5efe778b42c16 authored about 7 years ago by Paul Larsen <[email protected]>
make sure unlocks are asynchronous

eb127b4445487cfbd9b4aa759dba23351ceabca8 authored about 7 years ago by Paul Larsen <[email protected]>
remove unecessary prints

9cc500d9700a86bb19783c71a70b952b9aed14f1 authored about 7 years ago by Paul Larsen <[email protected]>
Fix a bug with muting and locking

faa06803c131c4d3a2b39f92ac6aa7e4fa6f5c1f authored about 7 years ago by Paul Larsen <[email protected]>
Minor updates to GBAN - notify owner when a gban occurs to ensure no sudo user is abusing his rights

2fca4dc6e8ffca4cb5b9dde91a5059283b3829aa authored about 7 years ago by Paul Larsen <[email protected]>
Add an exception to catch when ungbanning

0c340c78f236d0b4ce263ff7577a25608293ea72 authored about 7 years ago by Paul Larsen <[email protected]>
Update admin.py

e5ddd6b5030e5465e43a8af710546aa168f0f0f0 authored about 7 years ago by Rohan <[email protected]>
send the new welcome message as markdown..

cbe028d4eab35ba27ca338c87b78e104c90fb174 authored about 7 years ago by Paul Larsen <[email protected]>
Enhance the id function

2c1e973ea03d8b7ab1bec5cc9fefdd162c100235 authored about 7 years ago by Paul Larsen <[email protected]>
Add a custom welcome for whenever the bot owner joins a group chat

7050a0db02356b48cc1f9a338981fadb4dcae6d7 authored about 7 years ago by Paul Larsen <[email protected]>
Cleanup global variable initialisation, and add a better start message when in PM.

c4fe02744ea56fb309904c1e8f8bf60231067083 authored about 7 years ago by Paul Larsen <[email protected]>
make all sudo users admin

e1e448308d66b1b1c101695fa5128ebff403cfbb authored about 7 years ago by Paul Larsen <[email protected]>
Ensure ownerID is an integer

e7536dacfbd2636d1818e7b99a75ed0750b3fd60 authored about 7 years ago by Paul Larsen <[email protected]>
Add gif locktype

bd89519ba952d5d5d83afe2f37c0a3935af5fa10 authored about 7 years ago by Paul Larsen <[email protected]>
Minor cleanups and optimisations

6f147033eeb34facbc70587b7fc24e22f5287484 authored about 7 years ago by Paul Larsen <[email protected]>
Change some variable names to conform to pep8

b9f5a2ae91e984699c15ee5ec183a104e979eecb authored about 7 years ago by Paul Larsen <[email protected]>
Remove some duplicate code, cleanup

92a8d1c1082b6dd8d4c9a7eacf14ccdec2eb2847 authored about 7 years ago by Paul Larsen <[email protected]>
Fix user unbanning, and make sure the user database is lowercase

da6b13a7c9c1014dfb710bff6abb852e3af422be authored about 7 years ago by Paul Larsen <[email protected]>
add gif replies to filters

6920bdaf2ccfd17ef28143ac879ca24b6e1fc160 authored about 7 years ago by Paul Larsen <[email protected]>
String changes

e404a6223924835b5fdbc1d98139fff6860afe71 authored about 7 years ago by Paul Larsen <[email protected]>
Fix a minor gban issue where mentions woudlnt ban,just reply ;-;

fcb45bf25ab58e7abf0395f1cb0a318753cd749a authored about 7 years ago by Paul Larsen <[email protected]>
reduce number of api calls checking for bot admin status

8b834ae9dba46b8060d778727572769fb12c5b07 authored about 7 years ago by Paul Larsen <[email protected]>
remove the need for the trailing / in a sed command, and remove the async on filter stopping, which meant the bot would reply to the filter while it was being stopped.

9aeb658c955381fae05443d93d710a4cb8f775ec authored about 7 years ago by Paul Larsen <[email protected]>
Fix minor bugs

1136413a80b0a600eab05300b1e07a5388a1453a authored about 7 years ago by Paul Larsen <[email protected]>
Start the grand buttonifying experience! first off, warnings

5525533d6b2678ce7a57d497a66f68726576d4a1 authored about 7 years ago by Paul Larsen <[email protected]>
Fix minor bugs in warnings and bans, add a /kick command.

f068107a980550627a1f51bdf115a701b90356c2 authored about 7 years ago by Paul Larsen <[email protected]>
Fix a minor nonetype bug

8504550efd667e8d082c43ec8871c938c5f510c8 authored about 7 years ago by Paul Larsen <[email protected]>
Add ignorecase to brb regex

a02097c2a77df6d633a446121569b29cb174ab6a authored about 7 years ago by Paul Larsen <[email protected]>
Add brb handler for the afk module.

969a309000ab325e84a817958dcf8f38dd3f4deb authored about 7 years ago by Paul Larsen <[email protected]>
ignore unexpected errors when locking

3e8b4322a67a6593e597b699762b02b64a4f3f99 authored about 7 years ago by Paul Larsen <[email protected]>
Fixes to warnings, user improvements, etc

3b8a73588db4acca59e01059c466974d3d20a563 authored about 7 years ago by Paul Larsen <[email protected]>
Add new afk module

2e91074298ef885f2efe93244ebd1a5676aaf2ec authored about 7 years ago by Paul Larsen <[email protected]>
Add warning filters to the warning module

e60bbb79496b53d6728bed24c0a77b49f650786a authored about 7 years ago by Paul Larsen <[email protected]>
Adding possible badrequest error handling to gbans

0c23cdb54f006717c71ac7202a9280da5a9bac67 authored about 7 years ago by Paul Larsen <[email protected]>
Fix some bugs in user id retrieval

43710db22aac6ad6d2cd443ffb8581cc79f15a44 authored about 7 years ago by Paul Larsen <[email protected]>
Add a bad request error catcher when gbanning

2a4e4788c961b15daec0bf068ff7e6a754991b39 authored about 7 years ago by Paul Larsen <[email protected]>
Added global ban module, with a sudoers filter. also added userid banning

50243861b84489d83b26850431745790367bce04 authored about 7 years ago by Paul Larsen <[email protected]>
Fix a minor logic bug with buttonurls

e4ce8956b162ba3b51a66db73a367ea5497481ca authored about 7 years ago by Paul Larsen <[email protected]>
Regex optimisations - compile stuff

9c08d1315d82cba945a6bd39073a07c72177113a authored about 7 years ago by Paul Larsen <[email protected]>
Made note buttons more robust, ensured that sed output was valid

f12ee6e01ccfb8a82a5d0235f569d3b768a6b614 authored about 7 years ago by Paul Larsen <[email protected]>
Fix muting

cadd61f9db0fe49103abaa0c00d2886fd0ed0470 authored about 7 years ago by Paul Larsen <[email protected]>
Notes: update database schema, add buttons.

Buttons can now be added to notes! using (buttonurl://<url>) in your
markdown, you can now send ...

de68f1bd3eb514964d875f5a35029ae499b2d28c authored about 7 years ago by Paul Larsen <[email protected]>
Add migrate chat to warns

a3f8e7df3584349eee795a887eb39d9ae133502f authored about 7 years ago by Paul Larsen <[email protected]>
Minor touchups. set warn as a noload while WIP.

c949f4ef9c09391b704e892f04180333d5bb3365 authored about 7 years ago by Paul Larsen <[email protected]>
Fix possible nonetype exception occuring image captions

c37f02761a2a296f7ab6403a0715d8bb6ab96215 authored about 7 years ago by Paul Larsen <[email protected]>
Fix sticker emoji replies

0d685797370c9e8f4b6c8b1a8f993548cb2cc4fe authored about 7 years ago by Paul Larsen <[email protected]>
custom filters: Reply to sticker emoji, and image captions

3dc534a4213233eca46f3e7721709dc11ae4bc6f authored about 7 years ago by Paul Larsen <[email protected]>
Add echo command for owner usage

7608b1d13b26d83d75139452524feff7218485f0 authored about 7 years ago by Paul Larsen <[email protected]>
Refactor warnings, separate bans into their own file

e6d39b929548c37d2eb626f4e995c07a5420e8d6 authored about 7 years ago by Paul Larsen <[email protected]>
More work on the warnings module

2fa1b077559a62208543c09abfcba733fdac0d99 authored about 7 years ago by Paul Larsen <[email protected]>
fix runtime due to code written on the move which couldnt be tested

491e5bc87a214e95b98fadc13453ba858a69298a authored about 7 years ago by Paul Larsen <[email protected]>
Start implementing warning module

0e0c15f43bd4de43dbb8ef0a0a525ee8b1fa55fc authored about 7 years ago by Paul Larsen <[email protected]>
Merge branch 'master' of https://github.com/PaulSonOfLars/tgbot

316ba5c82dd1208cb095246b973d61808445c0f2 authored about 7 years ago by Paul Larsen <[email protected]>
Move default welcome and leave strings - realised they were badly placed earlier

6756ecc83dda2db868f8713ddb8574a51861323d authored about 7 years ago by Paul Larsen <[email protected]>
Upgrade runtime

01a4998b2c7a8d2a71b472b530d97d2d8d43c5f2 authored about 7 years ago by Paul Larsen <[email protected]>
optimise imports, add sed help function.

fbda1422d87ef2a5a372e7dddb9e6a43433e85cc authored about 7 years ago by Paul Larsen <[email protected]>
some fixes to muting/unmutting

c86a41cf12788d951d32103841eac0f396faa677 authored about 7 years ago by Paul Larsen <[email protected]>
Cleanup the welcome module, patching some bugs and edge cases.

8357ff77e3792c0c29265b955e4491d77e5089d7 authored about 7 years ago by Paul Larsen <[email protected]>
Telegram removes any trailing whitespace anyway, so lets split to avoid badrequests empty message errors

921b4fa881840eab65e218a8aa94ba55e71f0717 authored about 7 years ago by Paul Larsen <[email protected]>
Add other delims to sed + fix empty message error

54518429b0ecb43fa669fba68a84f53d4e4614a9 authored about 7 years ago by Paul Larsen <[email protected]>
Implement sed module

54ef95cae424536a6af48d7ee09e0d9abb8e97c1 authored about 7 years ago by Paul Larsen <[email protected]>
Add debug prints

ff171e617097fb08330f942c665d722c37cd0e81 authored about 7 years ago by Paul Larsen <[email protected]>
ensure owner id is an int

ebc7e7a69811f7d389cd59ba8edb4802d1856566 authored about 7 years ago by Paul Larsen <[email protected]>
Add runtime for heroku

b6496ccf243b29bc8ae2d4807c6d59b5a54116f4 authored about 7 years ago by Paul Larsen <[email protected]>
remove dependencies on the config file to allow heroku usage

40e202d557e91a2f3269b0841b35cf14cc03ba98 authored about 7 years ago by Paul Larsen <[email protected]>
Add a new Rules module, fixes and tweaks.

Thr new Rules module will be used for /rules and /setrules in
larger community chats. Rules can ...

1ea6fea51aadb05606f5891c06049d5a65888bbc authored about 7 years ago by Paul Larsen <[email protected]>
Add/fix some functionalities

- Add /setwelcome and /setleave commands
- Fix kickme command to avoid banning
- Fix filters not...

638c2680f962f3f3a84244571047a3a2412fbcee authored about 7 years ago by Paul Larsen <[email protected]>
Fix a note saving bug

fb406bed664e26f9314fa58152beaa708f565426 authored about 7 years ago by Paul Larsen <[email protected]>
Fix /slap replies to work on users with unescaped markdown in their names

87a5d810547b66551a90fc96153b78ad0bbe1120 authored about 7 years ago by Paul Larsen <[email protected]>
Add some more markdown functionality.

URL's containing underscores wont get mangled by markdown.
Also added some async running for

26c6ab95775a5b6384ed62e80ba182b87a36a4b2 authored about 7 years ago by Paul Larsen <[email protected]>
only filter on text

abbcc22372acfef39708c5646921f8dfcff17bb8 authored about 7 years ago by Paul Larsen <[email protected]>
Optimise custom filters by reducing comparisons + running filter replies as async, ensure only admins can save notes, and change some async run orders to keep main thread free.

620105935089eb2d900682256b898035ff500911 authored about 7 years ago by Paul Larsen <[email protected]>
Fix a few bugs with permissions and list indices

ebd0078f254fc239ea44c686fc5c817f359d7e49 authored over 7 years ago by Paul Larsen <[email protected]>
Implement chat migration for all necessary modules.

Also, cleanup

f34188c12145461fb093ee86ec2d20839b652e85 authored over 7 years ago by Paul Larsen <[email protected]>
string fix for /runs and /welcome fix

6bf3c23df6e733f801cb9ee684e77af09313bc58 authored over 7 years ago by Paul Larsen <[email protected]>
remove some meh-meh slap strings

aaaed63123d88c8c1763bbbf70ef70fe8cc6e5b3 authored over 7 years ago by Paul Larsen <[email protected]>
Add an @ for slaps if user1 in a reply

c8ad26c14e29b200f62aedbdeb50ac21e1d4c084 authored over 7 years ago by Paul Larsen <[email protected]>