akseltroan / discord-bar-bot Goto Github PK
View Code? Open in Web Editor NEWDiscord bot which simulates being at a bar.
Discord bot which simulates being at a bar.
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.
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.
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.
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.