aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorGravatar PureFunctor <[email protected]>2020-07-29 12:37:16 +0800
committerGravatar PureFunctor <[email protected]>2020-07-29 12:37:16 +0800
commit86387796ca671a47d7f7a7740b63980e6d0346b6 (patch)
tree3ed43fab94c3caa27f1992646ec29bd1bd655039
parentRefactor translation methods to avoid repetition (diff)
Explicitly pass left_shift as a keyword argument
-rw-r--r--bot/exts/evergreen/fun.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/bot/exts/evergreen/fun.py b/bot/exts/evergreen/fun.py
index 759a9e2a..5a499270 100644
--- a/bot/exts/evergreen/fun.py
+++ b/bot/exts/evergreen/fun.py
@@ -166,7 +166,7 @@ class Fun(Cog):
Also accepts a valid Discord Message ID or link.
"""
- await self._caesar_cipher(ctx, offset, msg, False)
+ await self._caesar_cipher(ctx, offset, msg, left_shift=False)
@caesarcipher_group.command(name="decrypt", aliases=("leftshift", "lshift", "dec",))
async def caesarcipher_decrypt(self, ctx: Context, offset: int, *, msg: Union[Message, str]) -> None:
@@ -177,7 +177,7 @@ class Fun(Cog):
Also accepts a valid Discord Message ID or link.
"""
- await self._caesar_cipher(ctx, offset, msg, True)
+ await self._caesar_cipher(ctx, offset, msg, left_shift=True)
@staticmethod
async def _get_text_and_embed(ctx: Context, text: str) -> Tuple[str, Union[Embed, None]]: