Yet another Wahrheit-oder-Pflicht bot for Telegram, because all the others suck.

Overview

Der WoPperBot

Yet another Wahrheit-oder-Pflicht bot for Telegram, because all the others suck.

The existing bots are all defunct or incomplete. So I wrote my own.

Table of Contents

Install

$ # Install Python3 somehow
$ pip3 install --user -r requirements.txt

That should be it.

Usage

  • Copy secret_template.py to secret.py
  • Create your bot
    • This means you have to talk to the @BotFather: https://web.telegram.org/z/#93372553
    • Do /newbot, edit it as much as you like (i.e. description, photo)
    • For the commands, paste the following as-is:
      join - an der Runde teilnehmen
      leave - Runde verlassen (keine Angst, du bleibst im Chat)
      random - nächste Person zufällig aus der Runde wählen
      choose - nächste Person wählen (braucht @username dahinter)
      wop - zufällig Wahrheit oder Pflicht wählen
      do_w - Wahrheit wählen
      do_p - Pflicht wählen
      who - wiederholt, wer zur Zeit dran ist
      kick - die zuletzt gewählte Person aus dem Spiel werfen (bleibt aber im Chat)
      players - schreibt in den Chat wer alles an der Runde teilnimmt
      
    • Invite him into the group chat(s) you like
    • Afterwards, set the bot to "Allow groups: No"
    • Copy the API token
  • Fill in your own username and the API token in secret.py
  • Run bot.py. I like to run it as ./bot.py 2>&1 | tee bot_$(date +%s).log, because that works inside screen and I still have arbitrary scrollback.
  • Write /permit into the chat to allow games. Use /admin to view all the commands you have.
  • You can Ctrl-C the bot at any time and restart it later. The state is made permanent in wopper_data.json

TODOs

Not much, maybe add more message variants?

NOTDOs

Here are some things this project will definitely (probably) not support:

  • Complex D&D-style roll syntax
  • Any advanced parsing
  • Any further control of the game

Contribute

Feel free to dive in! Open an issue or submit PRs.

You might also like...
Simple, yet effective moderator bot for telegram. With reports, logs, profanity filter and more :3

👹 Samurai Telegram Bot Simple, yet effective moderator bot for telegram. With reports, logs, profanity filter and more :3 Description Personal bot, m

Want to get your driver's license? Can't get a appointment because of COVID? Well I got a solution for you.

NJDMV-appoitment-alert Want to get your driver's license? Can't get a appointment because of COVID? Well I got a solution for you. We'll get you one i

This python cheat utilizes PyMeow, PyMem, and others to enhance your CS:GO experience ;).

CSGO-Python-Cheat This python cheat utilizes PyMeow, PyMem, and others to enhance your CS:GO experience ;). Features Esp Tracers Chams (More to come)

Telegram bot to stream videos in telegram voicechat for both groups and channels. Supports live strams, YouTube videos and telegram media.

Telegram VCVideoPlayBot An Telegram Bot By @ZauteKm To Stream Videos in Telegram Voice Chat. NOTE: Make sure you have started a VoiceChat in your Grou

Telegram bot to stream videos in telegram voicechat for both groups and channels. Supports live strams, YouTube videos and telegram media.

Telegram bot to stream videos in telegram voicechat for both groups and channels. Supports live strams, YouTube videos and telegram media.

A Script to automate fowarding all new messages from one/many channel(s) to another channel(s), without the forwarded tag.

Channel Auto Message Forward A script to automate fowarding all new messages from one/many channel(s) to another channel(s), without the forwarded tag

A Script to automate fowarding all new messages from one/many channel(s) to another channel(s), without the forwarded tag.

Channel Auto Message Post A script to automate fowarding all new messages from one/many channel(s) to another channel(s), without the forwarded tag. C

This is a script to forward forward large number of documents to another telegram channel.
This is a script to forward forward large number of documents to another telegram channel.

ChannelForward 😇 This is a Script to Forward Large Number of Documents to Another Telegram Channel. If You Try to Forward Very Large Number of Files

Owner
Ben Wiederhake
Ben Wiederhake
Another secured and Yet Fastest telegram userbot

Vision-UserBot A stable, simple Telegram UserBot in Pyrogram! Support Variables ➨ TG_APP_ID - Your Telegram Api id. ➨ TG_API_HASH - Your Telegram Api

TeamVision 40 Oct 24, 2022
Yet another random discord bot.

YARDB (r!) Yet another fully functional and random discord bot. I might add more features if I'm bored also don't criticize on my code. Commands: 4 Di

kayle 1 Oct 21, 2021
Yet another discord-BOT

Note I have not added comments to the initial code as it is for my educational purpose. Use This is the code for a discord-BOT API py-cord-2.0.0a4178+

IRONMELTS 1 Dec 18, 2021
Volt is yet another discord api wrapper for Python. It supports python 3.8 +

Volt Volt is yet another discord api wrapper for Python. It supports python 3.8 + How to install [Currently Not Supported.] pip install volt.py Speed

Minjun Kim (Lapis0875) 11 Nov 21, 2022
Music bot because Octave is down and I can : )

Chords On a mission to build the best Discord Music Bot View Demo · Report Bug · Request Feature Table of Contents About The Project Built With Gettin

Aman Prakash Jha 53 Jan 7, 2023
a discord libary that use to make discord bot with low efficiency and bad performance because I don't know how to manage the project

Aircord ??️ a discord libary that use to make discord bot with low efficiency and bad performance because I don't know how to manage the project Examp

Aircord 2 Oct 24, 2021
vk Bot because of which everyone will lag

VK-crash-bot open cmd and write: "pip install vk-api" To configure the bot, you need to open main.py and set the value to such variables as "token" an

NotQuki 0 Jun 5, 2022
Web-music-bot - A telegram bot which get a *site Url* and sends all songs contain in the Url to telegram

web music bot this is a telegram bot which get a site Url and sends all songs co

Arya Shabane 4 Apr 2, 2022
null 1 Feb 18, 2022
Easy & powerful bot to check if your all Telegram bots are working or not. This bot status bot updates every 45 minutes & runs for 24x7 hours.

PowerfulBotStatus-IDN-C-X Easy & powerful bot to check if your all Telegram bots are working or not. This bot status bot updates every 45 minutes & ru

IDNCoderX 5 Oct 6, 2022