Coder Social home page Coder Social logo

orz-bot's People

Contributors

aav123 avatar aryamanarora avatar fishy15 avatar frodakcin avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar

orz-bot's Issues

Rig 8ball

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.

God Voting

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).

Link commands with Muting

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

USACO Information

Given the date and the name, it gets the person's information or says that they were not found.

Example:
!usaco <name> <date>

Censoring

"Censor bot" - tmw

And so we will add a censoring component to the bot!

Functionality:

  • If a message contains some set of strings, it is deleted
  • Add/Remove sets of strings through commands [!censor + str1 str2 etc.] [!censor remove (id)]
  • List sets of strings [not sure how to format this]
  • Saves sets in JSON file

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.