Giter VIP home page Giter VIP logo

tle's Introduction

TLE

TLE is a Discord bot centered around Competitive Programming.

Hosting Guide

Creating A Discord Bot

  1. Follow this guide to create a new discord bot account and invite that to your server.
  2. To keep things simple and easy give it Admin Perms and Move the Role to top.

Creating A Firebase Storage Bucket for Database Backups

  1. Navigate to Firebase Web Console

  2. Create a Project and Naviage to project settings. URL looks like https://console.firebase.google.com/u/0/project/test-12874/settings/serviceaccounts/adminsdk.

  3. Click on "Create Service Account" and then "Generate new private key". Save the JSON File safely.

  4. Navigate to Build -> Storage -> Get Started. And create a Bucket. Save the Bucket URL (ProjectName.appspot.com).

Creating CLIST API Key

  • Navigate to Clist API Docs and click on "show my api-key". And Save the Param Query. Ex. username=iwant&api_key=e4c97d624a7b963322ef90e651a5d21f000ac509

Creating A Heroku App

  1. Fork Repo
  2. Change heroku stack to container link
  3. Connect Github with Heroku and Deploy app
  4. Head Over to Settings and Fill in the following Variables
  5. Paste your discord bot token in "BOT_TOKEN"
  6. Paste your clist api param query (username=iwant&api_key=e4c97d624a7b963322ef90e651a5d21f000ac509) in "CLIST_API_TOKEN"
  7. Encode the contents of Firebase JSON file in base64 and Paste encoded string in "FIREBASE_ADMIN_JSON"
  8. Paste ID of a Discord Channel where you will want the bot to log in "LOGGING_COG_CHANNEL_ID"
  9. Paste in Storage Bucket URL in "STORAGE_BUCKET"
  10. Set "ALLOW_DUEL_SELF_REGISTER" to true/false
  11. Set "TLE_MODERATOR" to Moderator or any Role Name
  12. Navigate to Resources and turn on the Dyno

tle's People

Contributors

krofna avatar meooow25 avatar iampjeetsingh avatar narutse avatar algmyr avatar cheran-senthil avatar mohammad-yasser avatar aryanc403 avatar cfalas avatar grimzzz-404 avatar kuroni avatar metalball887 avatar shafinkhadem avatar denjellboone avatar goswami-rahul avatar aneesh2312 avatar potatohashing avatar kabeer27 avatar aryamanarora avatar prabowo02 avatar mukundan314 avatar dgcnz avatar an4553r avatar aa-nadim avatar albertopoljak avatar chillee avatar pantsudestroyer avatar parsaalizadeh avatar robert-30 avatar shahraaz 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.