Skip to content

Commit

Permalink
Fixed builtin beards predicates.
Browse files Browse the repository at this point in the history
  • Loading branch information
natfarleydev committed Jan 20, 2017
1 parent 1349008 commit b56de0d
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 3 deletions.
3 changes: 2 additions & 1 deletion beards/gym/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,8 @@
import telepot
import telepot.aio
# from telegram.ext import CommandHandler, MessageHandler, Filters
from skybeard.beards import BeardChatHandler, Filters, regex_predicate, command_predicate
from skybeard.beards import BeardChatHandler
from skybeard.predicates import Filters, regex_predicate, command_predicate
from . import gym

class Gym(BeardChatHandler):
Expand Down
2 changes: 1 addition & 1 deletion beards/natrailenq/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
# Adapted from work by LanceMaverick
import telepot
import telepot.aio
from skybeard.beards import BeardChatHandler, regex_predicate
from skybeard.beards import BeardChatHandler
from skybeard.decorators import onerror
from skybeard.utils import get_args
from . import NatRail
Expand Down
3 changes: 2 additions & 1 deletion beards/postcats/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,8 @@
from urllib.request import urlopen
import telepot
import telepot.aio
from skybeard.beards import BeardChatHandler, regex_predicate
from skybeard.beards import BeardChatHandler
from skybeard.predicate import regex_predicate

class PostCats(BeardChatHandler):
__userhelp__ = """
Expand Down

0 comments on commit b56de0d

Please sign in to comment.