Skip to content

Commit

Permalink
Merge pull request #258 from hitblast/main
Browse files Browse the repository at this point in the history
🌆 [tuning] The final pull request.
  • Loading branch information
hitblast authored Feb 24, 2024
2 parents 6606660 + 598f3fc commit 586d175
Show file tree
Hide file tree
Showing 3 changed files with 19 additions and 9 deletions.
13 changes: 5 additions & 8 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -8,21 +8,18 @@

# IgKnite

<img src="https://img.shields.io/github/license/IgKniteDev/IgKnite?color=black&logo=github&style=for-the-badge">
<a aria-label="Join the community on Discord" href="https://discord.gg/XF9ATvUjgs" target="_blank">
<img src="https://img.shields.io/badge/Join%20the%20community-black.svg?style=for-the-badge&logo=Discord">
</a>
<a aria-label="Inject to your Discord server" href="https://discord.com/api/oauth2/authorize?client_id=1016637486702792735&permissions=1505385246135&scope=bot%20applications.commands" target="_blank">
<img src="https://img.shields.io/badge/-Inject%20to%20Server-black?style=for-the-badge&logo=Discord">
</a>
<!-- a table below -->
| | |
|-------------------|-------------------|
| 🌇 | **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!** |


<br> <img src="static/banner.png">

[![CodeSee](https://github.com/IgKniteDev/IgKnite/actions/workflows/codesee-arch-diagram.yml/badge.svg)](https://github.com/IgKniteDev/IgKnite/actions/workflows/codesee-arch-diagram.yml)
[![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)


</div>

---
Expand Down
2 changes: 1 addition & 1 deletion core/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -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__)


Expand Down
13 changes: 13 additions & 0 deletions core/bot.py
Original file line number Diff line number Diff line change
Expand Up @@ -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.
Expand Down Expand Up @@ -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)
Expand Down

0 comments on commit 586d175

Please sign in to comment.