Coder Social home page Coder Social logo

discord-bar-bot's People

Contributors

akseltroan avatar christopherlyon avatar

Stargazers

 avatar

Watchers

 avatar

discord-bar-bot's Issues

Updated spelling and grammar in README.md

Discord-bar-bot

A discord bot that simulates being at a bar.
Due to covid-19, a lot of people are recommended to stay at home. This is where the Discord-bar bot comes in. This bot will simulate being at the bar with the same fun activity that happens within a bar.

Introduction

Start your night in a voice channel with your mates. Head to the bar with !start. You walk into the bar and start hearing the bar ambience. A bartender is greeting you and asks the group to take a seat. When everyone is seated you tell the bartender that everyone is seated at the table. Then you can start ordering drink but beware the bartender is counting how many drinks you've had and do not like overly drunk people in his bar! If you become too drunk the bartender will mute you for 1 minute.
If you want to challenge one of your friends at the table to take a shot you can do so. Roll dice and if the challenger gets a 5 or 6 the victim has to take a shot, however, if the challenger gets 1-4 the challenger has to take a shot. The bartender will pour a shot to the loser.
The bartender also has a set of Never Have I Ever questions. Just ask him for a statement and he will provide one.
On your table, you can see a deck of cards. The bartender knows the rules for Ring of Fire and he will gladly be the game master and guide you through the game.
NOTE: This is not at all a polished or finished bot. Made this because I wanted to learn discord.py and get a fun little bot to play around with my friends.

Installation

At the time the bot is not running 24/7 on a server so you will need to run it on your own system.
Clone the repository
$ git clone https://github.com/AkselTroan/Discord-bar-bot.git
Change the working directory to Discord-Bar-Bot
$ cd Discord-Bar-Bot
Install the requirements
$ python3 -m pip install -r requirements.txt
FFmpeg and an mp3 (Preferably with bar ambience) are required to run the bot.
Edit the code, change the marked text to the pathway of your ffmpeg.exe and bar.mp3.
The last step is to acquire a bot token. Go to your discord developer page and make a new bot. Go through the setup, insert your token in the code.

The last thing to do is to invite your bot to your desired server and run the script.

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.