mirror of
https://github.com/nexy7574/LCC-bot.git
synced 2024-09-19 10:03:40 +01:00
rm
This commit is contained in:
parent
92eaf5f2c0
commit
c18349dffe
1 changed files with 0 additions and 6 deletions
|
@ -491,12 +491,6 @@ class Events(commands.Cog):
|
|||
break
|
||||
else:
|
||||
continue
|
||||
elif data.get("file"):
|
||||
# Check the file exists
|
||||
if not isinstance(data["file"], discord.File):
|
||||
data["file"] = discord.File(data["file"])
|
||||
if not data["file"].fp.exists():
|
||||
continue
|
||||
|
||||
if meta.get("sub") is not None and isinstance(meta["sub"], dict):
|
||||
content = re.sub(meta["sub"]["pattern"], meta["sub"]["with"], message.content)
|
||||
|
|
Loading…
Reference in a new issue