You've already forked wakapi-readme-stats
Compare commits
6 Commits
4be0d1a149
...
be8e3b9f7b
| Author | SHA1 | Date | |
|---|---|---|---|
| be8e3b9f7b | |||
| 45a6a62647 | |||
| 8808bce0d9 | |||
| 7b546b969a | |||
| 90e9c14d83 | |||
| e2848201da |
@@ -82,14 +82,7 @@ async def get_short_github_info() -> str:
|
||||
:returns: String representation of the info.
|
||||
"""
|
||||
|
||||
if EM.SHOW_FOLLOWERS:
|
||||
DBM.i("Adding profile followers...")
|
||||
stats = f"**🐱 {FM.t('Awesome People!')}** \n\n"
|
||||
data = GHM.USER.get_followers()
|
||||
for user in data:
|
||||
username = user.login.replace("-", "--")
|
||||
stats += f""
|
||||
stats += f"\n\nIf you follow my account you can appear on this list. *This list updates every 12h*\n\n"
|
||||
stats = str()
|
||||
|
||||
DBM.i("Adding short GitHub info...")
|
||||
stats += f"**🐱 {FM.t('My GitHub Data')}** \n\n"
|
||||
@@ -175,6 +168,17 @@ async def get_stats() -> str:
|
||||
yearly_data, commit_data = dict(), dict()
|
||||
DBM.w("User yearly data not needed, skipped.")
|
||||
|
||||
if EM.SHOW_FOLLOWERS:
|
||||
DBM.i("Adding profile followers...")
|
||||
stats += f"**⭐ {FM.t('Awesome People!')}** \n\n"
|
||||
data = GHM.USER.get_followers()
|
||||
for user in data:
|
||||
username = user.login.replace("-", "--")
|
||||
stats += f"[]({user.html_url}) "
|
||||
stats += f"\n\n###### Follow my account to appear on this list. *The list updates every 12h*\n\n"
|
||||
|
||||
stats += f"**📈 {FM.t('Stats')}** \n\n"
|
||||
|
||||
if EM.SHOW_TOTAL_CODE_TIME:
|
||||
DBM.i("Adding total code time info...")
|
||||
data = await DM.get_remote_json("waka_all")
|
||||
|
||||
@@ -72,7 +72,8 @@
|
||||
"private repositories": "%d Private Repositories",
|
||||
"I am an Early": "I'm an Early 🐤",
|
||||
"I am a Night": "I'm a Night 🦉",
|
||||
"Awesome People!": "Awesome People!"
|
||||
"Awesome People!": "Awesome People!",
|
||||
"Stats": "Stats"
|
||||
},
|
||||
"bn": {
|
||||
"Monday": "সোমবার",
|
||||
|
||||
Reference in New Issue
Block a user