GithubHelp home page GithubHelp logo

anotherwebguy / captain-bot Goto Github PK

View Code? Open in Web Editor NEW
0.0 2.0 0.0 9.09 MB

A Discod Bot coded in python using discord.py

License: GNU General Public License v3.0

Python 99.58% Shell 0.10% Procfile 0.32%
discord-bot python captain

captain-bot's Introduction

🤖Captain-Bot🤖
Discord Bot

Forks Stars Issues Pull Requests

A Discord bot is a software bot that can perform tasks or services for an individual. The term ”chatbot” is also used to refer to Discord bots. This bot can be invited in any discord server and the bot is ready to go.


Tech stack

Bot invite link:

Invite Captain Bot in your server by clicking this link -> https://discord.com/api/oauth2/authorize?client_id=857420285569531904&permissions=8&scope=bot

Important Modules Needed

1. discord.py:

A modern, easy to use, feature-rich, and async ready API wrapper for Discord written in Python.

2. python-decouple:

Decouple helps you to organize your settings so that you can change parameters without having to redeploy your app. Store parameters in ini or .env files.

3. pyjokes:

For getting random jokes

4. pywikihow:

For searching how to on wikipedia

Commands/Features:

  1. !help: Gives the list of commands that are possible.
    example: !help
  2. !ban: Bans the provided user.
    example: !ban @[Discord.member]
  3. !unban: Unbans the banned provided user.
    example: !unban [Discord.name+'#'+'Discord.discriminator]
  4. !kick: Kicks the provided user from server.
    example: !kick @[Discord.member]
  5. !8ball: Ask a question to check your luck.
    example: !8ball Will i pass the test tomorrow?
  6. !uinfo/user: Shows the provided user info.
    example: !user @[Discord.member]
  7. !poll: Creates a poll using reactions.
    example: !poll Which is your favourite anime? | Naruto | Steins;gate | One piece | Death note
  8. !calc: Do some basic calculations.
    example: !calc 2+3
  9. !clear: Create last specified number of messages.
    example: !clear 20
  10. !joke: Gets random jokes.
    example: !joke
  11. !wiki: Searches wikipedia.
    example: !wiki what is python?
  12. !news: Gets latest news.
    example: !news
  13. !about: Shows about bot.
    example: !about

Getting started-

  1. Clone the repo.
  2. pip install -r requirements.txt to install all requirements, some of the things you may need to install manually so check requirements.txt file. If anything is failing (or giving error) then skip that package or try to install that manually by searching on Google about that package. It's not a big deal.
  3. Run bot.py file.
  4. Installation may take time.
  5. Read Features for more information before getting started.

captain-bot's People

Contributors

anotherwebguy avatar

Watchers

 avatar  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.