Sfoglia il codice sorgente

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

pull/15/head
Kunal Mehta 9 anni fa
parent
commit
d6506eeb4d
1 ha cambiato i file con 3 aggiunte e 0 eliminazioni
  1. +3
    -0
      commands/stars.py

+ 3
- 0
commands/stars.py Vedi File

@@ -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?")


Caricamento…
Annulla
Salva