Clash of clans bot for window 10
![clash of clans bot for window 10 clash of clans bot for window 10](https://oss.gamebots.run/default/202010/96e6cbca-1.jpg)
- Clash of clans bot for window 10 install#
- Clash of clans bot for window 10 update#
- Clash of clans bot for window 10 windows#
Pybable update -i clashogram/locales/messages.pot -d clashogram/locales -l fa Pybable update -i clashogram/locales/messages.pot -d clashogram/locales -l įor example: pybable init -i clashogram/locales/messages.pot -d clashogram/locales -l fa Pybable init -i clashogram/locales/messages.pot -d clashogram/locales -l
Clash of clans bot for window 10 install#
In order toadd or update a new language catalog do the following: pip install babel # Install the babel i18n tool first. YouĬan replace it with anything else to have your messages sent toįork and clone the repository and send a PR. The Telegram notification is isolated from the rest of the program. Search internet for more information on installing systemd units on your The simplest way to use Clashogram is leave it running in backgroundĮxecStart=/path/to/python /path/to/clashogram
Clash of clans bot for window 10 windows#
Make sure to run set LANGUAGE= on windows before running the program. Or do it in one step: $ LANGUAGE=fa clashogram -coc-token -clan-tag -bot-token -chat-id
![clash of clans bot for window 10 clash of clans bot for window 10](https://t.ctcdn.com.br/Qy7zh6bdk9JNkeszL00QaxmS34w=/1024x0/smart/i304106.jpeg)
In order to have messages in a different locale do the following and If you don't want attack updates in your channel add -mute-attacks to the above command. NOTE: Remember that channel names begin with and chat_ids are numbers (often negative).
![clash of clans bot for window 10 clash of clans bot for window 10](http://1.bp.blogspot.com/-fFXPcUlCfGI/VqcusJ5qmiI/AAAAAAAAAVo/g5WrfINoRd0/s1600/FarmerRaid.jpg)
$ clashogram -coc-token -clan-tag -bot-token -chat-id -forever Run the following command to install and start the program: $ pip install clashogram Now we can proceed with starting the program. If it does not work, make sure you have done the previous steps correctly or open an issue on GitHub. Now to make sure if the chat_id realy points to a chat, run the following command and see whether your bot can post to your channel or group chat: $ curl -request POST -url \?chat_id\=\&text\=hi Remember that you can also use form as chat_id for public channels. This is what we will use in the rest of this document as chat_id for channels and groups. You can omit the jq part and just search for a type=group or type=channel in the output and take note of its id. $ curl -silent -request POST | jq '.result | map(select(.channel_ = "channel")) |. $ curl -silent -request POST | jq '.result | map(select(. = "group")) |. Use the bot_token from the step 4 of the previous section and run one of these this command: # For a group chat run this Make sure to write something in the channel/chat Take the following steps to obtain the correct chat_id: However, for private channels and group chats we need to obtain the chat_id. For public channels it is possible to use the name of the channel prefixed with as chat_id, e.g. In order to send messages to a channel or a chat in Telegram we need the ID of that chat, i.e.
![clash of clans bot for window 10 clash of clans bot for window 10](https://dfg.ai/itemimages/900251168-clash-of-clans-bot-farme-por-tempo-ilimitado-NUOQ.jpg)
In that case a systemd unit or similar could be used to start the clashogram container above. In my experience this works good enought, however for some reason sometimes docker does not start the container after reboot. ENV_FILE should contain one key=value per line (the app params). This will run the container in the background and restart it if it fails. Slighty better would be: $ docker run -env-file= -name clashogram -restart=always -d mehdisadeghi/clashogram:latest This will prompt for the necessary parameters and start the app. In order to run the latest docker version do the following: $ docker run -it mehdisadeghi/clashogram:latest Installationįrom Github (for development): $ git clone On Linux you would need to run commands with sudo, on Installation much easier, otherwise you have to install everything To run the program you need to have python 3.3 or higher.