Selaa lähdekoodia

Fix.

pull/11/head
Ben Kurtovic 11 vuotta sitten
vanhempi
commit
ed9b4f261f
1 muutettua tiedostoa jossa 1 lisäystä ja 1 poistoa
  1. +1
    -1
      commands/urbandictionary.py

+ 1
- 1
commands/urbandictionary.py Näytä tiedosto

@@ -36,6 +36,6 @@ class UrbanDictionary(Command):
elif res['result_type'] == 'fulltext':
L = [i['word'] for i in res['list']]
msg = 'Here are some close matches: {0}.'
self.reply(data, msg.format(u", ".join(L).encode("utf8"))
self.reply(data, msg.format(u", ".join(L).encode("utf8")))
else:
self.reply(data, 'Sorry, no results found.')

Ladataan…
Peruuta
Tallenna