echofrost / bernkebotv2 Goto Github PK
View Code? Open in Web Editor NEWModernized Discord bot that implements and expands on the functionality of the original BernkeBot.
Home Page: https://github.com/pacpix/BernkeBot
License: MIT License
Modernized Discord bot that implements and expands on the functionality of the original BernkeBot.
Home Page: https://github.com/pacpix/BernkeBot
License: MIT License
Should embed the following image:
https://i.imgur.com/VKqSxBH.jpg
โ
elif message.content.startswith('!GOD'):
msg = discord.Embed()
msg.set_image(url="https://i.imgur.com/VKqSxBH.jpg")
yield from channel.send(embed=msg)
Posts the text "Did a child write this?"
๐ง
elif message.content.startswith('!child'):
msg = 'Did a child write this?'.format(message)
yield from channel.send(msg)
Posts the text string "This, but unironically" Similar to !thisi command
๐ณ
elif message.content.startswith('!thisu'):
msg = 'This, but unironically'.format(message)
yield from channel.send(msg)
Should include a message or a code embed with the following:
git commit -m "no need for pull request already reviewed changes dw"
git push origin master
๐ฉโ๐ป
elif message.content.startswith('!git'):
msg = 'git commit -m "no need for pull request already reviewed changes dw"\ngit push origin master'
yield from channel.send(msg)
Should include a message with the following:
>bitcoin. lmao nice meme
๐
elif 'bitcoin' in message.content.lower():
msg = '>bitcoin. lmao nice meme'.format(message)
yield from channel.send(msg)
Displays the text string "What's your model?" in reference to a theoretical or mathematical model of a claim
๐
elif message.content.startswith('!model'):
msg = "What's your model?".format(message)
Should include a message that mentions the command user and adds the following text:
' is a market failure'
๐น
elif message.content.startswith('!failure'):
msg = '{0.author.mention} is a market failure'.format(message)
yield from channel.send(msg)
Posts the text string "This, but ironically" Similar to !thisu command
๐
elif message.content.startswith('!thisi'):
msg = 'This, but ironically'.format(message)
yield from channel.send(msg)
Command pings everyone and says "lmao" without quotes
๐คฃ
if message.content.startswith('!everyone'):
msg = '@everyone lmao'.format(message)
yield from channel.send(msg)
Should include a message with the following:
Do it no balls
โพ
elif message.content.startswith('!balls'):
msg = 'Do it no balls'.format(message)
yield from channel.send(msg)
Should include a message or a link embed with the following:
https://www2.census.gov/library/publications/decennial/1860/population/1860a-31.pdf
๐
elif message.content.startswith('!census'):
msg = 'https://www2.census.gov/library/publications/decennial/1860/population/1860a-31.pdf'
yield from channel.send(msg)
Should embed the following image:
https://i.imgur.com/k7FjY1m.jpg
๐ด๐
elif message.content.startswith('!iconic'):
msg = discord.Embed()
msg.set_image(url="https://i.imgur.com/k7FjY1m.jpg")
yield from channel.send(embed=msg)
Should include a message or a link embed with the following:
https://youtu.be/z7-LxU4SqCw
๐ฑโ๐ป
elif message.content.startswith('!trailer'):
msg = 'https://youtu.be/z7-LxU4SqCw'.format(message)
yield from channel.send(msg)
Current data model assumes memorial breakfast, need to reimplement in a way that fits new server architecture. This will require a design meeting discussion.
# Rat react any posts in the rat zone channel
if str(message.channel) == "rat-zone-memorial-breakfast":
yield from client.add_reaction(message, "\U0001F400")
We also need to upgrade the original rat reacc in legacy code to new version of discord.py
This should print a tuple of two integers whose values are randomly generated from the range -999999999 to 999999999 followed by the message 'Use !takerate for a more general take'.
๐ข
elif message.content.startswith('!specifictakerate'):
msg = '(' + str(r.randint(-999999999,999999999)) + ', ' + str(r.randint(-999999999,999999999)) + ') Use !takerate for a more general take'.format(message)
yield from channel.send(msg)
Should embed the following image:
https://i.imgur.com/LFIi7yS.jpg
๐ป
elif 'stupid' in message.content.lower():
msg = discord.Embed()
msg.set_image(url="https://i.imgur.com/LFIi7yS.jpg")
yield from channel.send(embed=msg)
This command is a simple text command that documents the meanings of the different matrix quadrants
elif message.content.startswith('!takematrix'):
msg = 'Q1 = Hot and Right, Q2 = Hot and Wrong, Q3 = Cold and Wrong, Q4 = Cold and Right'.format(message)
yield from channel.send(msg)
Need to implement a random integer and concatenate it with two strings before sneind a message
๐ฒ
r = random.SystemRandom()
elif message.content.startswith('!takerate'):
rate = 'Q' + str(r.randint(1,4)) + ' Take'
msg = rate.format(message)
yield from channel.send(msg)
Should include a message or embed for the following:
lol ur big dumb
๐คค
elif message.content.startswith('!dumbdumb'):
msg = 'lol ur big dumb'.format(message)
yield from channel.send(embed=msg)
Should include a message or a link embed with the following:
https://www.youtube.com/watch?v=WnPjqt6vEzA
๐
elif message.content.startswith('!value'):
msg = 'https://www.youtube.com/watch?v=WnPjqt6vEzA'.format(message)
yield from channel.send(msg)
Should embed the following image:
https://i.imgur.com/pZi485H.jpg
โ
elif message.content.startswith('!god'):
msg = discord.Embed()
msg.set_image(url="https://i.imgur.com/pZi485H.jpg")
yield from channel.send(embed=msg)
Should include a message with the following:
ethereum. lmao nice meme
๐ฒ
elif 'ethereum' in message.content.lower():
msg = '>ethereum. lmao nice meme'.format(message)
yield from channel.send(msg)
๐
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.