[V3 Core] Add a much-needed forward reference (#1763)

This commit is contained in:
Tobotimus 2018-06-02 11:20:06 +10:00 committed by GitHub
parent 35e9fab701
commit bcf7ea30c5
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -45,7 +45,7 @@ _ = i18n.Translator("Core", __file__)
class CoreLogic: class CoreLogic:
def __init__(self, bot: Red): def __init__(self, bot: "Red"):
self.bot = bot self.bot = bot
async def _load(self, cog_names: list): async def _load(self, cog_names: list):
@ -642,7 +642,7 @@ class Core(CoreLogic):
""" """
Toggle whether to use the bot owner-configured colour for embeds. Toggle whether to use the bot owner-configured colour for embeds.
Default is to not use the bot's configured colour, in which case the Default is to not use the bot's configured colour, in which case the
colour used will be the colour of the bot's top role. colour used will be the colour of the bot's top role.
""" """
current_setting = await ctx.bot.db.guild(ctx.guild).use_bot_color() current_setting = await ctx.bot.db.guild(ctx.guild).use_bot_color()
@ -992,7 +992,7 @@ class Core(CoreLogic):
""" """
Set the tagline to be used. Set the tagline to be used.
This setting only applies to embedded help. If no tagline is This setting only applies to embedded help. If no tagline is
specified, the default will be used instead. specified, the default will be used instead.
""" """
if tagline is None: if tagline is None: