Grey Wolf Development – Telegram
Grey Wolf Development
12.1K subscribers
86 photos
1 video
5 files
132 links
Channel for developer updates / notices on what's going on with our bots
Download Telegram
Node Version 3.0.6033.16472:
Solved one issue in the image caching, which just revealed a different one. This patches the new image cache issue.
Control Version 3.0.6033.22670
Major update, especially for admins.
All users can now use /setlang and set their own personal language preference. Everyone has been defaulted to English, so be sure to update it if you need to.
Admins: the /config menu is now being translated by our team, but you can go ahead and set your personal language now.

IMPORTANT NOTE ABOUT THIS UPDATE:
The language the group is using to play a game will still be the language used to PM players. This cannot be changed. There are 2 main reasons for this:
1 - Amnesia / Secret / Normal are language files. If the group were playing Amnesia, and the player set their language to normal, that would be cheating.
2 - If a player can't understand the language in the group, then they don't need to be playing there. Communication is very important in this game!

Remember, if you are looking for a group in your language, you can always check /grouplist.
Too clarify, since there is some confusion:
/config - use this to set group language (and other options) - Admin only
/setlang - use this to set your personal language
Looks like the bot may have hit API limits again, or the Telegram bot API stopped responding. Either way, the bot is processing the thousands of messages it got in the past 5 minutes now....
Fireside chat with Para...
So, in the mornings (for me)... about 1300-1500 UTC I believe, we have been having serious lag issues. This is our peak time, lately with 280+ games running at the same time. Best I can tell, we have so many games running, we are hitting API rate limits again. Unfortunately, I do not know of a way to solve this. I have ways I can attempt to lessen the issue, such as removing the PM death message. You can see that you died in group chat. Extra messages like these are unfortunately adding to the issue.
Another possible thing that can be done is something that you the players can do. We need more large groups- groups running large games. Having 200 groups running 5 player games is leading to API rate limits. This is why in the coming days, I will be modifying the /grouplist command. Admins, take note. Any public supergroup will now become automatically listed in /grouplist . Then menu to find a group will be just like /setlang: you will be presented with a list of base languages, then variants (such as specific country, or modes like amnesia). Once you select the variant, you will be given a list of the top 15 or so groups for that language.

I encourage users to please, join these large groups, and play there. This will help to lower the number of messages being sent out, and hopefully lower the chance of hitting the API limits.

If you have any questions, as usual you can join @werewolfsupport.
By the way, from the documentation for bots:

If you're sending bulk notifications to multiple users, the API will not allow more than 30 messages per second or so. Consider spreading out notifications over large intervals of 8—12 hours for best results.

Also note that your bot will not be able to send more than 20 messages per minute to the same group.

Now think about 1900 players in 280 groups playing at once.
New command added for group admins:
/setlink
If your group is not a public group with a username (@werewolfgame for example), then you can use this command to set your groups invite link. Doing so will get your group listed in /grouplist (once I'm done making the changes to it).
Usage:
/setlink https://telegram.me/yourgrouplink

This is especially useful for Iranian groups, which can't have a username
Alright, /grouplist has now been updated. Running it will give you a menu of languages. Choose one, and it will send you a list of the top groups for that language.
Admins - if your group isn't listed, and you'd like it to be, use /setlink

(2nd attempt... first time I had some terrible methods that killed the CPU every time someone ran /grouplist. I've optimized it now, try again)
Website is moving! It's still the same server, but I have changed the address. The old address still works, but the new one is http://tgwerewolf.com
Due to the extremely high volume of messages to the bot, I have enabled privacy mode (@werewolfbot can ONLY see messages that are commands to it). However, in order for this to fully take effect, I need admins (especially in large groups) to please remove and re-add @werewolfbot to their group.

Doing this will help with the lag issues, as the bot won't see as many messages
Also, if for some strange reason you set @werewolfbot as an admin in your group, please demote it. Setting the bot as an admin automatically disables privacy mode, which means it can see all messages in your group.
Just a heads up - I'm noticing some players spamming the bot - sending 30 - 40+ messages in a matter of seconds. If I see you doing that, the bot will notify you ("Please don't spam me like that"). If you persist, you will be banned.

When you are banned, the bot will simply no longer respond to you.
Ok seriously. The number of people spamming the bot. I'm going to lower the spam detection threshold so that you get banned faster.

If you see someone spamming the bot, be sure to thank them for helping to cause lag. If an admin, you might want to kick them.
NOTICE -
@werewolfbot is moving to a new (better) server. The new server has more RAM, a much better CPU, and is located much closer to Telegram datacenters.

In order for me to move @werewolfbot to the new server, we will need to shut it down for a few minutes. Shortly, I will disable new games from starting. Once games have ended, I will shut it down completely and start it back up on the new server.

We appreciate your patience as we upgrade the bot :)
Upgrade is starting. The bot is installed and ready on the new server. As soon as all games have ended, I will shut down the bot on the old US server, and start it up in Germany XD

Please note, at this time the SQL database is still in the US. Expect a tiny bit of lag when running things like /grouplist, or when the bot first starts up. Once everything is stable on the new server, I will migrate the database onto the new server as well - that's just a much harder task.
Bot is now online in Germany - have fun!
Admins!! Many of us have been using Group Butler to help us manage our groups. Well, the werewolf team has made a new version of that bot, @werewolfbutlerbot . Besides the werewolf specific customizations, this also decreases the load on group Butler. @werewolfbutlerbot has its own dedicated server (not the same server as @werewolfbot), and is pretty fast. Highly recommend it for your group management needs!

Automatic flood control
Warning users (with limit until auto ban)
Disallow media types if you want
All sorts of features!!!

If you add it and need help, as always you can join @werewolfsupport
Ever wondered what chaos game team balance looked like? Here it is. We'll be working on smoothing that out a bit soon.
#smallvillageisOP
😁1
A few people are getting banned for flooding the bot. Let me explain a few things here:

Spamming a command is not some kind of magic. Hitting a command 40 times will not make anything magical happen. It's like the button on an elevator - pressing it multiple times is not a secret passcode or anything.

The spam detection is actually quite lenient. If you hit it, you were seriously spamming it. The bot also warns you before it bans you.

Here's the bigger reason why this happens though -
Everytime you hit a command, it's meant to get a response from the bot. Each time the bot has to send a command, it counts towards the API limit. So spamming a command reaches the bot towards API limits, and lags the bot for EVERYONE. This is why we are very strict about spamming the bot - if you do it enough for the bot to auto-ban you, that's on you. You were given a warning and continued to spam the bot.

NOTE: If you do get banned, as the bot says, you may appeal your ban in @werewolfsupport. Please do NOT PM the developer.
New command available for admins:
/killgame

It doesn't happen often, but sometimes a game will get stuck - no one can flee, the time doesn't move forward, nothing happens. When this does happen, use /killgame to force the game to end.
Ok, taking that last command back. Only Global Admins can run that command now, not group admins. Too many admins are abusing it already.

If a game in your group gets stuck, please join @werewolfsupport and ask for help