Code Monkey home page Code Monkey logo

speasier's Introduction

speasier's People

Contributors

micro-t avatar rik079 avatar worthy-alpaca avatar zibadian avatar

Stargazers

 avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar

speasier's Issues

Chore: create roles for all English Polly voices

We need someone with admin access for this, so either me, Zib, or Micro (not sure why Worthy doesn't have it?)

Create roles (without colour or permission) for all English polly voices. The role names should excactly match the voice names.

[FEATURE] Basic soundboard

Basic sounds to allow Speasier users to be able to make non-verbal contributions

Triggered in the same way as emojis (simple pairs of letters), we have a dozen or so sounds to allow groaning at jokes, applauding, laughing, cheering etc

Maybe starting with a character and then a letter fo rhte sound to be triggered, eg ^G (for groaning) ^A (applauding) etc

No idea if this is possible - you said any idea was a good one!

Create profile visible for user

A user should be able to get their data with a command like ?profile, and be pointed to commands where they can change said data and claim a voice

Polly API

Write the code that feeds the text that's given to it by some other module (probably the one that deals with configuring that text channel, silent messages), gives it to the Polly API and then stores the audio file somewhere (where this is should be figured out with #36)

I really really don't want to be pushy but I'd love to do this ๐Ÿ˜„

Voice channel functionality

Create infrastructure that allows the bot to join a voice channel, read messages from a specified channel and check what roles can be used by whom.

Falcon Heavy launch

Zib [Amy]vandaag om 14:34
!tts Amy At this point any idea is welcome. Even if it is completely outlandish, like having a command to launch a Falcon Heavy.

We definitely need this.

Fix users table

Some tables in the users table are now obsolete, and they need to be deleted from the CREATE IF NOT EXISTS query in database.py. If possible I'd also like a comment here with what those fields were (can't be bothered to look that up myself right now ๐Ÿ˜›)

Give feedback for data-changing SQL queries

Right now, there is no way to find out wheter an INSERT or DELETE query from Discord was successful or not, apart from opening the database with a browser or running a SELECT query for the data. It would be great to let the bot send a message if the query was executed successfully.

shorten link text

regex to pull out links and just say "Youtube link" instead of "youtube.com/ljhslkhfkjfsdjksfd" or something like that

Figure out a way to deal with the files

So this doesn't actually involve any coding yet, we just need to figure out how we're going to deal with all the files coming in, temporarily storing them, and (probably?) deleting them after use ASAP to save space

Chore: update copyright notice

In most files, the copyright notice is # Copyright (C) Speasy. Because of the new license, this needs to be changed to # Copyright (c) 2020 Rik079, Worthy Alpaca, Zibadian, Micro-T. All rights reserved.

/me command

A command to read out "/me action" as "name action"

Example: Zib enters "/me tells dad joke"
Spoken word: "Zib tells dad joke".

A mute/unmute command

A command to mute and unmute yourself so that typed messages, which you don't want to be spoken need to be prefixed with the silent command everytime.

Complete dadjoke.py search function

I merged #9 for now, because I didn't want to wait for someone more API-savvy then I to pop up, but it still needs to be fixed one day.

Both functions are now basically a copy of each other, with the search one having a warning that the function isn't complete yet. dadjoke.Dadjoke in the first part of the if-statement needs to be changed to a dadjoke.DadjokeSearch() and we have to find a way to deal with the different results that can come up, and pick a random one of them.

Write a .bat file as an installer

If Socks is going to run the bot on her PC, probably everything will need to be installed first, so not only the repo but also Python, all dependencies, etc. It could be a good idea to write a bat file that installs everything.

Create database for user entries

SQLite database to put at least the following in there:

  • DiscordID of the user
  • Default voice
  • !mute-status
    (This list may be expanded later)

Remove need to specify vch name in ?channel register

Linked to #42

With the current situation, ?channel register as now being developed in feat/42 requires 2 arguments: Voice channel ID and Voice channel name. The last one is only being used to give the name if one tries to re-register an already registered channel.

However, I had some issues with getting the channel name from it's ID. Maybe someone could take a look at this?

Create configurable channel options

Admins need to be able to designate a channel as the text-to-speech channel of a voice channel, for now mainly #text-while voicing <-> Jeepers Creepers

Store who uses what voice in RAM

So we don't have to constantly query the database on HDD/SSD all the time, reduces latency between enter and the start of the message being sent in the voice channel a bit. I guess the best way to do this is to create a :memory: database, and once a user starts speaking for the first time after the bot has been restarted, a copy of their profile is stored in this DB. this way, we only need to lookup the voice from the DB file outside of memory once, until the bot has to restart

Moar admin commands!

Bored + not able to work on voice yet = this issue.

Extra commands for debug:
say we really need a permanent echo command

Make an admin command group with the following commands

unregister unregisters a user
change_user_voice changes a users voice
stop stop the current TTS message
default_voice set the default voice for unregistered users

Let channel register + change_voicechat check if channel is a voice channel

Right now, it's possible to fill in a text channel in the 'voice chat' argument for c_vc and I'm not sure if register does any check on wheter the channel exists whatsoever.

Instead, both functions need to check wheter the specified channel is a voice channel or not, and return + send a message if it isn't.

Auto Dad-Joke

Make a command that will automatically read out a bad joke

Convert debug commands to a group

Right now, ?debug uses the very ugly construction of using one of the first arguments as a subcommand, which limits the versatility of arguments that can be used for any of the debug commands. By converting this into a group, it looks nice and tidy, and some commands can be simplified

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.