code style fixes
This commit is contained in:
parent
f391a7bd12
commit
06114022da
|
@ -1,7 +1,8 @@
|
||||||
from flask import current_app
|
from flask import current_app
|
||||||
from tlapbot.db import get_db
|
from tlapbot.db import get_db
|
||||||
from tlapbot.owncast_helpers import (use_points, add_to_redeem_queue,
|
from tlapbot.owncast_helpers import (use_points, add_to_redeem_queue,
|
||||||
add_to_counter, read_users_points, send_chat)
|
add_to_counter, read_users_points, send_chat)
|
||||||
|
|
||||||
|
|
||||||
def handle_redeem(message, user_id):
|
def handle_redeem(message, user_id):
|
||||||
split_message = message[1:].split(maxsplit=1)
|
split_message = message[1:].split(maxsplit=1)
|
||||||
|
@ -35,4 +36,4 @@ def handle_redeem(message, user_id):
|
||||||
else:
|
else:
|
||||||
send_chat(f"Can't redeem {redeem}, you don't have enough points.")
|
send_chat(f"Can't redeem {redeem}, you don't have enough points.")
|
||||||
else:
|
else:
|
||||||
send_chat("Can't redeem, redeem not found.")
|
send_chat("Can't redeem, redeem not found.")
|
||||||
|
|
Loading…
Reference in New Issue