Improve legibility
This commit is contained in:
@@ -14,11 +14,9 @@ from flanabot.bots.flana_bot import FlanaBot
|
|||||||
from flanabot.models import Message
|
from flanabot.models import Message
|
||||||
|
|
||||||
|
|
||||||
# ---------------------------------------------------------- #
|
# ---------------------------------------------------- #
|
||||||
# ----------------------- DECORATORS ----------------------- #
|
# -------------------- DECORATORS -------------------- #
|
||||||
# ---------------------------------------------------------- #
|
# ---------------------------------------------------- #
|
||||||
|
|
||||||
|
|
||||||
def whitelisted(func: Callable) -> Callable:
|
def whitelisted(func: Callable) -> Callable:
|
||||||
@functools.wraps(func)
|
@functools.wraps(func)
|
||||||
@find_message
|
@find_message
|
||||||
|
|||||||
Reference in New Issue
Block a user