From 7541ef06eb39a0defc496cf1be3059a51b560232 Mon Sep 17 00:00:00 2001 From: Sengolda Date: Mon, 18 Oct 2021 12:26:19 +0530 Subject: [PATCH] Type-hint _cog_template --- discord/__main__.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/discord/__main__.py b/discord/__main__.py index f69b21d7..f18c0090 100644 --- a/discord/__main__.py +++ b/discord/__main__.py @@ -112,7 +112,7 @@ var/ config.py """ -_cog_template = '''from discord.ext import commands +_cog_template: str = '''from discord.ext import commands import discord class {name}(commands.Cog{attrs}):