Giter Club home page Giter Club logo

counting_bot's Introduction

Counting Bot

What is it?

This bot a is a simple bot coded in Python that will ensure that a counting channel is in proper order. It is highly preferred that you read the security section if you are using the code.

How do I use it?

  1. Clone or download the source code
  2. CD into the source code directory.
  3. Create a config.json file. Look at the Config Example section for the format.
  4. Run pip install -r requirements.txt
  5. Run python main.py or python3 main.py if you're running Linux.

Config Example

Your config file should look like the following:

{
  "token": "Your bot's token",
  "scope": "The server that your bot is in.",
  "target_channel": [The ID of the counting channel. Do not wrap it in quotes.]
}

Ensure that you replace all of the values with their appropriate value.

Here is an example:

{
  "token": "token",
  "scope": "800399299397419078",
  "target_channel": 800401182392713267
}

If the config file does not follow the above format, then you will run into issues. Also, it should be noted that "token" should be the actual token of your bot and not just the word "token."

Security

Due to the nature of the GNU public license, you will be required to make your fork of this bot's code open-source and available to the public. However, it should be noted that you should never include your config.json file in the repository. Doing so poses a major security risk for both you and your Discord server.

counting_bot's People

Contributors

bndlett avatar

Watchers

Kostas Georgiou 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.