Coder Social home page Coder Social logo

tokipudi / nox Goto Github PK

View Code? Open in Web Editor NEW
4.0 1.0 0.0 11.43 MB

A Sapphire bot implementing a Smite Collectible Card Game and other useful Smite commands.

License: GNU Affero General Public License v3.0

TypeScript 99.94% Shell 0.05% Procfile 0.01%
discord discord-bot discord-js sapphire nodejs typescript

nox's Introduction

Nox

A Smite CCG bot made with Sapphire.

This bot is up and running on Pattedevelour's Discord server.

Discord Banner 2

Features

Smite Commands

Multiple features are available, and many more are still being worked on:

  • Get a god's details

God Command

  • Get information about an item

Item Command

  • Get the MOTD for a given day

MOTD Command

And many more!

Smite CCG (Collectible Card Game)

The main reason why this bot was created in the first place.

Inspired by Mudae's Harem mini-game, this bot will let you claim cards that you will then be able to give, exchange, or fight against other players cards.

Roll

Each player can roll a card with the /roll command. To claim it, you will have to react to it with an emoji.

Beware, everyone can claim your roll! You need to act fast!

Roll Command

Fight

Each player can pick one of its cards to challenge another player to a fight with the /fight command.

The loser's fighter will be exhausted, and will not be able to fight anymore for a certain length of time. If its owner want to fight again, they will have to use another fighter!

Fight Command

Player statistics / Achievements

Check how well you're doing with the /player command, and try to unlock achievements to get rewards for the next season!

Achievements Command

How to run

If you want to clone this project and run it on your end, here are the first steps you want to take.

WARNING: This bot was not meant to be ran by anyone else than me. It is extremely likely that you will encounter errors when trying to make it run for the first time.

Pre-requisites

  • Node >= 16
  • A Postgresql Database
  • Hirez developer API credentials (you can request them here)

Installation

  • Rename .env.example to .env and configure it properly
  • Install the node application: npm install
  • Setup the database: npx prisma migrate
  • Compile typescript files: npm run build
  • Start the bot: npm start

nox's People

Contributors

tokipudi avatar

Stargazers

 avatar  avatar  avatar  avatar

Watchers

 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.