mirror of
https://github.com/Cog-Creators/Red-DiscordBot.git
synced 2025-11-21 02:16:09 -05:00
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:
@@ -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)
|
||||
|
||||
Reference in New Issue
Block a user