GithubHelp home page GithubHelp logo

codingame-bot's Introduction

CodinGame-Bot

Discord HackWeek: bot for CodinGame

CodinGame does not have an official API, nor is their unofficial API documented, so a LOT of time was spent reverse-engineering it.

The developers are OK with this as long as requests are not spammed

Commands: profile, puzzle, contest

The prefix is a mention

Download jarfile and view run instructions via the releases page.

You can test the bot here

Invite: https://discordapp.com/api/oauth2/authorize?client_id=494490722272149519&permissions=19456&scope=bot

Known bugs:

  • user lookup by handle is broken
  • achievement priority is broken for users who have gained a large number of Legend ("PLATINUM") achievements
  • the bio can probably go over the char limit for embeds
  • This:
.statement_wrapping_div, .statement {font-size: 14px;font-weight: 400;}
.statement_wrapping_div {margin-bottom: 10px;}
.statement_wrapping_div ul {padding-left: 40px;}
.statement {background-color:rgba(255, 255, 255, 0.85);padding: 20px;padding-top:0px;}
code, span.const {display:inline-block;font-family:Inconsolata,consolas,monospace;padding-left:5px;padding-right:5px;padding-top:1px;padding-bottom:1px;background-color:#18a1ea;white-space: nowrap;margin-right:2px;color: white;}
span.var {display: inline-block;padding-left:5px;padding-right:5px;padding-top:1px;padding-bottom:2px;background-color:#f2dd00;white-space:nowrap;margin-left:1px;margin-right:2px;color:black;}
.stat_mid_title {font-weight:700;margin-bottom:5px;}
.protocol_title{color:#ffd200;}
.cross-statementBlock{position:relative;}

Dependencies:

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.