There's still a few more plugins to do but I'm going to upload what I've done to GitHub since I'm going to be away a lot this week!
Читать полностью…Also, you can expect a new update very soon, I'm not stopping working on mattata today until I finally finish this multi-language (I'm halfway through the plugins, implementing language functionality into each and every one - stay tuned, this is going to be the biggest update since inline mode, in terms of customisation)
Читать полностью…- /afk will now automatically convert seconds to minutes, hours and days wherever necessary, so rather than saying you have been AFK for, say, 87451 seconds, it would automatically round it to a day and be more user-friendly with the response.
Читать полностью…The pwrtelegram API can now delete messages (for real!).
To delete a message sent by the bot or any other user in any private chat or group, just use the new deleteMessages method: it accepts two parameters;
chat_id - The id of the chat where to delete the messages
ids - a json array containing the ids of the messages to delete.
This will work for messages sent by other users in groups too, if the bot is admin.
A small example with curl:
curl https://API.pwrtelegram.xyz/bottoken/deleteMessages -F chat_id=-1008382957 -F 'ids=[28374, 28735]'
Join @pwrtelegramgroup for support!
Also, saying "brb" and "back" will no longer reply with "Don't be too long, <name>!" etc., Instead it will trigger /afk.
Читать полностью…translate them - I will let you know via this channel when I am ready for people to start helping with translations! [2/2]
Читать полностью…Over the next couple of weeks, I have several exams and deadlines that I really need to meet, so mattata development will be slowed down/halted until after that period. I'm still around to fix bugs here and there but nothing major will be released until late May.
Thanks for your continued support!
- When specifying a reason with /kick and /ban, if the reason begins with the word "for" then the bot will no longer repeat the word "for" twice, it will be substituted out
Читать полностью…I just added a neat little feature, /afk - it works exactly how you think it does, if you've played about with any Minecraft server running the Essentials plugin, you'll have a rough idea of how it works!
Читать полностью…There are several plugins I haven't really given a mention on this channel, and if I have then I haven't really gone into much depth.
The first one is /import which can be used to import settings from another group. For example, if I made a new group (say it was @OffTopicGeeks) and I didn't want to go through each administration setting, and toggle plugins etc then I could simply import a configuration profile from another group (say, @DevTalk) by using /import @DevTalk.
Using /fileid in reply to a Telegram file (i.e. a photo, sticker, document etc.) will return the file_id of the replied-to file.
/fakeid is a simple command to generate a fake name.
In between doing work for my exam on Tuesday, I'm doing some more language implementation to mattata - I really want to get this feature completed as soon as possible because I've been promising to release multi-language as soon as possible.
Читать полностью…How did I accomplish this you may ask?
I simply used my MTProto client, Daniil.it/MadelineProto: with it you can do EVERYTHING (and I mean EVERYTHING, even create secret chats and make phone calls) official clients can do, from a simple script!
If AI is disabled in a chat, every user who tried to communicate with mattata will now be reminded that the AI functionality is disabled. This message will only appear once per user in each chat, to prevent it from being annoying.
Читать полностью…New feature!
/godwords <1-64> - Returns a string of "god words", allowing you to "hear god speak". Credit to Terrence Andrew Davis for the concept and script.
I've also began implementing languages, you won't notice anything to begin with - the translations will become available when I have finished a strings file, and have had people volunteer to [1/2]
Читать полностью…You can also use it in reply, and it'll draw the replied-to message as text on an image!
Читать полностью…