Done! Use sudo luarocks install telegram-bot-lua to install it - if you installed LuaRocks for the first time using mattata's installation script, you'll probably need to use sudo luarocks-5.3 install telegram-bot-lua!
Читать полностью…The next update will hopefully bring a dozen more plugins to inline mode, and hopefully a few new plugins altogether - as always, if you have any suggestions let me know via PM (@wrxck0) or in @mattataDev!
Читать полностью…Well, there it is! I'll be improving it more, and I'll be sure to let you know what is new as and when it gets implemented!
Читать полностью…How can I whitelist links in my chat?
In terms of commands, there's not much you need to do for anti-link to start working. Assuming you have administrative functionality enabled in your chat (if you don't, this can be enabled through /administration), you just need to send /administration and make sure a ✅ is shown on the right-hand side of the antilink button (if it shows a ❌ then you just need to press it to turn it on). That's it! You have now enabled anti-link functionality!
By default, only official usernames (such as @telegram) are whitelisted - along with mattata-related usernames (such as @mattata). To whitelist more chats, you need to use the /whitelistlink command. Multiple chats can be specified at once. You only need to include 1 variation of each link since the bot will automatically detect if a similar variation is being used (so if you want to whitelist t.me/DevTalk then you ONLY need to send t.me/DevTalk - and that will whitelist t.me, telegram.me, telegram.dog and the @username variations too).
Usage examples:
/whitelistlink @mattataDev
/whitelistlink /channel/mattataDev @DevTalk
/whitelistlink The links /channel/mattataDev can be specified https://telegram.dog/DevTalk anywhere in the text!
Although not referenced in the above examples, private invite links (such as https://t.me/joinchat/AAAAAD7ODUZxkaKUTReBxw) work in just the same way - although there's no @username variant for them but that's just less work for the bot!
#antilink #whitelist #links #advertising #spam #administration
Since us British people are well know for spontaneous actions (*cough* snap General Elections), here's a small update to mattata - v24.0.1!
Читать полностью…Until I can think of a better way to implement it, some natural language commands such as the ones for gifs and the recent addition of Spotify control have been removed. You can still get gifs using /gif and you can still control Spotify using /myspotify - this ONLY affects the controls such as mattata play some music.
Читать полностью…The /myspotify functionality is now also a bot of its own, check out @MySpotifyBot!
Читать полностью…