frodakcin / orz-bot Goto Github PK
View Code? Open in Web Editor NEWorz
orz
Does anybody have any ideas for what we can add to rig the 8ball?
I was thinking something like this:
if 'eyg' in message and 'pedo' in message:
answer = 'eyg is a pedo'
or something like that.
Lets people vote for who they think should be god. There is a counter that runs for 1 week. After the week is done, the person who has the most votes is god for the next week (they get the god role). This should make sure that the each person can vote for at most one time for another person (they can vote multiple people though).
hack not working
from prodakcin himself:
for the mute function, can u please link the commands with the muting?
ie in the Muted class, add (w/ potentially different names)
def update() # for all expired mutes, unmute (remove role with id MuteRoleId, leave as const variable)
def punish(user, time):
# this should also automatically resort array [muteList] by time (O(N) is okay) and append iff user isnt muted already. if they are, stack penalties
def call(command):
# command is "!mute playername [number]['s','m','h','d','m','y']
# for example "!mute arrayman 48h" or "!mute eygmath 7d"
ill try to deal with json
Given the date and the name, it gets the person's information or says that they were not found.
Example:
!usaco <name> <date>
"Censor bot" - tmw
And so we will add a censoring component to the bot!
Functionality:
Add support for Discord's recently released slash commands.
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.