Spelling correction of method name in Tunnel (#2496)

`Tunnel.files_from_attatch` was misspelled.

Kept old name as an alias for backwards compatibility.
This commit is contained in:
jack1142
2019-03-04 02:19:40 +01:00
committed by Toby Harradine
parent b4753a02de
commit 30fa9303e8
2 changed files with 7 additions and 4 deletions

View File

@@ -165,7 +165,7 @@ class Reports(commands.Cog):
if channel is None:
return None
files: List[discord.File] = await Tunnel.files_from_attatch(msg)
files: List[discord.File] = await Tunnel.files_from_attach(msg)
ticket_number = await self.config.guild(guild).next_ticket()
await self.config.guild(guild).next_ticket.set(ticket_number + 1)