Giter VIP home page Giter VIP logo

discordbot-uni's Introduction

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)

discordbot-uni's People

Contributors

maxmlang avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar

Watchers

 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.