Selaa lähdekoodia

!stars: If no username is provided, assume it's Earwig's

pull/15/head
Kunal Mehta 8 vuotta sitten
vanhempi
commit
d6506eeb4d
1 muutettua tiedostoa jossa 3 lisäystä ja 0 poistoa
  1. +3
    -0
      commands/stars.py

+ 3
- 0
commands/stars.py Näytä tiedosto

@@ -39,6 +39,9 @@ class Stars(Command):
return

repo = data.args[0]
if '/' not in repo:
# Assume we're talking about an Earwig repo
repo = 'earwig/' + repo
info = self.get_repo(repo)
if info is None:
self.reply(data, "Repository not found. Is it private?")


Ladataan…
Peruuta
Tallenna