aboutsummaryrefslogtreecommitdiffstats
path: root/bot/exts/fun/fun.py
diff options
context:
space:
mode:
Diffstat (limited to 'bot/exts/fun/fun.py')
-rw-r--r--bot/exts/fun/fun.py3
1 files changed, 1 insertions, 2 deletions
diff --git a/bot/exts/fun/fun.py b/bot/exts/fun/fun.py
index 773c2ffb..a27ad85f 100644
--- a/bot/exts/fun/fun.py
+++ b/bot/exts/fun/fun.py
@@ -1,4 +1,3 @@
-import functools
import json
import logging
import random
@@ -10,13 +9,13 @@ from discord import Embed, Message
from discord.ext import commands
from discord.ext.commands import BadArgument, Cog, Context, MessageConverter, clean_content
-from bot import utils
from bot.bot import Bot
from bot.constants import Client, Colours, Emojis
from bot.utils import helpers
log = logging.getLogger(__name__)
+
def caesar_cipher(text: str, offset: int) -> Iterable[str]:
"""
Implements a lazy Caesar Cipher algorithm.