To add, I don’t plan on reviving a group admin bot since there are many, good maintained bots out there, but will be adding some modernity to mattata very soon, so keep your eyes out for that!
Читать полностью…Happy new year - telegram-bot-lua will be updated to v7.0 by the end of today
It is taking longer than expected because it is behind on so many versions!
Expect at least one of the bots to come back to life by the end of the month too
🤞
Hi guys. The project isn't dead and there will be updates. I just won't give deadlines as multiple other commitments often means stuff gets delayed. Feel free to DM me with any ideas as to what to change to the bot, my main focus will just be updating telegram-bot-lua to be up to date
Читать полностью…It appears Yandex have added a paywall to their translation API - if you have any good, free alternatives please do leave a comment below! For now, any translation aspects of the bot will not work.
Читать полностью…So the UK is back in an inevitable lockdown, so that means I’ll have time to work on this project again!
I’ll keep you posted later this week.
✌️
Update to /addsticker
You can now make stickers out of other people's messages! Just reply to any text messages with /addsticker and it will add a neatly formatted version of the message to your sticker pack, like this:
This means you can now convert photos, stickers, and messages into a sticker for your custom pack!
Added support for normal stickers too! Use /getsticker to get these as PNG files like the example above
Читать полностью…If a user has started the bot you can use /addsticker in reply to any non-photo message they've sent, and it will add their most recent profile picture to a pack!
Читать полностью…New /time feature
This command links in with your location (set with /setloc) and returns your current date/time. You can also specify a place to get the date/time for, e.g. /time California
Send /time in reply to someone to get their date/time (if they have one set) - this is useful in communities where there are people from all over the globe, and you might want to quickly work out if they might be sleeping or not!
This command takes factors like DST into account and even returns the time for the exact second!
New /banpack feature
matticate can now auto-delete stickers from specific packs, when they're sent by non-admins
Just use /banpack in reply to a sticker from the pack you want to prevent users sending - or /unbanpack in reply to it if you wish to start allowing it again!
Proves useful if a user is sending inappropriate stickers in your group, but you don't want to stop other packs being sent
Updated mattata to v1.5 on GitHub and updated @mattatabot.
Remember to update your copy of telegram-bot-lua too by running sudo luarocks install telegram-bot-lua
Coming to mattata these coming weeks…
• Updated support for telegram-bot-lua v2.0
• ChatGPT support
• Improved sticker functionality
• redis -> MySQL migration
• & years worth of bug fixes
telegram-bot-lua v2.0-RC1 has been released on LuaRocks and GitHub! 🎉
Far too many changes to list on a commit, but basically, anything in the last 4 years has been updated accordingly
As of now there is no legacy support for v1.10.0, so if you update to this Release Candidate, be sure to also change your code.
To come this month:
• Legacy support
• Extensive documentation updated
Slight downtime for the next 10 mins
I also apologise for the duplicate transcriptions
Another minor update to this feature
If the sticker isn't showing the person's profile picture for you, that's a Telegram limitation for bots, it simply means they haven't started the bot, they've blocked the bot, or they've just disabled the bot from seeing their picture in their privacy settings.
To combat this, all users who it can't see the profile picture for will now have the coloured avatar like people who don't have a profile picture do on your app
The background of generated stickers is also now the dark blue you see on default dark mode clientsAnother limitation of this feature is it will show RTL text in reverse
New feature, and probably the last addition for a bit as I'm moving back to Leeds in a couple of days
Use matticate as a to-do list by sending /todo [text]
To view all your to-dos and to mark any as completed, send /todo. Press the text on the left column to view the complete to-do.
To-dos can be a maximum of 200 characters long and you may have 50 of them per chat. I would allow more but this is limitations set in place by Telegram.
In groups, this allows admins to have a group to-do list they can all add to. For your own private to-do list, use this in PM.
Update to stickers
When using /addsticker for the first time, you can specify a custom title using /addsticker [title]
When your sticker pack has 120 stickers in, matticate will make you a new pack - but this will mean you can't add any more to your old one even if you delete any
This command input will then work in the same way, making a new pack with the given title.
You can also delete stickers from your packs now! Just send a sticker from any of your packs (only ones matticate has made), and reply to it with /delsticker
Want to get a sticker for another pack besides the one the bot made? Send /getsticker in reply to the photo, and it's ready to forward to @stickers!
Читать полностью…New stickers feature
matticate can now create a sticker pack for you, just reply to a photo (compressed or even uncompressed JPG/PNG) with /addsticker and he'll do the rest!
I'm in the process of adding support to add existing stickers into the pack, so bear with me, this is a beta feature
The pack it creates for you is manageable like the rest of your packs, in @stickers
To distinguish your matticate pack from your other ones, all stickers have the 🐭 emoji set the them!
New beta /answer feature
matticate can also now provide rich, quick answers using DuckDuckGo - sometimes this works well, other times it doesn't - feel free to send something like /answer Who is Tyler, The Creator?
to test it out!
If the answer API doesn't know it then it will reply as if you asked the AI!
I'm moving house on Monday and returning to work so for now active development will become more bug fixing/refining when I get the chance - but I've added /flip, /aesthetic, /inspirobot, added some formatting to /stats, added /morestats and a couple of other bug fixes here and there, as some users had requested those features
Please note this does not mean I will be inactive again, it just means that I'll be balancing my life, University course, job and the development of this project
New file ID feature!
Get technical information about any types of media by sending /fileid in reply to it - this can even get the creator's ID for stickers!
If matticate recognises the user, you'll get some more information about them too. Super handy if you want to request a new sticker for someone's pack!