Skip to content

Kate-alt-69/SM1

Repository files navigation

Welcome. to my Project!

DCB or Server Manager 1, is a little project i am working on for my discord bot and a Project for me self to learn about networking and program Language talk's. so be free to fix my code since im all in You can Call me K8

About.

This is Server Manager. My little code project i have been working on for a bit you can say at the time im trying to make a CLI (command line interface) like Application using Python-
-and Nodejs as te backend logic including bot code in the folder Bcode i have created Many lines my self with a little bit use of Github Coplit

with some features

Including

  • Dynamic command file detection
  • Developer Mode for .env
    ( please Us this format )
#Remove '#' from 'MODE=DEV' to enable development mode.
#Idea By K8
    #MODE=DEV
    TOKEN=your-bot-token-here
PREFIX=!
DEBUGGER=true
  • utils folder for saving Module like Code assest's
  • Start Up Logging
  • Command Excution Loging and/or Easier Debug
  • Dynamicly Starting up Command Files
    • how to Create (UPCOMING...)
  • Command Toggle via # toggle on <command.name>

Upcoming*

!!These Features Maybe Still Coming (and/or i forgot to edit the README.md)!!

  • GUI Interface (in CLI or command line interface) [done]
  • LocalHost Dashboard
  • LocalHost CLI (Terminal)
  • Galactic Hosting Connection
  • Bcode Folder/Bot Updates Via Archive.org
  • More Kernel Commands
  • More bot Commands
  • Multi OS (Operating System) Support (it's hard)

About K8 (me)

So. where ware we.. oh yeah i was talking to you about why did i create this project lets talk about how.
well this whole thing started with me being curious about coding and well i don't have someone who could teach me coding
but i knew YouTube was a good place to learn stuff from and i found a lot of diffrent tutorials on Python Node.js HTML CSS styling,
and i was pretty good at learning at the starting but i was kinda using Github Cop (Copilot) a lot.
and i did lern some stuff like async, function, cosnt, import, module.export and a lot of diffrent things but it was slow at first
but then things started to take a MASSIVE turn when i started messing things with

discord.js

and it was quit fun on the Python side but then i started doing stuff on node.js then it started getting hard cause there was about none
youtube tutorials about it's functions so i started using ChatGPT and it has Improved a lot since i have been starting to use it
and yes i did use chatgpt to cleanify my code a little bit since i was a bit lost but in the end it all works great
and at this time im writing this README.md im still making the jump to DCB-1.2.0 and trust me it's gonna be a MASSIVE jump
so where ware we yeah it was a bit hard for me to learn discord.js since i couldn't fine any good tutorils about the discord.js
since most of them ware jsut begginer lvl coding and i wanted a full on tutorial about discord.js and it's networking and API functions

Places You Can Find K8 (me)

  • Discord you can send me a FR
  <309000404041547776>

How to Add Your Own Program

To add your own un-related program to use via KERNEL i have made for full RAW avilable editing and making your node project a bit more customize-able

  • Create a starter File Like DCB.js (or Edit Code that runs it aka # start command) This file should have functions or code that will run your programs main file or application giving you a nice look out instead of using ctrl + C many times.
    Example *
import "./YourProgramFolder/main.js";
const rl = readline.createInterface({
  input: process.stdin,
  output: process.stdout,
});

console.log("🚀 DCB.js started! Type a command (ping / hello / exit):");

function prompt() {
  rl.question("> ", (input) => {
    if (input === "exit") {
      console.log("🛑 Shutting down...");
      rl.close();
      return;
    }

    CommandExecutor.execute(input);
    prompt();
  });
}

prompt();

About

DCB.1.0.0

Topics

Resources

Stars

Watchers

Forks

Packages

 
 
 

Contributors