Skip to content

This is a DiscordBot I programmed for our Students Discord server. It is able to send useful links like lecture periods via the given commands.

Notifications You must be signed in to change notification settings

MaxMLang/discordbot-uni

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

23 Commits
 
 
 
 
 
 
 
 

Repository files navigation

Forks Stargazers MIT License LinkedIn


Logo

UNIMUC - A university discord bot


Report Bug · Request Feature

Table of Contents
  1. About The Project
  2. Getting Started
  3. Functions
  4. Contributing
  5. Contact

About The Project

Due to the Covid-19 Pandemic my friends and I were more or less forced to start our Bachelor studies online. Most of them I have not even met in real life during that time. So our main tool to communicate, study together and meet up is our own Discord server. On that server are almost 200 students that use it to meet up and connect. It is kind of like an virtual campus. While we were chatting and preparing for our exams, we discussed how cool it would be to have a bot that makes our virtual college life a bit easier. We discussed over a couple of functions it should have and already had some pretty cool ideas. Those ideas were now transformed into a working bot!

(back to top)

Built With

python

(back to top)

Getting Started

  1. Clone this repo using git clone https://github.com/MaxMLang/DiscordBot_Uni.git
  2. Create a bot with your Discord developer accoun and copy your bot token
  3. Paste your bot token into the variable at the beginning of the code. NOTE: Your bot token should never be publicly avaible so set you repo to private if you will use github!
  4. Specify the prefix of UNIMUC. So by using uni$some_command we can tell our bot what to do specifically.
# INSERT THE SPECIFIC DISCORD TOKEN
DISCORD_TOKEN = "XXXXXXXXXXXXXXX"

# CREATES A NEW BOT OBJECT WITH A SPECIFIED PREFIX
bot = commands.Bot(command_prefix="uni$")

Prerequisites

Before you can work with the bot you need to install the following packages.

Windows users

py -m pip install "discord"
py -m pip install "random"
py -m pip install "json"
py -m pip install "os" 
py -m pip install "requests" 

Mac/Unix users

python3 -m pip install "discord"
python3 -m pip install "random"
python3 -m pip install "json"
python3 -m pip install "os" 
python3 -m pip install "requests" 

Functions

Sending useful Links

Many students struggle to keep an overview over all the websites. Lecture Periods, Moodle (Platform for courses in Statistics), Uni2Work (Platform for courses in Mathematics or Computer Science) and many more. This problem belongs now to the past. UNIMUC offers multiple functions to send them the links right into the channel. These functions are simple but really powerful.

Photo of the commands and bot reponse in Discord{width=600px height=600px}

Fun Facts

Sometimes you might be in the mood for some quick fun facts. "Did you know...

... that UNIMUC can help you with that?"

Screenshot Output{width=600px height=300px}

Encouragements

Life can be frustrating. Student life can be even more frustrating, sometimes. UNIMUC will cheer you up again! UNIMUC can encourage you just by reading what you write in the chat. So e.g. if you write "Ich geb auf" ("I give up" in German) UNIMUC will send you some encouragement.

Output{width=600px height=300px}

Quotes

Students can get an almost infinite amount of quotes from Zenquotes.

{width=600px height=300px}

(back to top)

Contributing

Contributions are what make the open source community such an amazing place to learn, inspire, and create. Any contributions you make are greatly appreciated.

If you have a suggestion that would make this better, please fork the repo and create a pull request. You can also simply open an issue with the tag "enhancement". Don't forget to give the project a star! Thanks again!

  1. Fork the Project
  2. Create your Feature Branch (git checkout -b feature/AmazingFeature)
  3. Commit your Changes (git commit -m 'Add some AmazingFeature')
  4. Push to the Branch (git push origin feature/AmazingFeature)
  5. Open a Pull Request

(back to top)

Contact

Github

(back to top)

About

This is a DiscordBot I programmed for our Students Discord server. It is able to send useful links like lecture periods via the given commands.

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages