Discord bot to administer IITD Study Servers (unofficial)

Overview

IITD-Bot

Discord bot to administer IITD'20 Acad Server

Commands

  • hello to check if bot is online
  • ?help to display this message
  • ?set <kerberos> to set your kerberos and automatically assign role for branch, hostel and courses
  • ?courses <kerberos> to list courses by kerberos id
  • ?slot <course> to get slot for a course
  • ?tt (self) or ?tt <kerberos> or ?tt @User to get yours or someone else's timetable

Manager only

  • ?edit <kerberos> @User to edit kerberos for some user
  • ?checkmail #Channel to track circular emails on that channel every minute
  • ?update to update roles for all registered users
  • ?reload to reload the database from .csv and .json files
  • ?fetchldap to fetch courses data from ldap and reload

Configure

  • Install python then clone this repo and switch into the directory
  • Install dependencies discord, bs4, dotenv, requests
  • Put BOT_TOKEN, IITD_EMAIL, IITD_PASS in .env file in the same directory
  • Requires files kerberos.csv, hostels.csv, branches.csv, courses.csv in the same directory to store configuration and data for the batch of your server. These are excluded in .gitignore for privacy reasons. Contact me if you need them for configuration.
  • course_lists.json can be generated from get_course_lists() function of utils.py if you are connected to IIT Delhi Internal Network
  • discord_ids.json will be generated and updated by the script
  • log.txt is a temporary file generated by ?update command
  • Run python bot.py
Owner
Aditya Singh
Electrical Engineering Sophomore, IIT Delhi
Aditya Singh
A bot written in Python to automate attending classes on MyClass (Codetantra).

codetantrabot This is python program to attend class on myclass(codetantra) Prerequisites You should have Python3 and Pip installed on your system Run

Aniket Kumar 1 Feb 08, 2022
Repository containing the project files for CEN4020's Team Utah.

inCollege-Team-Utah Repository containing the project files for CEN4020's Team Utah. Contributors: Deepak Putta Jose Ramirez Fuentes Jaason Raudales C

Keylin Sanchez 3 Jul 12, 2022
Script for downloading Coursera.org videos and naming them.

Coursera Downloader Coursera Downloader Introduction Features Disclaimer Installation instructions Recommended installation method for all Operating S

Coursera Downloader 9k Jan 02, 2023
Python binding for Microsoft LightGBM

pyLightGBM: python binding for Microsoft LightGBM Features: Regression, Classification (binary, multi class) Feature importance (clf.feature_importanc

Ardalan 330 Nov 18, 2022
A Powerful Discord Webhook spammer

RocketHook | The discord spammer Some links: Telegram | Github FEATURES ๐Ÿค– Hide your ass and be a good robot ! Full proxies support HTTP/S, SOCKS4/5 S

Or 2 Feb 27, 2022
๐Ÿ” Discordใกใ‚ƒใ‚“ใญใ‚‹ โ—†wGFzKUzY7E

ไฝฟใ„ๆ–น discord.pyใ‚’ใ‚คใƒณใ‚นใƒˆใƒผใƒซ. python -m pip install -r requirements.txtใ‚’ๅฎŸ่กŒ. bot.pyใจๅŒใ˜้šŽๅฑคใซ.tokenใ‚’็”จๆ„. bot.pyใ‚’ๅฎŸ่กŒ. โ€ป็พ็Šถใ€ไฝฟ็”จใ—ใฆใ„ใ‚‹ใƒฉใ‚คใƒ–ใƒฉใƒชใฎ้–ขไฟ‚ใงWindowsOSใฏๆœชๅฏพๅฟœใงใ™ใ€‚ ใ‚ณใƒžใƒณใƒ‰ ใƒ‹ใƒƒใ‚ฏใƒใƒผใƒ 

Gattxxa 3 Feb 02, 2022
Install and manage Proton-GE and Luxtorpeda for Steam and Wine-GE for Lutris with this graphical user interface. Based on AUNaseef's ProtonUp, made with Python 3 and Qt 6.

ProtonUp-Qt Qt-based graphical user interface to install and manage Proton-GE installations for Steam and Wine-GE installations for Lutris. Based on A

638 Jan 02, 2023
A generative art library for NFT avatar and collectible projects.

Generative NFT Art Introduction The generative-art-nft repository is a library for creating generative art. It was developed for the purpose of creati

Rounak Banik 657 Jan 02, 2023
Telegram bot for stream music or video on telegram

Anonymous VC Bot + Stream Bot Telegram bot for stream music or video on telegram, powered by PyTgCalls and Pyrogram Features Playlist features Multi L

Anonymous Boy 111 Oct 04, 2022
A wrapper to stream information from Twitter's Full-Archive Search Endpoint

A wrapper to stream information from Twitter's Full-Archive Search Endpoint. To exploit this library, one must have approved academic research access.

Daniela Pinto Veizaga 9 Nov 28, 2022
Home Assistant Hilo Integration via HACS

BETA This is a beta release. There will be some bugs, issues, etc. Please bear with us and open issues in the repo. Hilo Hilo integration for Home Ass

66 Dec 23, 2022
Represents a Lavalink client used to manage nodes and connections.

lavaplayer Represents a Lavalink client used to manage nodes and connections. setup pip install lavaplayer setup lavalink you need to java 11* LTS or

HazemMeqdad 37 Nov 21, 2022
A fast and expressive Craigslist API wrapper

pycraigslist A fast and expressive Craigslist API wrapper. โš  As of September 2021, it is believed that Craigslist added a rate-limiter. It is advised

Ira Horecka 24 Dec 28, 2022
Using DST's API with Python

A short guide on how to access Denmark's Statistics API with python, together with a helper class that facilitates the collection of data and metadata from any DST's table

Alessandro Martinello 16 Dec 02, 2022
Fetch information about a public Google document.

xeuledoc Fetch information about any public Google document. It's working on : Google Docs Google Spreadsheets Google Slides Google Drawning Google My

Malfrats Industries 655 Jan 03, 2023
Easy to use Google Pub/Sub

Relรฉ makes integration with Google PubSub straightforward and easy. Motivation and Features The Publish-Subscribe pattern and specifically the Google

Mercadona 188 Jan 06, 2023
An Anime Theme Telegram group management bot. With lot of features.

Emilia Project Emilia-Prjkt is a modular bot running on python3 with anime theme and have a lot features. Easiest Way To Deploy On Heroku This Bot is

ZenitsuID #Mโ€ขRโ€ขTโ„ข 3 Feb 03, 2022
A web app via which users can buy and sell stocks using virtual money

finance Virtual Stock Trader. A web app via which users can buy and sell stocks using virtual money. All stock prices are real and provided by IEX. Fe

Kiron Deb 0 Jan 15, 2022