Initial commit

This commit is contained in:
2024-12-01 15:50:35 +00:00
parent 628bba5a37
commit 9746421550
1047 changed files with 190265 additions and 0 deletions

0
tests/__init__.py Normal file
View File

View File

@@ -0,0 +1,23 @@
import sys
import os
# Add the root directory of your project to the Python path
sys.path.append(os.path.abspath(os.path.join(os.path.dirname(__file__), '..')))
print(sys.path)
from business_objects.bot_minecraft_bois import Bot_Minecraft_Bois
from datastores.datastore_minecraft_bois_discussion import DataStore_Minecraft_Bois_Discussion
import discord
from discord.ext import commands
import asyncio
async def main():
TOKEN = os.getenv('ID_TOKEN_BOT')
MESSAGE = 'Test message from the Discord bot!'
bot = DataStore_Minecraft_Bois_Discussion(TOKEN)
await bot.post_message_to_channel_discussion(MESSAGE)
if __name__ == "__main__":
asyncio.run(main())

View File

@@ -0,0 +1,22 @@
import sys
import os
# Add the root directory of your project to the Python path
sys.path.append(os.path.abspath(os.path.join(os.path.dirname(__file__), '..')))
from business_objects.bot_minecraft_bois import Bot_Minecraft_Bois
from datastores.datastore_minecraft_bois_discussion import DataStore_Minecraft_Bois_Discussion
import discord
from discord.ext import commands
import asyncio
async def main():
TOKEN = os.getenv('ID_TOKEN_BOT')
MESSAGE = 'Starting the DeceasedCraft server!'
bot = DataStore_Minecraft_Bois_Discussion(TOKEN)
await bot.post_message_to_channel_discussion(MESSAGE)
if __name__ == "__main__":
asyncio.run(main())

View File

@@ -0,0 +1,22 @@
import sys
import os
# Add the root directory of your project to the Python path
sys.path.append(os.path.abspath(os.path.join(os.path.dirname(__file__), '..')))
from business_objects.bot_minecraft_bois import Bot_Minecraft_Bois
from datastores.datastore_minecraft_bois_discussion import DataStore_Minecraft_Bois_Discussion
import discord
from discord.ext import commands
import asyncio
async def main():
TOKEN = os.getenv('ID_TOKEN_BOT')
MESSAGE = 'Stopping the DeceasedCraft server!'
bot = DataStore_Minecraft_Bois_Discussion(TOKEN)
await bot.post_message_to_channel_discussion(MESSAGE)
if __name__ == "__main__":
asyncio.run(main())