Skip to content

anotherwebguy/Captain-Bot

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

27 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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

About

A Discod Bot coded in python using discord.py

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages