Giter Site home page Giter Site logo

syhrimr / warnetbot Goto Github PK

View Code? Open in Web Editor NEW

This project forked from warnet-gi/warnetbot

0.0 0.0 0.0 7.88 MB

A bot for Warga Nusantara Teyvat (WARNET) discord server

Home Page: https://discord.gg/warnet-gi

License: MIT License

Python 100.00%

warnetbot's Introduction

Warnet Bot

A bot for Warga Nusantara Teyvat a.k.a WARNET (https://discord.gg/warnet-gi).


Requirement

  • python 3.10
  • postgresql

How to contribute?

  1. Fork or clone the project
  2. Create a New Application.
  3. Create a bot by going to Bot -> Add Bot -> Yes, do it!
  4. Copy the bot token and paste it into the BOT_TOKEN environment variable (see the next step).
  5. Rename .env.example to .env and edit .env to your bot.
  6. Create python virtual environment by using python -m venv env.
  7. Enter the virtual environment by using command source env/Scripts/Activate (Linux) or env\Scripts\Activate.bat (Windows)
  8. Make sure you have installed poetry. Install it using pip install poetry on your virtual environment.
  9. Install the depedencies using poetry install.
  10. Execute the database creation script from bot\data\db.sql on your database console.
  11. Set BOT_DEBUG=1 to run the bot in debug mode on .env. Set to 0 only for production.
  12. To start the bot, use poetry run task start.

Usage Guide

To learn how to use this bot, please visit our wiki documentation for the commands info.

License

The Warnet Bot is open-sourced software licensed under the MIT License.

warnetbot's People

Contributors

iqrar99 avatar irvan789 avatar rafiramadhana avatar dependabot[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.