I've also gone ahead and added support for /r/randnsfw, but if that's used in a group then it's taken as /r/random (so NSFW stuff will only show in PM)
Читать полностью…Thanks to an OSS Sponsorship from DigitalOcean, it’s made hosting for me even more affordable and should guarantee the project to stay alive for the considerable future!
Читать полностью…Minor change to sed plugin
Replaced the buttons with more universally-friendly options.
Pokémon update
Alongside huge performance fixes for matticate, I've gone ahead and re-written the Pokédex plugin!
By sending /pokedex
you can now browse the entire Pokédex using an interactive menu! You can still find information about a specific Pokémon using /pokedex [name|ID]
Alongside this, I've also
- made the plugins menu now show 3 times as many plugins per page
- turned off occasional unprovoked AI responses until I've implement some AI settings (it was admittedly getting annoying)The API doesn't support 8th generation Pokémon yet due to a lack of development on the upstream project it relies on [https://github.com/PokeAPI/pokeapi/issues/460]
AI update
Responses are now auto-translated to your language. In groups, it's the same unless you have the Force Group Language
setting enabled - this will make all replies try and be in English.
The AI has gained a new beta feature, every so often he has the chance to randomly join a conversation, so it should never cause any spam, just a more human-like experience. This won't be triggered when you send media without text, or when you reply to someone else - just random, standalone messages.
I've tested it out and it's quite fun. If you experience any issues with this, please let me know. Do bear with me, this option will be configurable within the next couple of days.
(This is disabled in groups with the ai
plugin disabled in /plugins)
The sensitivity is currently set to 1 in 30 messages, and when I provide a way to configure this option, there will be an option to adjust this sensitivity too (probably between 20 and 200 going up in multiples of 10)
Huge menu overhaul to /triggers
Triggers can now be viewed and deleted in an interactive panel using /triggers. Adding triggers remains the same syntax, /addtrigger trigger
You can also now set an unlimited amount of triggers in a group!
Update to anti-link
When matticate detects you have sent a link that is blocked, when anti-link is enabled in /settings, a button will be sent under the message allowing admins to quickly allow it.
Language update
@matticatebot now supports Arabic! Some plugins aren't yet translated but most of it is.
Use /setlang to set your language.
Re-written the quotes plugin to work more effectively!
Syntax remains as:
Send /quote on its own to get an anonymous quote from matticate's database. Or in reply to someone to get one of their quotes.
Send /quotes to view an interactive panel of all of your quotes.
Send /save in reply to someone's message to save their message to the database as a quote.
AI going forward is going to be @matticatebot only, as @mattatabot has a lot more strain on it and it also reserves resources on my server for other things
Читать полностью…matticate now uses PCRE-regex instead of Lua patterns for its sed-like substitution command, s/text/replace
Thanks to topkecleon for the code this is derived from. (https://github.com/topkecleon/otouto/blob/master/otouto/plugins/regex.lua)
Reddit update
- Fixed a bug with the reddit plugin that displayed some subreddits as empty
- Changed private chat limit from 8 to 10
- Changed group chat limit from 4 to 6
- Added support for /r/random
IMDb update
IMDb plugin is now known as "movies" plugin, and returns the first result from IMDb with the highest quality poster attached.
Existing /imdb command remains, along with /movie and /film.
One of the endpoints this command uses is quite slow, I'm working on a way I can speed this up - until then, pagination is disabled.
Pokédex entries now also show the evolution chain, where applicable. The Pokédex now also shows the ID number of the Pokémon, alongside its name, on each button.
Читать полностью…Minor update
You can set a nickname that the bot will "know you as" using /nick.
This will be used in various aspects of the bot that use your name. Allows a Discord-style alternative name (i.e. if you want matticate to call you Daddy, but you don't want to change your name to Daddy, then this is the way to do it).
Update to quotes
* Fixed a bug with /save and /quotes where recently saved quotes weren't showing in the menu
* Added the ability to save voice messages [beta]
* All users are now mentioned in the quotes, even if they don't have a username (apart from anonymous quotes, they still remain anonymous)
* Removed the Delete All option as it was causing some users to delete all of their quotes by accident when the keyboard moves upon new messages being sent
* Added /s as an alias to /save, and /q as an alias to /quote
New matticate feature
Reply to someone with "son of a bitch" or /sonofabitch for a nice surprise :^)
New update to CAPTCHAs
Admins can now set how many minutes should pass by until the user is kicked when they don't complete a CAPTCHA.
This can be configured by sending /setcaptcha in the group.
Triggers can also now be up to 32 characters long instead of 16, and values can be up to 512 characters instead of 256!
and as suggested, I've removed the requirement that the trigger is a word or hashtag!
To add a trigger you must now specify the value on a new line, using the following format:
/addtrigger <trigger>Читать полностью…
<value>
Update to /translate
If you use /translate in reply to someone's message, the translation will be sent in reply to their message and your command will be deleted. This helps provide a clutter-free experience.
If you don't specify a language, your default language will now be used instead of English (this is the one sent by your Telegram client, or your configured language if you've set one with /setlang)
Update to anti-spam
Fixed a bug which was causing it to not process some messages
Added an button to /antispam to adjust the punishment for hitting the configured limit [Kick/Ban/Mute]
New karma feature
You can adjust someone's karma by replying +1 or -1 to their message.
New matticate feature!/addalias </alias> </command>
- Allows custom aliases to be bound to existing commands. The alias must not be an existing command. All aliases/commands are automatically converted into lowercase text, and can contain letters, numbers and underscores.
This feature is currently in beta. Due to that, there is no active method of deleting or viewing existing aliases yet, so please be patient, that will come soon.
Telegram have banned my main account for no apparent reason. Luckily, my channels and bots remain but if anything happens and mattata/this channel gets deleted, more information will be left in @mattata_backup, and another copy of the bot will be put online. In the meantime, I hope this will get resolved (I know someone who recently had this happen to them, and their account was restored within 24 hours).
Читать полностью…