Coder Social home page Coder Social logo

definitelyrus / lazyslavie Goto Github PK

View Code? Open in Web Editor NEW
0.0 1.0 1.0 44 KB

A multipurpose Discord bot with several features such as a string-to-PDT calculator, google search, among others. This project will use Discord.py API to function.

Home Page: https://DefinitelyRus.github.io/LazySlavey

License: GNU General Public License v3.0

Python 100.00%

lazyslavie's Introduction

Discord LazySlavie

A multipurpose Discord bot with several features such as a string-to-PDT calculator, google search, among others. This project will use Discord.py API to function.

Features

Text-based Calculator

The text-based calculator featured in LazySlavey is directly stolen from a dedicated console applet.

It takes string as input, checks every character, removes all invalid characters, groups numbers and operators inside strings in a list, scans for operators, does operations in order using PEMDAS, then outputs the result.

Google Search

This google search module relies on another module called googlesearch. The code here is purely for compatibility with init.

Random reponse (yesno, fishbowl, rps, d6, d20, megarps, russianroulette)

All RNG-based applets belong in this category. All the possible options are categorized in lists stored in a module called listlist.py. These applets simply choose a random item in a list and outputs the result. Some (like fishbowl and russianroulette) involve more code to work as intended.

Games

There are currently no games made for this bot. Planned games are as follows:

  • 100-level mini-RPG game
  • Tictactoe
  • Keep talking and nobody explodes
  • Uno

Installation:

Contact the head developer @DefinitelyRus for installation instructions.

Usage:

Simply extract the .rar file and run init.py. Please read the installation instructions before doing this!

Contributors:

  • DefinitelyRus

License:

This project uses GNU General Public License v3.0. See LICENSE for more information.

Trivia:

  • The "Lazy" in LazySlavie refers to our group called Lazy Buns because Rus is part of the group and he wanted to make his own Discord bot for his server and also his friends' servers. The "Slavie" refers to the European ethnic-linguistic group called "Slavs". All members of Lazy Buns pronouce it as /slave-y/ as suppose to a more proper /slav-ie/, although Rus says it should not be confused with slaves, even when the group insists otherwise because of their dark humor.
  • Many commands LazySlavie features are from Rus's previous projects when he didn't bother with UI. He simply repurposed the code to be usable with the bot, instead of just being an ugly console app.
  • The game Text Adventure is originally planned as a console-based test-only RPG game to be made with Kerlernder. It's still functionally the same, but it uses Discord as a medium instead of a console. It also lets multiplayer be implement much more easily.

lazyslavie's People

Contributors

definitelyrus avatar

Watchers

 avatar

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.