diff options
| author | 2019-09-09 16:37:13 -0400 | |
|---|---|---|
| committer | 2019-09-09 16:37:13 -0400 | |
| commit | 4b18d7e430d5cea16406c65349718f72919c01c3 (patch) | |
| tree | 7fc4f6a0aea2d16e0409723d205c1ab45dcd920f /bot/seasons/valentines/savethedate.py | |
| parent | Initial linting pass (diff) | |
Lint remaining files
hacktoberstats cog handled in separate PR
Diffstat (limited to 'bot/seasons/valentines/savethedate.py')
| -rw-r--r-- | bot/seasons/valentines/savethedate.py | 6 | 
1 files changed, 3 insertions, 3 deletions
diff --git a/bot/seasons/valentines/savethedate.py b/bot/seasons/valentines/savethedate.py index 34264183..e0bc3904 100644 --- a/bot/seasons/valentines/savethedate.py +++ b/bot/seasons/valentines/savethedate.py @@ -19,11 +19,11 @@ with open(Path("bot/resources/valentines/date_ideas.json"), "r", encoding="utf8"  class SaveTheDate(commands.Cog):      """A cog that gives random suggestion for a Valentine's date.""" -    def __init__(self, bot): +    def __init__(self, bot: commands.Bot):          self.bot = bot      @commands.command() -    async def savethedate(self, ctx): +    async def savethedate(self, ctx: commands.Context) -> None:          """Gives you ideas for what to do on a date with your valentine."""          random_date = random.choice(VALENTINES_DATES['ideas'])          emoji_1 = random.choice(HEART_EMOJIS) @@ -36,7 +36,7 @@ class SaveTheDate(commands.Cog):          await ctx.send(embed=embed) -def setup(bot): +def setup(bot: commands.Bot) -> None:      """Save the date Cog Load."""      bot.add_cog(SaveTheDate(bot))      log.info("SaveTheDate cog loaded")  |