The idea of this project is to create bots interact with news, events and activities related to Saudi Arabia. Currently the project has only one bot "kingbot".
The bots are hosted on DigitalOcean Droplet (Ubuntu 16.04.1 x64) and running every 15 min by a Cron job.
The bot performs actions based on news related to the King of Saudi Arabia provided by the Saudi Press Agency (SPA) and it will check the following:
It will check if there is any new news related to the King arrival to a certain place, based on last "arriavl_id" stored on the bot's configuration file. Then the bot will tweet about it and update the profile location for the account "KingSalmanBot".
وصلت بحمد الله إلى الإمارات العربية المتحدة
— Salman Bin Abdulaziz (@KingSalmanBot) December 4, 2016
Similar to the arrival news the bot will tweet and remove the location from the the profile.
غادرت بحفظ الله ورعايته المنطقة الشرقية في جولة خليجية تشمل الإمارات وقطر والبحرين والكويت
— Salman Bin Abdulaziz (@KingSalmanBot) December 4, 2016
The bot will check if there is any new royal orders based on the last "order_id" stored in the bot's configuration file. Then the bot will tweet the order in KingSalmanBot and create a ticket in the "royal-orders" GitHub's repo.
أمرت بـ: أمر ملكي : خادم الحرمين الشريفين ينيب سمو ولي العهد في إدارة شؤون الدولة ورعاية مصالح الشعب خلال فترة غي... https://t.co/8lIIKoVdnn
— Salman Bin Abdulaziz (@KingSalmanBot) December 4, 2016
Similar to the royal orders, the bot will check based on last "order_id" stored in the bot's configuration file. Then will tweet and create a ticket in "cabinet-decisions".
قررنا: نائب خادم الحرمين الشريفين يرأس جلسة مجلس الوزراء https://t.co/3E2ZVAI9Ys
— Salman Bin Abdulaziz (@KingSalmanBot) December 5, 2016
The bot will check if "KingSalman" tweeted based on last "retweet_id" stored in the bot's configuration file. Then retweet it in "KingSalmanBot".
Gear icon from "ICONFINDER".
Saudi Bots is licensed under the GPL-3.0 License.