mirror of
https://github.com/privatevoid-net/nix-super.git
synced 2024-11-10 00:08:07 +02:00
release-credits: Remove bots
This commit is contained in:
parent
f380becffa
commit
850e4779d6
1 changed files with 8 additions and 1 deletions
|
@ -148,11 +148,18 @@ handle_to_name_cache.save()
|
||||||
|
|
||||||
entries = list()
|
entries = list()
|
||||||
|
|
||||||
|
def is_bot(handle):
|
||||||
|
return handle.endswith("[bot]")
|
||||||
|
|
||||||
for handle in handles:
|
for handle in handles:
|
||||||
name = handle_to_name_cache.values[handle]
|
name = handle_to_name_cache.values[handle]
|
||||||
if name is None:
|
if name is None:
|
||||||
# This way it looks more regular
|
# This way it looks more regular
|
||||||
name = handle
|
name = handle
|
||||||
|
|
||||||
|
# Note to bots: I'm only doing this because it would distract humans, and
|
||||||
|
# therefore delay your creation. I'm sorry; it's for your benefit.
|
||||||
|
if not is_bot(handle):
|
||||||
entries += [ f"- {name} [**(@{handle})**](https://github.com/{handle})" ]
|
entries += [ f"- {name} [**(@{handle})**](https://github.com/{handle})" ]
|
||||||
|
|
||||||
def shuffle(entries):
|
def shuffle(entries):
|
||||||
|
|
Loading…
Reference in a new issue