Coder Social home page Coder Social logo

dicebot's People

Contributors

starcraftman avatar

Stargazers

 avatar  avatar

Watchers

 avatar  avatar  avatar

Forkers

redeyed-vault

dicebot's Issues

Handle Youtube Playlists

Use youtube-dl to pre-download playlist info and parse for all the links/titles -> names. Then shove them into a temporary video list.

I may add support for tagging playlist but it would only be as a whole unit.

Related from a user:

Idea was that I tag a group of songs with the playlist name, and can cycle between them with the list commands. That isn't how the tag search worked and so I abandoned that idea for now.

TimeoutError, silent fail of play to use

Annoying problem due to wanting to keep player largely non-async.
Fetch code is async, player.play is not, hard to wait on the future download.

Either fix this quickly or see quickly about streaming possibility.

Convert To Using Embeds

I guess I'm a stick in the mud for ASCII tables. Make prototype and see if it lays out nicely first.

Need to consider easy way to test the embeds.

Add Dedupe command

Deduplicate the queue on command. No reason to prevent duplicate entries if desired.

Faster Youtube Playlist

Look at parsing page to improve speed of responding. Options are:

  1. youtube_dl internals
  2. custom regex/DOM parsing

I think the rendering varies slightly by request, regex didn't seem to work reliably in quick test.

Go back to Streaming?

Not sure if I can just pipe the youtube_dl to AudioStream. Something to look into.

I should probably examine the actions taken previously with the streaming code for inspiration.

Add Roll History

!reroll -> Roll last roll again.
!reroll --choose -> Present scrolling list of last N rolls.
!reroll -2 -> Roll 2 rolls ago.

Keep history pruned, sequential dupe roll strings should not be stored.

Let N be configurable in config, persist history in DB. Prune on addition.

Expand Dice Support

There's a lot more dice spec than I thought.
https://wiki.roll20.net/Dice_Reference

Possible exapnsions:

  • !r --reroll/--redo => Reroll last.
  • Exploding dice/compound.
  • Cut offs
  • Advantage/disadvantage.
  • Fate dice?

Change Model:

  • My first thought is a base Dice class + a series of transformations that model each change. Each transformation stores tracking inside the dice str to show user and updates the internal roll object.

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.