Giter VIP home page Giter VIP logo

stress-me-out's Introduction

Stress-Me-Out

A discord bot which helps in maintaining assignment deadlines and upcoming quizzes. Users can also subscribe to our reminder system to get a notification 2 hours before the submission. A daily reminder is also sent at 10 am. Admins of the server can assign supserusers who can add/modify/delete reminders. Users can see reminders on slash command and can subscribe to reminders.

To run the bot

  1. Go to https://discord.com/developers/applications and log in.

  2. Click on New Application enter the name, and create.

  3. Go to Bot -> Add Bot, Enable PRESENCE INTENT, SERVER MEMBERS INTENT and MESSAGE CONTENT INTENT.

  4. Click on reset token to generate a new token, and then click copy. Paste this in your project's config file. We have successully created a bot, now we add it to our server.

  5. To add the bot to our server we will generate a link. Go to OAuth2 -> URL Generator. In Scope add BOT and applications.commands. and in BOT PREMISSIONS give the perms: Manage Roles, Read Messages/View Channels, Send Messages. Then copy the generated url and paste it in a new tab. Add to any server you want (preferably create a new server just to test out the bot). You can always come back to this page and grant new permissions to your bot and add it again.

Now a bot is created and added to the server.

You can also refer to these docs

Contribute

1. Fork the Repository

To contribute, fork this repository to your own github account.

2. Clone the project
    git clone https://github.com/armaanbadhan/Stress-Me-Out.git
3. Go to the project directory
    cd Stress-Me-Out
4. Install dependencies

It is recommended to create a virtual environment.

    pip install -r requirements.txt
5. Create the config.py file

Create a config.py file from config.py.example, Add your token and the server id of the server you added your bot to. To get the server ID right click on the server -> Copy ID. if the copy id option is not visible, turn on developer options in discord settings. MAKE SURE TOKEN IS NEVER SHARED.

6. Run script
    python bot.py

This Project uses nextcord, docs can be found here.

stress-me-out's People

Contributors

armaanbadhan avatar rijul24 avatar abhinavmalhotra01 avatar vaibhav1808 avatar singlanitin661 avatar sakshambeniwal 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.