add a lot of useless and ascii commands

This commit is contained in:
jkhsjdhjs 2018-08-14 01:07:57 +02:00
parent a678fa791d
commit 6b1c3a4e8f
Signed by: jkhsjdhjs
GPG Key ID: BAC6ADBAB7D576CC
3 changed files with 238 additions and 1 deletions

77
bot/ascii.py Normal file
View File

@ -0,0 +1,77 @@
# -*- coding: utf-8 -*-
import irc3
from docopt import Dict
from irc3.plugins.command import command
from irc3.utils import IrcString
from . import Plugin
class Ascii(Plugin):
@command
def buddha(self, mask: IrcString, target: IrcString, args: Dict):
"""prints a giant swastika
%%buddha
"""
for line in (
'░░░░░░░░░░░░░░░▄▀▄░░░░░░░░░░░░░░░',
'░░░░░░░░░░░░░▄▀░░░▀▄░░░░░░░░░░░░░',
'░░░░░░░░░░░▄▀░░░░▄▀█░░░░░░░░░░░░░',
'░░░░░░░░░▄▀░░░░▄▀░▄▀░▄▀▄░░░░░░░░░',
'░░░░░░░▄▀░░░░▄▀░▄▀░▄▀░░░▀▄░░░░░░░',
'░░░░░░░█▀▄░░░░▀█░▄▀░░░░░░░▀▄░░░░░',
'░░░▄▀▄░▀▄░▀▄░░░░▀░░░░▄█▄░░░░▀▄░░░',
'░▄▀░░░▀▄░▀▄░▀▄░░░░░▄▀░█░▀▄░░░░▀▄░',
'░█▀▄░░░░▀▄░█▀░░░░░░░▀█░▀▄░▀▄░▄▀█░',
'░▀▄░▀▄░░░░▀░░░░▄█▄░░░░▀▄░▀▄░█░▄▀░',
'░░░▀▄░▀▄░░░░░▄▀░█░▀▄░░░░▀▄░▀█▀░░░',
'░░░░░▀▄░▀▄░▄▀░▄▀░█▀░░░░▄▀█░░░░░░░',
'░░░░░░░▀▄░█░▄▀░▄▀░░░░▄▀░▄▀░░░░░░░',
'░░░░░░░░░▀█▀░▄▀░░░░▄▀░▄▀░░░░░░░░░',
'░░░░░░░░░░░░░█▀▄░▄▀░▄▀░░░░░░░░░░░',
'░░░░░░░░░░░░░▀▄░█░▄▀░░░░░░░░░░░░░',
'░░░░░░░░░░░░░░░▀█▀░░░░░░░░░░░░░░░'
):
self.bot.privmsg(target, line)
@command
def rotschwuchtel(self, mask: IrcString, target: IrcString, args: Dict):
"""prints a giant hammer and sickle
%%rotschwuchtel
"""
for line in (
'░░░░░░░░░░▀▀▀██████▄▄▄░░░░░░░░░░',
'░░░░░░░░░░░░░░░░░▀▀▀████▄░░░░░░░',
'░░░░░░░░░░▄███████▀░░░▀███▄░░░░░',
'░░░░░░░░▄███████▀░░░░░░░▀███▄░░░',
'░░░░░░▄████████░░░░░░░░░░░███▄░░',
'░░░░░██████████▄░░░░░░░░░░░███▌░',
'░░░░░▀█████▀░▀███▄░░░░░░░░░▐███░',
'░░░░░░░▀█▀░░░░░▀███▄░░░░░░░▐███░',
'░░░░░░░░░░░░░░░░░▀███▄░░░░░███▌░',
'░░░░▄██▄░░░░░░░░░░░▀███▄░░▐███░░',
'░░▄██████▄░░░░░░░░░░░▀███▄███░░░',
'░█████▀▀████▄▄░░░░░░░░▄█████░░░░',
'░████▀░░░▀▀█████▄▄▄▄█████████▄░░',
'░░▀▀░░░░░░░░░▀▀██████▀▀░░░▀▀██░░'
):
self.bot.privmsg(target, line)
@command
def fluppe(self, mask: IrcString, target: IrcString, args: Dict):
"""prints a cigarette
%%fluppe
"""
for line in (
' )',
' (',
' _ ___________ )',
' [_[___________#'
):
self.bot.privmsg(target, line)

View File

@ -32,6 +32,60 @@ class Useless(DatabasePlugin):
'female', 'female',
'shemale', 'shemale',
'hermaphrodite', 'hermaphrodite',
'Abimegender',
'Absorgender',
'Adamasgender',
'Adeptogender',
'Aerogender',
'Agenderflux',
'Alexigender',
'Androgyne',
'Arifluid',
'Batgender',
'Bigender',
'Bigenderfluid',
'Biogender',
'Blizzgender',
'Boggender',
'Bordergender/Borderfluid',
'Boyflux',
'Burstgende',
'Cancegender',
'Chaosgender',
'Circgender',
'Cloudgender',
'Cocoongender',
'Coigender',
'Colorgender',
'Demifluid/flux',
'Demigender',
'Digigender',
'Diurnalgender2',
'Domgender',
'Drakefluid',
'Dryagender',
'Dulcigender',
'Duragender',
'Eafluid',
'Earthgender',
'Fuzzgender',
'Firegender',
'Genderale',
'Genderblur',
'Genderfluid',
'Gender-Neutral',
'Gendernegative',
'Genderpunk',
'Genderqueer',
'Kingender',
'Juxera',
'Leogender',
'Invisigender',
'Intergender',
'Xirl',
'Xoy',
'Xumgender',
'Zodiacgender',
) )
@command(permission='admin', show_in_help=False) @command(permission='admin', show_in_help=False)
@ -60,7 +114,7 @@ class Useless(DatabasePlugin):
"""Returns a huehuehue when someone writes it.""" """Returns a huehuehue when someone writes it."""
self.bot.privmsg(target, msg) self.bot.privmsg(target, msg)
@irc3.event(r'(?i)^:\S+ PRIVMSG (?P<target>\S+) :re+$') @irc3.event(r'(?i)^:\S+ PRIVMSG (?P<target>\S+) :re{2,}$')
def reeeeee(self, target: str): def reeeeee(self, target: str):
"""Returns a REEEE.""" """Returns a REEEE."""
self.bot.privmsg(target, re_generator()) self.bot.privmsg(target, re_generator())
@ -292,6 +346,111 @@ class Useless(DatabasePlugin):
nick = args.get('<nick>', mask.nick) nick = args.get('<nick>', mask.nick)
self.bot.action(target, 'spits on {} like a dirty whore.'.format(nick)) self.bot.action(target, 'spits on {} like a dirty whore.'.format(nick))
@command
def merkel(self, mask: IrcString, target: IrcString, args: Dict):
"""Merkels (a user)
%%merkel [<nick>]
"""
return '{}, wir schaffen das!'.format(args.get('<nick>', mask.nick))
@command
def abuse(self, mask: IrcString, target: IrcString, args: Dict):
"""Returns a abuse highlight for alucard
%%abuse [<nick>]
"""
return ''.format(args.get('<nick>', mask.nick))
@command
def assel(self, mask: IrcString, target: IrcString, args: Dict):
"""Asselt a user
%%assel [<nick>]
"""
nick = args.get('<nick>', mask.nick)
self.bot.action(target, 'asselt {0}'.format(nick, nick))
@command
def gurke(self, mask: IrcString, target: IrcString, args: Dict):
"""Gurks a user
%%gurke [<nick>]
"""
nick = args.get('<nick>', mask.nick)
self.bot.action(target, 'schiebt {0} eine Gurke in den Arsch'.format(nick, nick))
@command
def kacken(self, mask: IrcString, target: IrcString, args: Dict):
"""wünscht guten rutsch beim kacken
%%kacken [<nick>]
"""
nick = args.get('<nick>', mask.nick)
self.bot.action(target, 'wünscht {0} einen guten Rutsch! Nicht zu fest drücken!'.format(nick, nick))
@command
def knoblauch(self, mask: IrcString, target: IrcString, args: Dict):
"""knoblaucht einen user
%%knoblauch [<nick>]
"""
nick = args.get('<nick>', mask.nick)
self.bot.action(target, 'schneidet etwas Knoblauch klein und lässt die Stückchen in den Arsch von {0} fallen.'.format(nick, nick))
@command
def zaziki(self, mask: IrcString, target: IrcString, args: Dict):
"""zaziki
%%zaziki [<nick>]
"""
nick = args.get('<nick>', mask.nick)
self.bot.action(target, 'bereitet in dem Arsch von {0} ein frisches Zaziki nach original griechischem Rezept zu.'.format(nick, nick))
@command
def biene(self, mask: IrcString, target: IrcString, args: Dict):
"""biene
%%biene [<nick>]
"""
nick = args.get('<nick>', mask.nick)
self.bot.action(target, 'sticht mit letzter Lebenskraft in die Eichel von {0} und stirbt dann.'.format(nick, nick))
@command
def wespe(self, mask: IrcString, target: IrcString, args: Dict):
"""wespe
%%wespe [<nick>]
"""
nick = args.get('<nick>', mask.nick)
self.bot.action(target, 'sticht tausende male auf {0} ein und fliegt dann weg als wäre nichts gewesen'.format(nick, nick))
@command
def saufen(self, mask: IrcString, target: IrcString, args: Dict):
"""fordert einen Nutzer zum Saufgelage auf!
%%saufen [<nick>]
"""
nick = args.get('<nick>', mask.nick)
self.bot.action(target, 'fordert {0} zum saufen auf!'.format(nick, nick))
@command
def jalapeno(self, mask: IrcString, target: IrcString, args: Dict):
"""schiebt eine jalapeno in die harnröhre eines nutzers
%%jalapeno [<nick>]
"""
nick = args.get('<nick>', mask.nick)
self.bot.action(target, 'schiebt {0} eine Jalapeno in die Harnröhre'.format(nick, nick))
@command
def schwulmo(self, mask: IrcString, target: IrcString, args: Dict):
"""schwulmot den kompletten Channel!
%%schwulmo [<nick>]
"""
self.bot.action(target, 'wünscht einen tollen schwulmo an alle :********')
def husbando_waifu(self, field: str, mask: IrcString, target: IrcString, args: Dict): def husbando_waifu(self, field: str, mask: IrcString, target: IrcString, args: Dict):
nick = args.get('<nick>', mask.nick) nick = args.get('<nick>', mask.nick)
if isinstance(nick, list): if isinstance(nick, list):

View File

@ -12,6 +12,7 @@
"includes": [ "includes": [
"irc3.plugins.uptime", "irc3.plugins.uptime",
"bot.admin", "bot.admin",
"bot.ascii",
"bot.coins", "bot.coins",
"bot.ctcp", "bot.ctcp",
"bot.drugs", "bot.drugs",