puddingbot / pudding-bot Goto Github PK
View Code? Open in Web Editor NEWVersion 1 of my Rose Bot replacement (AGPL3)
License: GNU Affero General Public License v3.0
Version 1 of my Rose Bot replacement (AGPL3)
License: GNU Affero General Public License v3.0
Come up with a consistent scheme that also denotes Alpha, Beta and RC versions.
Move code out of main.py into separate modules, and move modules into subfolders (bot, user, group, fun).
Bot token was accidentally exposed in main.py.
Resolution:
Implement a /sticker command to display a sticker's ID and the set it belongs to.
Implement a /nosticker command to disable stickers or sticker sets.
/sticker
/nosticker
Solo
to disable one sticker instead of entire set.Ship /sticker command mentioned in #2 early, as part of 0.0.6.
Implement a beautiful, comprehensive and informative in-bot help.
Add and register command handler.
Add short intro text.
Add Buttons.
Add links to code repository and online documentation.
Add links to support/update channels.
Add donation link.
Group configuration, filters, stickers, Welcome/Goodbye messages and other persistent data need to be stored in a database.
Viable options are PickleDB and MongoDB, with a preference for the latter.
Provide commands for DM, user, admin and owner scopes.
Commands
and AdminCommands
DmCommands
and OwnerCommands
OwnerCommands
by querying for group owner during new_chat_members
event when member.username
matches "PuddingBot"
Add exception handling code for network errors.
Restore connection gracefully on timeout/disconnect.
Create a style guide.
Present new or returning user with an introductory onboarding message
and a straight-forward way to add the bot to their group (via inline button).
Should be scoped to DM-only.
Code like this would cut back on complexity/custom implementations and improve the overall clarity of the source code @app.on_message(filters.chat(TARGET) & filters.new_chat_members)
Reason PTB doesn't have filter decorators:
python-telegram-bot/python-telegram-bot#899
As an alternative to Pyrogram, consider contributing to PTB-Contrib
A third option might be to create a library specifically for @PuddingBot's needs. A PuddingLib.
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.