Giter Site home page Giter Site logo

yoshimi777 / catbot Goto Github PK

View Code? Open in Web Editor NEW
1.0 2.0 0.0 37.95 MB

You've Cat to be Kitten me, another Discord Bot

License: GNU General Public License v3.0

Batchfile 0.03% Python 99.97%
discord discord-bot discord-py discord-music-bot python-3-6 python-3-5 catbot bot kittens

catbot's Introduction

CatBot

You've Cat to be Kitten me.

Getting Started

Do you have a bot account you'd like to use? If yes, get its token and skip ahead. Otherwise:

Go to https://discordapp.com/developers/applications/me and create an app. Give it a name (CatBot?) and on the next page, click "Create a Bot User". Click to reveal the Token, copying it to clipboard.

Is Developer mode on in your Discord account? If yes, skip ahead, otherwise:

In Discord, go to your user settings (on bottom left by mute and deafen, looks like a gear or cog) and under "appearance" menu, turn on Developer Mode. It's on the bottom.

Prerequisites

Must have Python 3.5 or 3.6 (3.7 not supported yet), pip, and a discordapp bot.

Requirements are taken care of via pip, on startup. You must have write permissions in the bot's directory. Your configuration file is written on first-run, so have your bot's token and your Discord user ID handy.

Installing

Download or clone repo into a directory you'll have easy access to (your desktop or documents).

Everything needed for the bot is in the aptly named "bot" folder.

Double click run.py and be prepared to enter your bot's token and your user ID for Discord. This sets you up as the bot's owner. Easiest way to get your user ID is right-clicking your name in Discord and clicking "Copy ID". If you don't see it, you don't have Developer Mode enabled. Go back to Getting Started.

Same technique for a chat channel, if you choose to add one (this would be a designated channel in a server for A.I.). You can add more channels later, for different servers.

Your config file, once written, can be modified in bot/cogs/utils, but keep to the format and modify values only. This file is in .gitignore, and must stay there unless you want to publish your bot's token.

After the initial run, with run.py, you'll be able to start or restart the bot with just a click of a script (catbot.bat). Or type "catbot" in command prompt.

That's it!

Acknowledgements

Special thanks to CorpBot, Red-DiscordBot and Discord.py

catbot's People

Contributors

yoshimi777 avatar

Stargazers

 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.