A Bot, which observes your counting-abilities and controls your drinking-habits, too!

Overview

Discord Counting Bot with Beer-Counter

Heavily inspired by AlexVerricos Counting_bot, but adjusted a lot for the beer drinking habits of students.

Invite the Bot or Run it yourself. It is your choice

Trust me

Run the fully functioning bot

Invite this bot to your server

Or install and run it yourself

  1. Make sure you’re logged on to the Discord website.
  2. Navigate to the application page
  3. Click on the “New Application” button.
  4. Fill out the form and click on “Create Application”.
  5. Go to the “Bot” tab and then click “Add Bot”. You will have to confirm by clicking "Yes, do it!"
  6. Copy the token and paste it into the token variable below.
  7. Activate OAuth2 to invite the bot to your server.
  8. Install with:
pip install -r requirements.txt
export THE_COUNT_DISCORD_TOKEN=
   
    
python3 main.py

   

Run in docker

docker-compose build
docker run --env THE_COUNT_DISCORD_TOKEN=
   
     discord-counting-bot_countingbot:latest

   

Note: We speak german!

Because of our german-speaking main-channel we switched to german. A multilanguage-option won't be available anytime soon. Fell free to implement it and make a pull request.

Sprich Deutsch, du...

How to start

You need admin rights to set up the bot:

This bot reacts to the Prefix !count

In the channel you want to start counting, type !count counting_channel aktueller_kanal

Alternatively, you can use !count counting_channel your_favorite_channel

Same goes for the logging_channel, which also reacts to any user-commands (!count log_channel aktueller_kanal)

And thats it!

NEW: PROFI-Counter

For the users who counted right more than a given threshold, the user can access the profi_channel

Implemented Commands

Admin-Commands

!count counting_channel aktueller_kanal um den Zählfortschritt in diesem Kanal einzusehen

!count counting_channel @anderer_kanal um den Kanal in dem gezählt wird zu ändern

!count log_channel aktueller_kanal um den Kanal mit Log Nachrichten zu ändern

!count log_channel @anderer_kanal um den Kanal mit Log Nachrichten zu ändern

!count pro_channel aktueller_kanal um den Kanal für Profis zu ändern

!count pro_channel @anderer_kanal um den Kanal für Profis zu ändern

!count pro_role @rolle um die Rolle für Profis zu ändern

!count pro_threshold anzahl um den Threshold zur Profi-Berechtigung zu ändern

User-Commands

!count server - Zeige die Statistiken für den ganzen Server

!count highscore - Zeige die 10 Nutzer, die am häufigsten richtig gezählt haben

!count highcount - Zeige die 10 Nutzer, welche die höchsten Zahlen getippt haben

!count user - Zeige deine eigenen Statistiken

!count user @user - Zeige Statistiken für einen anderen Zählenden

!count drink_count - Zeige die aktuelle Bierschuldentabelle für den Server

!count drink_count me - Zeigt dir alle Bierschuldentabelleneinträge bei denen du dabei bist

!count spend_drink @user - Sag dem Bot Bescheid, dass dir dein zustehendes Bier endlich ausgegeben wurde

!count set_drink- Wenn dein Lieblingsgetränk komischerweise kein Bier sein sollte kannst du das hier ändern (aber kein Radler)!

!count copy_data message_id - Kopiert die Daten vom originalen Bot

!count delete_me Löscht deine Daten aus dem Metaverse (tschüss)

Owner
Jakob Jung
Just a student from Germany, who gets quite bored with lectures sometimes and who has definitely too much time to update his README
Jakob Jung
Discord.py-Bot-Template - Discord Bot Template with Python 3.x

Discord Bot Template with Python 3.x This is a template for creating a custom Di

Keagan Landfried 3 Jul 17, 2022
Telegram bot which has truecaller and smsbomber features

Truecaller-telegram_bot Add your telegram bot api key in main.py and you are good to go To get a api key Goto telegram and search BotFather From the c

Rudranag 32 Dec 05, 2022
Python Markov Chain chatbot running on Telegram

Hanasubot Hanasubot (Japanese 話すボット, talking bot) is a Python chatbot running on Telegram. The bot is based on Markov Chains so it can learn your word

12 Dec 27, 2022
Telegram Group Chat Statistics With Python

Telegram Group Chat Statistics How to Run First add PYTHONPATH in repository root directory enviroment variable by running: export PYTHONPATH=${PWD}

Sina Nazem 3 Apr 18, 2022
The official wrapper for spyse.com API, written in Python, aimed to help developers build their integrations with Spyse.

Python wrapper for Spyse API The official wrapper for spyse.com API, written in Python, aimed to help developers build their integrations with Spyse.

Spyse 15 Nov 22, 2022
To send an Instagram message using Python

To send an Instagram message using Python, you must have an Instagram account and install the Instabot library in your Python virtual environment.

Coding Taggers 1 Dec 18, 2021
A discord.py code generator program. Compatible with both linux and windows.

Astro-Cord A discord.py code generator program. Compatible with both linux and windows. About This is a program made to make discord.py bot developmen

Astro Inc. 2 Dec 23, 2021
A user reconnaisance tool that extracts a target's information from Instagram, DockerHub & Github.

A user reconnaisance tool that extracts a target's information from Instagram, DockerHub & Github. Also searches for matching usernames on Github.

Richard Mwewa 127 Dec 22, 2022
Yes, it's true :two_hearts: This repository has 316 stars.

Yes, it's true! Inspired by a similar repository from @RealPeha, but implemented using a webhook on AWS Lambda and API Gateway, so it's serverless! If

510 Dec 28, 2022
A Python Script to automate searching of available vaccination centers in the city and hence booking

Cowin Vaccine Availability Notifier Cowin Vaccine Availability Notifier takes your City or PIN code as an input and automatically notifies you via ema

Jayesh Padhiar 7 Sep 05, 2021
PlaylistAudioBot - Telegram playlist download bot with ytdl

Telegram PlaylistAudioBot PlaylistAudioBot: 🇬🇧 Telegram playlist download bot

Hüzünlü Artemis [HuzunluArtemis] 14 Jul 22, 2022
Weather telegram bot with aiogram, on Russian language

weather_bot Weather telegram bot with aiogram, on Russian language #RU Бот по определению погоды в Telegram, написана на библиотеке aiogram, весь инте

LinkxWan 0 Jan 06, 2022
Multi-Branch CI/CD Pipeline using CDK Pipelines.

Using AWS CDK Pipelines and AWS Lambda for multi-branch pipeline management and infrastructure deployment. This project shows how to use the AWS CDK P

AWS Samples 36 Dec 23, 2022
Use PyTgCalls easier than before.

PyTgCalls wrapper Making it easier for you to use pytgcalls. Features No need to care about audio convertion. Play directly from URLs, YouTube and loc

Calls Music 12 Jul 21, 2022
Instant messaging client in tkinter

Concord_client_tk Instant messaging client in tkinter Contributors : Ilade-s [https://github.com/Ilade-s] Doku [https://github.com/D0kuhebi] Descripti

Raphaël Merlet 2 Jun 15, 2022
Robot Swerve Test Public With Python

Robot-Swerve-Test-Public The codebase for our swerve drivetrain prototype robot.

1 Jan 09, 2022
Mini Tool to lovers of debe from eksisozluk (one of the most famous website -reffered as collaborative dictionary like reddit- in Turkey) for pushing debe (Most Liked Entries of Yesterday) to kindle every day via Github Actions.

debe to kindle Mini Tool to lovers of debe from eksisozluk (one of the most famous website -refered as collaborative dictionary like reddit- in Turkey

11 Oct 11, 2022
This tool is created by Shahzain and is one of the best self bots out there!

Shahzain SelfBot This tool is created by Shahzain and is one of the best self bots out there! Features Token Destroyer! Server Nuker(50-100 Bans Per S

Shahzain 6 Apr 02, 2022
WordPress models and views for Django.

django-wordpress Models and views for reading a WordPress database. Compatible with WordPress version 3.5+. django-wordpress is a project of ISL and t

Jeremy Carbaugh 332 Dec 24, 2022
A simple telegram bot that resolves video urls using yt-dlp

URL to Video Telegram Bot A simple telegram bot that resolves video urls using yt-dlp Copyright (C) 2021 Vítor Vasconcellos This program is free softw

Vítor 1 Nov 18, 2021