Until the next commit (which won't be far away, I promise) you can easily fix this by replacing get_plugins() on L62 of the "configuration.example.lua" file (make this change in your "configuration.lua" file though) with get_plugins('mattata', 'plugins')
Читать полностью…I know I said I'd wait until midnight, but it's pretty obvious what the outcome was going to be.
Читать полностью…Please stop suggesting I add a dev branch on the repository. The whole reason I don't do this is because @mattatabot remains the most "up-to-date" copy, and all forks get new features shortly after. This is simply so my users don't abandon me for a copy of my own project, because that's just fucking stupid.
Читать полностью…If the "More frequent" option wins by midnight tonight, I'll push the latest code to GitHub.
Читать полностью…I got rid of /ch, because out of over 700 thousand of you, only 78 people have used it since mattata was made.
Читать полностью…Time for some statistics to see what you guys are using and what you're not using!
Читать полностью…I made a fork of luasec which allows you to easily add a timeout (in seconds) to the initial TCP request made, which solved the issue of the reddit plugin lagging the bot when someone requested something from an invalid subreddit, I'll drop a link soon when I get it up on GitHub, and the reddit command will be back soon!
Читать полностью…I've turned off the /reddit plugin until I find the time to fix that annoying bug which would stall the bot.
Читать полностью…The Bot API v.3.4 is here!
- Added support for the new Live Locations feature (see the Telegram blog).
- Bots can now get special entities like usernames, URLs, etc. from media captions.
- Bots can now get and manage the official sticker set of groups.
See the full changelog here:
https://core.telegram.org/bots/api-changelog#october-11-2017
At the time of writing, there seems to be a majority in favour of the addition of this feature, so it has been added to my list of things to do!
Читать полностью…This value doesn't exist all of the time so don't write code that will rely on it, unless you're going to use if message.command ...!
Читать полностью…I've been pretty dead the past few days. Deadlines, moving house, concert, days out, it's been very busy - I'm getting stuff together now so I'll be doing some more work over the coming week!
Читать полностью…This isn't really a bug I guess, it's just I intended to maintain backwards compatibility for the sake of not having to document it 😆
Читать полностью…— Fixed a critical bug where no plugins would be loaded unless the new parameters were passed in configuration.lua's get_plugins() function, this was caused by an incorrect logical operator.
Читать полностью…The next version will be 1.0.0
After some consideration, I have decided to follow the semver 2.0.0 specification for version incrementing. For ease of reference, please consider all previous updates as 0.x, where x is the update number it was referred to in the commit.
We're 3 minutes in, and I have a feeling I already know which option is going to win 😆
Читать полностью…Which would you prefer?
More frequent, smaller GitHub commits to the mattata repository - keeping the source more up-to-date – 21
👍👍👍👍👍👍👍 75%
Less frequent, bigger GitHub commits to the mattata repository - keeping the source bug-free and feature-packed – 7
👍👍 25%
👥 28 people voted so far. Poll closed.
Okay, /dogify (the alias to /doge) was used once, and that was me testing it 😆, so I think I'll remove that
Читать полностью…Top 10 commands used (since last update was released)
/lyrics [36,290]
/afk [18,973]
/slap [12,913]
/help [11,332]
/ban [11,001]
/warn [10,669]
/start [8,340]
/antispam [6,419]
/mute [6,365]
/ud [5,995]
On Halloween, all commands will have a 1% chance of returning a photo of a creepy pumpkin face instead of what you actually wanted 🎃
Читать полностью…By the way, I guess @AbsolutelyNothingBot actually does something. I believe the act of doing nothing counts as something, right??
Читать полностью…I’m currently living in a caravan whilst we have work done to our house, which means I won’t have Wi-Fi for the next year. The only solution for this is to pay for a BT Wi-Fi pass (it’s like £40 for a month of Wi-Fi) but I really can’t afford this.
I can’t live off 4G because I pay per month and only get 3GB with the pack I’m on (I’ve checked, there are no better deals in my area).
If you’d like to help me out then I’d be really grateful because I can’t do much more than send messages otherwise, and I don’t wanna go to McDonalds every time I wanna watch something on YouTube...
My PayPal is https://paypal.me/wrxck
Please don’t give more than you can afford, I’m not going to dislike you for not being able to help me out lol, but there’s a lot of you in this channel and if you all gave like £0.50 I’d have enough to last me a few months 😆
Would you like a "Message of the day" feature (something like /motd), and a global one where you can see the latest post from @mattata when sending /gmotd?
Читать полностью…— New message.command field, which will put a relevant word as the value (i.e. if the command was /ping, message.command will be "ping"
Читать полностью…