Changed formatting > text
This commit is contained in:
parent
d34b14dfde
commit
4538b67a20
|
@ -1,7 +1,7 @@
|
|||
import random
|
||||
from util import hook, http
|
||||
|
||||
from util.formatting import truncate_words
|
||||
from util.text import truncate_words
|
||||
|
||||
|
||||
def api_get(kind, query):
|
||||
|
|
|
@ -4,7 +4,7 @@ Scaevolus 2009'''
|
|||
import re
|
||||
|
||||
from util import hook, http
|
||||
from util.formatting import truncate_words
|
||||
from util.text import truncate_words
|
||||
|
||||
|
||||
api_prefix = "http://en.wikipedia.org/w/api.php"
|
||||
|
|
|
@ -5,7 +5,7 @@ from util import hook, http
|
|||
|
||||
from urllib2 import HTTPError
|
||||
from util.web import bitly, ShortenError
|
||||
from util.formatting import truncate_words
|
||||
from util.text import truncate_words
|
||||
|
||||
|
||||
@hook.command('wa')
|
||||
|
|
Reference in a new issue