mirror of
https://github.com/Cog-Creators/Red-DiscordBot.git
synced 2025-11-06 03:08:55 -05:00
[V3 Core] Add a much-needed forward reference (#1763)
This commit is contained in:
parent
35e9fab701
commit
bcf7ea30c5
@ -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:
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user