Skip to content

Commit e8c1561

Browse files
authored
Merge pull request #11 from A-Baji/dev
Merge pull request #10 from A-Baji/main
2 parents 40163cf + e0d01e6 commit e8c1561

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

discordai/bot/__init__.py

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -17,6 +17,7 @@
1717
import discord
1818
from discord.ext import commands
1919
from discord.ext.commands import Bot, Context
20+
from discordai import __version__ as version
2021

2122
intents = discord.Intents.default()
2223
intents.message_content = True
@@ -33,6 +34,7 @@ async def on_ready() -> None:
3334
The code in this even is executed when the bot is ready
3435
"""
3536
print(f"Logged in as {bot.user.name}")
37+
print(f"DiscordAi version: {version}")
3638
print(f"discord.py API version: {discord.__version__}")
3739
print(f"Python version: {platform.python_version()}")
3840
print(f"Running on: {platform.system()} {platform.release()} ({os.name})")

0 commit comments

Comments
 (0)