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
Python: Asynchronous client for the Open-Meteo API.

Python: Asynchronous client for the Open-Meteo API. Asynchronous client for the Open-Meteo API. About Open-Meteo offers free weather forecast APIs for

Franck Nijhof 11 Dec 21, 2022
How to add reaction on message discord.py

BA / HR / RS: Python (discord.py) skripta pomocu koje dodajete reakciju na vasu poruku putem komande !v ili da se dodaje samo u nekoj odredjenoj sobi.

Seekii 3 Dec 23, 2021
Мои личные наработки по новому API Тинькофф. Не официально.

TinkoffNewAPI Мои личные наработки по новому API Тинькофф. Не официально. Официально по ссылке: https://github.com/Tinkoff/investAPI/ Выложено по прос

1 Jan 20, 2022
Python bindings for LibreTranslate

Python bindings for LibreTranslate

Argos Open Tech 42 Jan 03, 2023
Python script that extract data via YouTube Api and manipulates it.

UNLIMITED README for the Unlimited game [Mining game] Explore the docs » View Demo · Report Bug · Request Feature Table of Contents About The Project

Serban Chisca 1 Dec 12, 2021
Telegram RAT written in Python

teleRAT Python based RAT that uses Telegram for sending commands and receiving data to and from a victim computer. Setup.py Insert your API key into t

96 Jan 01, 2023
Running Performance Calculator

Running Performance Calculator 👉 Have you ever wondered if you ran 10km at 2000

Davide Liu 6 Oct 26, 2022
[OSGIFI] - INFORMATION GATHERING TOOL, FROM INSTAGRAM ACCOUNTS.

⚡ OSGIFI THIS TOOL PERMIT YOU TO DISCOVERING & GATHERING INFO FROM INSTAGRAM ACCOUNTS, FOR EXAMPLE: Full Name Verified Account Or Not Private Account

BASILEOLUS 9 Nov 29, 2022
A modern, easy to use, feature-rich, and async ready API wrapper for Discord written in Python.

A modern, easy to use, feature-rich, and async ready API wrapper for Discord written in Python. Key Features Modern Pythonic API using async and await

Senpai Development 4 Nov 05, 2021
Automatically compile an AWS Service Control Policy that ONLY allows AWS services that are compliant with your preferred compliance frameworks.

aws-allowlister Automatically compile an AWS Service Control Policy that ONLY allows AWS services that are compliant with your preferred compliance fr

Salesforce 189 Dec 08, 2022
Client to allow skytrack to be used with GSPro Golf simulator application

Skytrack Interface for GSPro A Basic Interface connection from Skytrack Launch Monitors to be able to play simulator golf via GSPro About The Project

James Peruggia 2 Oct 24, 2021
Algofi Python SDK is useful for developers who want to programatically interact with the Algofi lending protocol

algofi-py-sdk Algofi Python SDK Documentation https://algofi-py-sdk.readthedocs.

Algofi 41 Dec 15, 2022
Louis Manager Bot With Python

✨ Natsuki ✨ Are You Okay Baby I'm Natsuki Unmaintained. The new repo of @TheNatsukiBot is public. ⚡ (It is no longer based on this source code. The co

Team MasterXBots 1 Nov 07, 2021
This Lambda will Pull propagated routes from TGW and update VPC route table

AWS-Transitgateway-Route-Propagation This Lambda will Pull propagated routes from TGW and update VPC route table. Tested on python 3.8 Lambda AWS INST

4 Jan 20, 2022
Program that automates the bump of the Disboard Bot. Done 100% in Python with PyAutoGUI library

Auto-Discord-Bump Program that automates the bump of the Disboard Bot done 100% in python with PyAutoGUI How to configue You will need 3 things before

Mateus 1 Dec 19, 2021
Discord-Mass-Mention - Yup the title says it all

Protocol - Mass Mention (i havent tested this with any token other than my own t

Mallowies 14 Nov 06, 2022
Telegram Link Shortener Bot (With 20 Shorteners)

Telegram ShortenerBot ShortenerBot: 🇬🇧 Telegram Link Shortener Bot (11 + 9 Shorteners) 🇹🇷 Telegram Link Kısaltıcı Bot (11 + 9 Kısaltıcı) All suppo

Hüzünlü Artemis [HuzunluArtemis] 10 May 24, 2022
An Python SDK for QQ based on mirai-api-http v2.

Argon 一个基于 graia-broadcast 和 mirai-api-http v2 的 Python SDK。 本项目适用于 mirai-api-http 2.0 以上版本。 目前仍处于开发阶段,内部接口可能会有较大的变化。 The Stasis / 停滞 为维持 GraiaProject

BlueGlassBlock 1 Oct 29, 2021
Automated endpoint management for Amazon Aurora Global Database

This sample code can be used to manage Aurora global database endpoints. After failover the global database writer endpoints swap from one region to the other. This solution automates creation and ma

AWS Samples 13 Dec 08, 2022
Unofficial calendar integration with Gradescope

Gradescope-Calendar This script scrapes your Gradescope account for courses and assignment details. Assignment details currently can be transferred to

6 May 06, 2022