diff --git a/README.md b/README.md index 9ccae41..af3fb58 100644 --- a/README.md +++ b/README.md @@ -8,13 +8,11 @@ # IgKnite - - - - - - - + +| | | +|-------------------|-------------------| +| 🌇 | **As of 24th February 2024, we have decided to sunset IgKnite. It might sound unexpectedly straightforward, but we've taken this decision so that we can take the experience we've gained while building this awesome project and apply it to something that'd carry on it's legacy. It has been a very nice journey, and hopefully you'll stay around for updates. Something's on the way!** | +
@@ -22,7 +20,6 @@ [![Formatting](https://github.com/IgKniteDev/IgKnite/actions/workflows/formatting.yml/badge.svg)](https://github.com/IgKniteDev/IgKnite/actions/workflows/formatting.yml) [![Linting](https://github.com/IgKniteDev/IgKnite/actions/workflows/linting.yml/badge.svg)](https://github.com/IgKniteDev/IgKnite/actions/workflows/linting.yml) - --- diff --git a/core/__init__.py b/core/__init__.py index fbdb17a..89c27d6 100644 --- a/core/__init__.py +++ b/core/__init__.py @@ -11,7 +11,7 @@ from .ui import * # Set version number. -__version_info__ = ('2024', '1', '28') # Year.Month.Day +__version_info__ = ('2024', '2', '23') # Year.Month.Day __version__ = '.'.join(__version_info__) diff --git a/core/bot.py b/core/bot.py index 163accd..27baf00 100644 --- a/core/bot.py +++ b/core/bot.py @@ -7,8 +7,10 @@ import disnake from disnake.ext import commands +from disnake.interactions import ApplicationCommandInteraction from core.chain import keychain +from core.ui import SmallView, TypicalEmbed # Set up a custom class for core functionality. @@ -54,6 +56,17 @@ async def on_message(self, message: disnake.Message) -> None: if message.author == self.user: return + # 23.02.2024 - The end. + async def on_application_command(self, interaction: ApplicationCommandInteraction) -> None: + embed = TypicalEmbed(inter=interaction, title='🌇 Sunsetting IgKnite.').add_field( + name='Why?', + value="It might sound unexpectedly straightforward, but we've taken this decision so that we can take the experience we've gained while building this awesome project and apply it to something that'd carry on it's legacy. It has been a very nice journey, and hopefully you'll stay around for updates. Something's on the way!", + ) + view = SmallView(inter=interaction).add_button( + label='GitHub', url='https://github.com/IgKniteDev' + ) + await interaction.channel.send(embed=embed, view=view) + async def on_message_delete(self, message: disnake.Message) -> None: keychain.snipeables.append(message) await asyncio.sleep(25)