diff options
Diffstat (limited to 'bot/exts/valentines')
| -rw-r--r-- | bot/exts/valentines/be_my_valentine.py | 4 | ||||
| -rw-r--r-- | bot/exts/valentines/lovecalculator.py | 2 | ||||
| -rw-r--r-- | bot/exts/valentines/movie_generator.py | 4 | ||||
| -rw-r--r-- | bot/exts/valentines/myvalenstate.py | 7 | ||||
| -rw-r--r-- | bot/exts/valentines/pickuplines.py | 2 | ||||
| -rw-r--r-- | bot/exts/valentines/savethedate.py | 2 | ||||
| -rw-r--r-- | bot/exts/valentines/valentine_zodiac.py | 2 | ||||
| -rw-r--r-- | bot/exts/valentines/whoisvalentine.py | 2 | 
8 files changed, 11 insertions, 14 deletions
| diff --git a/bot/exts/valentines/be_my_valentine.py b/bot/exts/valentines/be_my_valentine.py index e94efda0..cf6099d2 100644 --- a/bot/exts/valentines/be_my_valentine.py +++ b/bot/exts/valentines/be_my_valentine.py @@ -21,7 +21,7 @@ HEART_EMOJIS = [":heart:", ":gift_heart:", ":revolving_hearts:", ":sparkling_hea  class BeMyValentine(commands.Cog):      """A cog that sends Valentines to other users!""" -    def __init__(self, bot: commands.Bot): +    def __init__(self, bot: Bot):          self.bot = bot          self.valentines = self.load_json() @@ -198,5 +198,5 @@ class BeMyValentine(commands.Cog):  def setup(bot: Bot) -> None: -    """Be my Valentine Cog load.""" +    """Load the Be my Valentine Cog."""      bot.add_cog(BeMyValentine(bot)) diff --git a/bot/exts/valentines/lovecalculator.py b/bot/exts/valentines/lovecalculator.py index c2a5da26..e55dc128 100644 --- a/bot/exts/valentines/lovecalculator.py +++ b/bot/exts/valentines/lovecalculator.py @@ -93,5 +93,5 @@ class LoveCalculator(Cog):  def setup(bot: Bot) -> None: -    """Love calculator Cog load.""" +    """Load the Love calculator Cog."""      bot.add_cog(LoveCalculator()) diff --git a/bot/exts/valentines/movie_generator.py b/bot/exts/valentines/movie_generator.py index 461255ff..4508c3b2 100644 --- a/bot/exts/valentines/movie_generator.py +++ b/bot/exts/valentines/movie_generator.py @@ -16,7 +16,7 @@ log = logging.getLogger(__name__)  class RomanceMovieFinder(commands.Cog):      """A Cog that returns a random romance movie suggestion to a user.""" -    def __init__(self, bot: commands.Bot): +    def __init__(self, bot: Bot):          self.bot = bot      @commands.command(name="romancemovie") @@ -62,5 +62,5 @@ class RomanceMovieFinder(commands.Cog):  def setup(bot: Bot) -> None: -    """Romance movie Cog load.""" +    """Load the Romance movie Cog."""      bot.add_cog(RomanceMovieFinder(bot)) diff --git a/bot/exts/valentines/myvalenstate.py b/bot/exts/valentines/myvalenstate.py index 7a0f8318..1c67984b 100644 --- a/bot/exts/valentines/myvalenstate.py +++ b/bot/exts/valentines/myvalenstate.py @@ -19,9 +19,6 @@ with open(Path("bot/resources/valentines/valenstates.json"), "r", encoding="utf8  class MyValenstate(commands.Cog):      """A Cog to find your most likely Valentine's vacation destination.""" -    def __init__(self, bot: commands.Bot): -        self.bot = bot -      def levenshtein(self, source: str, goal: str) -> int:          """Calculates the Levenshtein Distance between source and goal."""          if len(source) < len(goal): @@ -83,5 +80,5 @@ class MyValenstate(commands.Cog):  def setup(bot: Bot) -> None: -    """Valenstate Cog load.""" -    bot.add_cog(MyValenstate(bot)) +    """Load the Valenstate Cog.""" +    bot.add_cog(MyValenstate()) diff --git a/bot/exts/valentines/pickuplines.py b/bot/exts/valentines/pickuplines.py index 216ee13b..909169e6 100644 --- a/bot/exts/valentines/pickuplines.py +++ b/bot/exts/valentines/pickuplines.py @@ -38,5 +38,5 @@ class PickupLine(commands.Cog):  def setup(bot: Bot) -> None: -    """Pickup lines Cog load.""" +    """Load the Pickup lines Cog."""      bot.add_cog(PickupLine()) diff --git a/bot/exts/valentines/savethedate.py b/bot/exts/valentines/savethedate.py index ed2d2c5f..cc16f5c9 100644 --- a/bot/exts/valentines/savethedate.py +++ b/bot/exts/valentines/savethedate.py @@ -35,5 +35,5 @@ class SaveTheDate(commands.Cog):  def setup(bot: Bot) -> None: -    """Save the date Cog Load.""" +    """Load the Save the date Cog."""      bot.add_cog(SaveTheDate()) diff --git a/bot/exts/valentines/valentine_zodiac.py b/bot/exts/valentines/valentine_zodiac.py index 72fd93fe..a444a355 100644 --- a/bot/exts/valentines/valentine_zodiac.py +++ b/bot/exts/valentines/valentine_zodiac.py @@ -142,5 +142,5 @@ class ValentineZodiac(commands.Cog):  def setup(bot: Bot) -> None: -    """Valentine zodiac Cog load.""" +    """Load the Valentine zodiac Cog."""      bot.add_cog(ValentineZodiac()) diff --git a/bot/exts/valentines/whoisvalentine.py b/bot/exts/valentines/whoisvalentine.py index 3789fad5..3f23201f 100644 --- a/bot/exts/valentines/whoisvalentine.py +++ b/bot/exts/valentines/whoisvalentine.py @@ -46,5 +46,5 @@ class ValentineFacts(commands.Cog):  def setup(bot: Bot) -> None: -    """Who is Valentine Cog load.""" +    """Load the Who is Valentine Cog."""      bot.add_cog(ValentineFacts()) | 
