Skip to content

Commit

Permalink
typesetting
Browse files Browse the repository at this point in the history
  • Loading branch information
DoroWolf committed Aug 21, 2024
1 parent 5ef8aa4 commit a632b77
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 8 deletions.
5 changes: 1 addition & 4 deletions modules/github/repo.py
Original file line number Diff line number Diff line change
Expand Up @@ -37,12 +37,9 @@ async def repo(msg: Bot.MessageSession, name: str):
desc = '\n' + result['description']

message = f'''{result['full_name']} ({result['id']}){desc}
Language · {result['language']} | Fork · {result['forks_count']}
| Star · {result['stargazers_count']} | Watch · {result['watchers_count']}
Language · {result['language']} | Fork · {result['forks_count']} | Star · {result['stargazers_count']} | Watch · {result['watchers_count']}
License: {rlicense}
Created {time_diff(result['created_at'])} ago | Updated {time_diff(result['updated_at'])} ago
{website}{str(Url(result['html_url']))}'''

if mirror:
Expand Down
5 changes: 1 addition & 4 deletions modules/github/user.py
Original file line number Diff line number Diff line change
Expand Up @@ -29,11 +29,8 @@ async def user(msg: Bot.MessageSession, name: str):

optional_text = '\n' + ' | '.join(optional)
message = f'''{result['login']} aka {result['name']} ({result['id']}){bio}
Type · {result['type']} | Follower · {result['followers']} | Following · {result['following']}
| Repo · {result['public_repos']} | Gist · {result['public_gists']}{optional_text}
Type · {result['type']} | Follower · {result['followers']} | Following · {result['following']} | Repo · {result['public_repos']} | Gist · {result['public_gists']}{optional_text}
Account Created {time_diff(result['created_at'])} ago | Latest activity {time_diff(result['updated_at'])} ago
{str(Url(result['html_url']))}'''

is_dirty = await dirty_check(message, result['login']) or darkCheck(message)
Expand Down

0 comments on commit a632b77

Please sign in to comment.