fuck the state i am drunk
This commit is contained in:
parent
956e540fed
commit
0a16c4aa28
1 changed files with 0 additions and 3 deletions
|
@ -13,7 +13,6 @@ from service import slack
|
||||||
|
|
||||||
LOGGER = logging.getLogger('cookie')
|
LOGGER = logging.getLogger('cookie')
|
||||||
MAX_PINS = 100
|
MAX_PINS = 100
|
||||||
MAX_LORE = 30
|
|
||||||
LORE_FILE = 'lore.json'
|
LORE_FILE = 'lore.json'
|
||||||
CHANNELS = {}
|
CHANNELS = {}
|
||||||
ANGER_MESSAGES = [':anger:', ':angry:']
|
ANGER_MESSAGES = [':anger:', ':angry:']
|
||||||
|
@ -161,8 +160,6 @@ def process_message(data):
|
||||||
#
|
#
|
||||||
|
|
||||||
def _lore(channel, count):
|
def _lore(channel, count):
|
||||||
if count > MAX_LORE:
|
|
||||||
return [random.choice(ANGER_MESSAGES)]
|
|
||||||
pins = channel.saved_pins
|
pins = channel.saved_pins
|
||||||
if not pins:
|
if not pins:
|
||||||
return None
|
return None
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue