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
You might also like...
Administration Panel for Control FiveM Servers From Discord
Administration Panel for Control FiveM Servers From Discord

FiveM Discord Administration Panel Version 1.0.0 If you would like to report an issue or request a feature. Join our Discord or create an issue. Contr

unofficial source of the discord bot, “haunting.” created by: vorqz, vert, & Veltz

hauntingSRC unofficial source of the discord bot, “haunting.” created by: vorqz, vert, & Veltz reasoning: creators skidded the most of this bot and do

It's a Discord bot to control your PC using your Discord Channel or using Reco: Discord PC Remote Controller App.
It's a Discord bot to control your PC using your Discord Channel or using Reco: Discord PC Remote Controller App.

Reco PC Server Reco PC Server is a cross platform PC Controller Discord Bot which is a modified and improved version of Chimera for Reco-Discord PC Re

A small and fun Discord Bot that is written in Python and discord-interactions (with discord.py)
A small and fun Discord Bot that is written in Python and discord-interactions (with discord.py)

Articuno (discord-interactions) A small and fun Discord Bot that is written in Python and discord-interactions (with discord.py) Get started If you wa

Discord bot script for sending multiple media files to a discord channel according to discord limitations.

Discord Bulk Image Sending Bot Send bulk images to Discord channel. This is a bot script that will allow you to send multiple images to Discord channe

Customizable and open-sourced bot for a few private servers

MarlBot A private bot for controlling monkeys and turtles. Why does this bot exist? The bot exists as a general-purpose community bot for a select few

A simple bot to upload file to various cloud servers.

Cloudsy Bot A simple bot to upload file to various cloud servers. Variables API_HASH Your API Hash from my.telegram.org API_ID Your API ID from my.tel

An Open-Source Discord bot created to provide basic functionality which should be in every discord guild. We use this same bot with additional configurations for our guilds.

A Discord bot completely written to be taken from the source and built according to your own custom needs. This bot supports some core features and is

Discord ToolBox is a discord bot developed by DJD320 created for the purpose of having some convenient tools in the form of a single bot.

Discord ToolBox Discord ToolBox is a discord bot developed by DJD320 created for the purpose of having some convenient tools in the form of a single b

Comments
  • Course information command

    Course information command

    ?info CLL231 returns:

    CLL231 - Fluid Mechanics for Chemical Engineers
    4 Credits (3-1-0)
    Pre-requisites: CLL110
    Overlap: APL107, APL106, APL105
    
    

    Introduction to fluids, Forces on fluids, Fluid statics, Hydrostatic force on submerged bodies, Rigid body motion, Kinematics of flow - Eulerian and Lagrangian descriptions, Flow visualization, Integral analysis - mass and momentum balances, Bernoulli equation, Flow through pipes and ducts, Flow measurement, Flow transportation - pumps, blowers and compressors, Differential analysis of flow, Conservation of mass, linear and angular momentum, Navier-Stokes equation, Unidirectional flows, Viscous flows, Skin friction and form friction, Lubrication approximation, Potential flows, Boundary layer theory, Blasius equation for flow over a flat plate, Boundary layer separation, Drag and lift force on immersed bodies, Similitude analysis, Turbulent flows.

    (The whole thing will be in a code block? do code blocks in discord wrap text as well? they don't on GitHub).

    opened by Aniruddha-Deb 1
Owner
Aditya Singh
Electrical Engineering Sophomore, IIT Delhi
Aditya Singh
Discord bot code to stop users that are scamming with fake messages of free discord nitro on servers in order to steal users accounts.

AntiScam Discord bot code to stop users that are scamming with fake messages of free discord nitro on servers in order to steal users accounts. How to

H3cJP 94 Dec 15, 2022
A Discord bot that allows you to rapidly deploy Minecraft servers seamlessly and painlessly from Discord.

Lyra - rapidly and painlessly deploy Minecraft servers from Discord Lyra lets you deploy Minecraft server instances via Docker with control through a

null 1 Dec 23, 2021
Innocent-Bot - A Discord client self-bot for destroying, nuking and causing mischief in servers

Innocent-bot A Discord client self-bot for destroying, nuking and causing mischi

†† 5 Jan 26, 2022
A discord bot for tracking Iranian Minecraft servers and showing the statistics of them

A discord bot for tracking Iranian Minecraft servers and showing the statistics of them

MCTracker 20 Dec 30, 2022
Satoshi is a discord bot template in python using discord.py that allow you to track some live crypto prices with your own discord bot.

Satoshi ~ DiscordCryptoBot Satoshi is a simple python discord bot using discord.py that allow you to track your favorites cryptos prices with your own

Théo 2 Sep 15, 2022
It is a temporary project to study discord interactions. You can set permissions conveniently when you invite a particular disk code bot.

Permission Bot 디스코드 내에 있는 message-components 를 연구하기 위하여 제작된 봇입니다. Setup /config/config_example.ini 파일을 /config/config.ini으로 변환합니다. config 파일의 기본 양식은 아

gunyu1019 4 Mar 7, 2022
StudyLion is a Discord bot that tracks members' study and work time while offering members to view their statistics and use productivity tools such as: To-do lists, Pomodoro timers, reminders, and much more.

StudyLion - Discord Productivity Bot StudyLion is a Discord bot that tracks members' study and work time while offering members the ability to view th

null 45 Dec 26, 2022
💀 The first raid tool of its kind. Inject Deadcord and raid servers directly from the Discord client.

?? Deadcord The next upcoming Discord raid tool, the best for free. ?? Early Beta Released We have released an early version of Deadcord, please keep

Galaxzy 157 May 24, 2022
PyManGenerator is a token generator for discord, it joins servers using webbot to automate everything

PyManGenerator is a token generator for discord, it joins servers using webbot to automate everything. Captcha can be done by itself unless you used your current IP Address more than once.

null 5 Nov 27, 2021
Find rare users in discord servers

BadgeScraper Find rare users in discord servers How to use Replace the guild_id, server_id and token by the values you wanna use If you never used dis

null 20 Dec 9, 2022