Skip to content

Latest commit

 

History

History
31 lines (23 loc) · 1.28 KB

README.md

File metadata and controls

31 lines (23 loc) · 1.28 KB

Island 岛屿 Stats bot

GitHub last commitGitHub release (latest by date)GitHubGitHub all releasesGitHub code size in bytes

The Island 岛屿 statistic bot.

Install Python 3 and requirements and set a cronjob to run whenever you want to post statistics.

pip3 install -r requirements.txt

An example configuration file named config.py is below.

Placeholders are in %%...%%, feel free to edit them

client_id=""
client_secret=""
access_token=""
instance="https://mast.dragon-fly.club"
visibility="unlisted"
show_change=True
text = """
#island岛屿晚间播报 #islandstats 
晚上好~各位islanders
目前本实例的版本号为: %%version%%.
共有 %%usercount%% 位超可爱的你们发出了 %%statuscount%% 条嘟嘟
我们共发现了 %%domaincount%% 个实例并和他们发出了友好互动

期待与各位Islanders一同创造的明天~
"""