Initial Commit

This commit is contained in:
Ian
2024-03-10 00:21:05 -05:00
parent ebb3da0fdd
commit f76b86416a
3 changed files with 33 additions and 16 deletions

View File

@@ -56,12 +56,27 @@ class CoreCog(commands.Cog, name="Core"):
except discord.Forbidden:
pass
# @commands.Cog.listener()
# async def on_message(self, message):
# if message.channel.id == 649390966259580929 and message.author.id != 1091116499936223252:
# if message.embeds:
# for embed in message.embeds:
# reply_channel = self.bot.get_channel(611922107345141760)
# if "Patch Notes" in embed.title:
# await reply_channel.send(f"<@&159107041896562688> CIG has published new [Patch Notes](<{embed.url}>).")
# elif "Galactapedia" in embed.title:
# await reply_channel.send(f"<@&159107041896562688> CIG has published a new [Galactapedia update](<{embed.url}>).")
# elif "This Week in Star Citizen" in embed.title:
# await reply_channel.send(f"<@&159107041896562688> CIG has published a new [TWISC](<{embed.url}>).")
# elif "Monthly Report" in embed.title:
# await reply_channel.send(f"<@&159107041896562688> CIG has published a new [Monthly Report](<{embed.url}>).")
@commands.hybrid_command(description="Shows you some info about the bot.")
async def info(self, ctx: commands.Context) -> None:
embed = discord.Embed(
color=self.bot.config.embed_color,
title="Info",
description="Empire Report is an instance of the SC News Bot created for the r/starcitizen Org Hub\n Discord server to help with writing news posts.",
description="The SC News Bot is a bot created for the r/starcitizen Discord server to help with writing news posts.",
)
# embed.add_field(
# name="Version", value=f"v{self.bot.version}+{self._get_version()}"
@@ -71,7 +86,7 @@ class CoreCog(commands.Cog, name="Core"):
)
embed.add_field(
name="Authors",
value=f"Ian (<@1088892000348151839>), and mudkip (<@998070081709932654>)",
value=f"Ian (<@288522211164160010>), and mudkip (<@998070081709932654>)",
)
view = discord.ui.View()
view.add_item(