Add description of first message

isitdown_initial
bobloy 4 years ago
parent a4f8fed4e5
commit cb6693f382

@ -10,8 +10,6 @@ log = logging.getLogger("red.fox_v3.firstmessage")
class FirstMessage(commands.Cog): class FirstMessage(commands.Cog):
""" """
Provides a link to the first message in the provided channel Provides a link to the first message in the provided channel
Less important information about the cog
""" """
def __init__(self, bot: Red): def __init__(self, bot: Red):
@ -31,6 +29,9 @@ class FirstMessage(commands.Cog):
@commands.command() @commands.command()
async def firstmessage(self, ctx: commands.Context, channel: discord.TextChannel = None): async def firstmessage(self, ctx: commands.Context, channel: discord.TextChannel = None):
"""
Provide a link to the first message in current or provided channel.
"""
if channel is None: if channel is None:
channel = ctx.channel channel = ctx.channel
try: try:

Loading…
Cancel
Save