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
un outil pour bypasser les code d'états HTTP négatif coté client ( 4xx )

4xxBypasser un outil pour bypasser les code d'états HTTP négatif coté client ( 4xx ) Liscence : MIT license Creator Installation : git clone https://g

21 Dec 25, 2022
Source code of u/pekofy_bot from reddit.

pekofy-bot Source code of u/pekofy_bot from reddit. Get more info about the bot here: https://www.reddit.com/user/pekofy_bot/comments/krxxol/pekofy_bo

32 Dec 25, 2022
A custom Discord Rich Presence to display when you're studying so you're stupid friends won't disturb you when you're studying.

Studying RPC Description A custom Discord Rich Presence to display when you're studying so you're stupid friends won't disturb you when you're studyin

John Edmerson Pizarra 4 Nov 19, 2022
Apple iTunes In-app purchase verification tool

itunes-iap v2 Python 2 & 3 compatible! Even with :mod:`asyncio` support! Source code: https://github.com/youknowone/itunes-iap Documentation: http://i

Jeong YunWon 129 Dec 10, 2022
Python Twitter API

Python Twitter Tools The Minimalist Twitter API for Python is a Python API for Twitter, everyone's favorite Web 2.0 Facebook-style status updater for

Mike Verdone 2.9k Jan 03, 2023
API to retrieve the number of grades on the OGE website (Website listing the grades of students) to know if a new grade is available. If a new grade has been entered, the program sends a notification e-mail with the subject.

OGE-ESIREM-API Introduction API to retrieve the number of grades on the OGE website (Website listing the grades of students) to know if a new grade is

Benjamin Milhet 5 Apr 27, 2022
Public Mirror of Team 15's Code and Reports for RBE 3002 B21

RBE3002 Team 15 Lab Repository Team 15's Repository for all code written for RBE 3002 using the Robotis TurtleBot3 Written By Matthew Haahr, Leo Morri

Matthew Haahr 3 Mar 21, 2022
Python Client for Instagram API

This project is not actively maintained. Proceed at your own risk! python-instagram A Python 2/3 client for the Instagram REST and Search APIs Install

Facebook Archive 2.9k Dec 30, 2022
Reads and prints information from the website MalAPI.io

MalAPIReader Reads and prints information from the website MalAPI.io optional arguments:

Squiblydoo 16 Nov 10, 2022
An example of using discordpy 2.0.0a to create a bot that supports slash commands

DpySlashBotExample An example of using discordpy 2.0.0a to create a bot that supports slash commands. This is not a fully complete bot, just an exampl

7 Oct 17, 2022
This is simply code for bitcoin fair value.

About The Project This is a code for bitcoin fair value, its simply exclude bubble data using RANSAC method, and then plot the results. Check youtube

BitcoinRaven 4 Mar 26, 2022
A modern,feature-rich, and async ready API wrapper for Discord written in Python

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

Vincent 18 Jan 02, 2023
Shedding a new skin on Dis-Snek's commands.

Molter - WIP Shedding a new skin on Dis-Snek's commands. Currently, its goals are to make message commands more similar to discord.py's message comman

Astrea 7 May 01, 2022
Charged's cogs for Red!

Light-Cogs Charged's cogs for Red! Read below for more information. Features and Cogs TechInfo Lots of commands helping you and your devices! Extended

Charged 2 Jan 07, 2022
Python Library for Secp256k1 Bitcoin curve to do fast ECC calculation

secp256k1 Python Library for Secp256k1 Bitcoin curve to do fast ECC calculation Example Usage import secp256k1 as ice print('[C]',privatekey_to_addres

iceland 49 Jan 01, 2023
A.I and game for gomoku, working only on windows

Gomoku (A.I of gomoku) The goal of the project is to create an artificial intelligence of gomoku. Goals Beat the opponent. Requirements Python 3.7+ Wo

Luis Rosario 13 Jun 20, 2021
Just another Shiny and Greninja-ash killing preventor for Myuu

Myuu-Anti-Shiny-Discord-Bot Why I made it? Since, I was legit fed up of NebbyBot's lag (not criticising it), I decided to make my own but in python an

5 Nov 12, 2022
Minecraft checker

This Project checks if a minecraft account is a nfa/sfa account or invalid it also says you if the ip you are using is shadow banned from minecraft (shadow bann is if you send too many login attempts

baum1810 4 Oct 03, 2022
The gPodder podcast client.

___ _ _ ____ __ _| _ \___ __| |__| |___ _ _ |__ / / _` | _/ _ \/ _` / _` / -_) '_| |_ \ \__, |_| \___/\__,_\__,_\___|_| |_

gPodder and related projects 1.1k Jan 04, 2023
Telegram Bot for everyday raffles

SpinEverydayBot v2 Telegram bot for everyday raffles. HIGHLY EXPERIMENTAL! WORK IN PROGRESS! Setting up Requirements Python 3.9+ PostgreSQL 13+ Older

evgfilim1 18 Dec 20, 2022