aboutsummaryrefslogtreecommitdiffstats
path: root/bot
diff options
context:
space:
mode:
authorGravatar glowingrunes <[email protected]>2019-05-03 21:35:28 +0100
committerGravatar glowingrunes <[email protected]>2019-05-03 21:35:28 +0100
commiteece8c93fcfdd2b5c82ca87a2d4f15eec9de99ba (patch)
tree36c7e17eb9c9d01829116ed8f37eb59d00067933 /bot
parentCombined filter_name and find_spaces into one method. Renamed variables to be... (diff)
Fixed linting error.
Diffstat (limited to 'bot')
-rw-r--r--bot/seasons/easter/bunny_name_generator.py4
1 files changed, 1 insertions, 3 deletions
diff --git a/bot/seasons/easter/bunny_name_generator.py b/bot/seasons/easter/bunny_name_generator.py
index f8d0eea3..5dcbe62f 100644
--- a/bot/seasons/easter/bunny_name_generator.py
+++ b/bot/seasons/easter/bunny_name_generator.py
@@ -19,9 +19,7 @@ class BunnyNameGenerator(commands.Cog):
self.bot = bot
def find_separators(self, displayname):
- """
- Check if Discord name contains spaces so we can bunnify an individual word in the name.
- """
+ """Check if Discord name contains spaces so we can bunnify an individual word in the name."""
new_name = re.split(r'[_.\s]', str(displayname))
if displayname not in new_name: