GithubHelp home page GithubHelp logo

xenzax / bot Goto Github PK

View Code? Open in Web Editor NEW

This project forked from luxinity-roleplay/bot

0.0 0.0 0.0 12.06 MB

testing

Home Page: https://luxinity.eu.org

License: GNU General Public License v2.0

Python 99.21% Dockerfile 0.75% Procfile 0.04%

bot's Introduction

Luxinity-UCP

Discord server Build Production pre-commit pre-commit.ci status Code style: black

Luxinity Roleplay Discord Server Bots & UCP System made with NAFF.

Kunjungi panduan resmi NAFF untuk memulai.

Note:

Tidak disarankan untuk menjalankan repository ini secara langsung tanpa merubah codingan apapun (walaupun repository ini sudah Production Ready) karena repository ini telah didesign khusus hanya untuk Luxinity Roleplay. Repository ini dibuat publik hanya untuk media belajar/referensi.

Menjalankan Aplikasi

Ada beberapa cara untuk menjalankan aplikasi ini.

Docker

Repository ini sudah Docker Ready, anda hanya tinggal meng-pull container nya. Cek selengkapnya di halaman ini!

  • Pastikan Docker anda sudah terinstall versi terbaru!
  • Anda hanya butuh menjalankan command:
docker-compose up --detach

Manual Install

  • Download dan install Python versi terbaru (usahakan yg terbaru, jangan yang jadul)

WAJIB PAKE virtualenv, Please check python docs for more info!

saya anggap kalian sudah setup "virtualenv"
  • Install dependencies package nya menggunakan perintah ini
pip install -r ".\requirements.txt"
  • sebelum menjalankan kode ini, buatlah satu file .env di folder root dan isi filenya menggunakan contoh berikut
PROJECT_NAME="Luxinity-UCP"
LOAD_DEBUG_COMMANDS=true # untuk production ready, ganti value ini ke false
DISCORD_TOKEN="masukkan bot token anda disini, ambil di https://discord.com/developers/applications"
DATABASE_HOST="masukkan mysql database host kamu disini"
DATABASE_USER="masukkan username mysql kamu disini"
DATABASE_PASSWORD="masukkan password mysql kamu disini"
DATABASE_NAME="masukkan nama mysql database kamu disini"
IP="ip server kamu, support domain dan ip"
PORT="port server samp kamu"
GITHUB_TOKEN="github personal access token kamu untuk meng-akses gist dan repository server"
GIST_ID="read-this-channel readme gist id"
GIST_ID2="ucp-manager readme gist id"
  • anda sudah siap menjalankan botnya. untuk menjalankan botnya, gunakan perintah ini
py main.py

Informasi Tambahan

Kami sudah siapkan konfigurasi pre-commit bawaan untuk merapihkan kodingan kalian.

Sangat direkomendasikan untuk menggunakan tool ini dengan menjalankan perintah berikut:

  1. pip install pre-commit
  2. pre-commit install

License

Seluruh source code ini menggunakan lisensi GNU GPL 2.0, Mohon mencantumkan Copyright notice saat anda menggunakan code ini!

Copyright Šī¸2022 Clemie McCartney (clemie#0001). Licensed to Luxinity Roleplay.

bot's People

Contributors

sanityzeropercent avatar gnztmpz avatar pre-commit-ci[bot] avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤ī¸ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.