Skip to content

A discord bot that pulls data from codewars api and pushes in to discord server

Notifications You must be signed in to change notification settings

majidabdulred/codebot

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

5 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

CodeBot

Verion:0.0.2(beta)

A discord bot integrated with Codewars api .

Feature

  • Get codewars profile details by using username
  • Get codewars profile details by just mentioning the user

Commands

  • !code hi

hi

  • !code info <codewars_username>

info

  • !code reg <username> <@mention> => Registers the user to database. Here username is codewars username of the member.

reg

  • !code info <@mention> => If the member is registered in the database you can just get details by mentioning the member.

mention

  • !code showall => To view the Table in the database.

showall

  • !code del <@mention> => To delete the user from the database.

del

Deploy

This app can be easily deployed to heroku. Firstly you need to create a discord bot at Discord Developer portel. You can use this tutorial for help. Keep the bot token in handy . Now..

  • Fork this repo to your Github account.
  • Visit heroku . Create an app.
  • Go to Deploy > Deployment method . Click on "Connect to Github" to link your github account.
  • Go to Connect to github section. Select your account and write codebot in the search box. Click on search.
  • A repo will appear below . Click on connect.
  • Scroll below and click on 'Deploy'.
  • Go to Settings > Config vars > Reveal Config vars. Write DISCORD_TOKEN in KEY and paste the Bot token obtained from discord portal in the VALUE
  • Go to resources > Add-ons and search for heroku postgres. Add it to your app (no credit card needed).
  • Go to resources > Free Dyno . Turn on the * Go to resources > Free Dyno . Turn on the worker python launcher.py.
  • Your app is live.

About

A discord bot that pulls data from codewars api and pushes in to discord server

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages