mirror of
https://github.com/Cog-Creators/Red-DiscordBot.git
synced 2025-12-08 10:22:31 -05:00
only stop adding alias if the first WORD is already an alias in
multi-word alias names
This commit is contained in:
@@ -102,8 +102,7 @@ class Alias:
|
||||
return True
|
||||
if server not in self.aliases:
|
||||
return False
|
||||
for aname in self.aliases[server]:
|
||||
if aname.startswith(alias):
|
||||
if alias.split(" ")[0] in self.aliases[server]:
|
||||
return True
|
||||
return False
|
||||
|
||||
|
||||
Reference in New Issue
Block a user