Code Monkey home page Code Monkey logo

gempbot's People

Contributors

dependabot[bot] avatar foretack avatar gempir avatar pajlada avatar sirinoks avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar

gempbot's Issues

Permissions are broken

Even tho I only have the Prediction permission, i'm still able to modify the rewards and remove/block emotes. The only thing I can't do is adding new people with permissions and change other peoples permission.

{"Permissions":{"agenttud":{"Editor":true,"Prediction":true},"ayyybubu":{"Editor":true,"Prediction":true},"fawcan":{"Editor":true,"Prediction":true},"gempir":{"Editor":true,"Prediction":true},"hotbear1110":{"Editor":false,"Prediction":true},"ollesan":{"Editor":true,"Prediction":true},"sotiris_ael":{"Editor":false,"Prediction":true},"tenminutedays":{"Editor":false,"Prediction":true},"unpleasantchatter":{"Editor":false,"Prediction":true}},"Protected":{"EditorFor":["nymn"],"CurrentUserID":"62300805"}}

Block emote from history

You should be able to block an emote from the history. Which would result in a block + remove of the emote on the emote api.

Approve Only Mode for Rewards

Make it so rewards have to be approved via the redemption page on twitch by a mod so the reward actually comes through.

This might cost people points when there are issues with the redemption.

Generate bot Token

Use our own Oauth token for the bot instead of generating it manually

emote nominations

how about banning the most downvoted emote from each day from future nominations?

Translations

It would be cool to see this bot in more languages that streamer can config

More specific time for elections

Maybe use a cron syntax for redemptions?

Allow users to specify a more in depth time than just every X hours.

  • Specific time of day
  • add a timer on the website for when next election starts

Regenerate App Access Token Cache on fail

When a new secret is generated, old access token become invalid.
There should be a fallback that when an app access token is invalid it tries to atleast generate a new one once.

EventSub Auth revoked

Use the auth revoked eventsub to tell when we lose access to some subscriptions and maybe notify the users somehow?

Election

An emote system where emotes get voted in over several days.

Maybe it could work like this:

3 Emotes per day should be added. Viewers get to suggest emotes and vote on suggestions on that day.

At the End of the Day the top 3 emotes will be added.

A new voting starts

Checklist:

  • emote blocks
  • UI to block emotes
  • Vote on Website
  • Think about Double Nominations

Auto Ban List

When the reward is set to Approve only if the redeem is rejected that emote gets added to the ban list :)

Add an option to keep a redeemed emote

It could be just a button on the homepage that removes the emote from the list and prevents it from getting removed.
also I think added and removed emotes should be in different tables
dank drawing of how it might look like
image
I think there should also be an option to remove all emotes from the recently added list and the blocks list

Canceled Events Unmarshal bad

time="2021-10-09T12:16:20Z" level=error msg="Failed to decode event: json: cannot unmarshal number into Go struct field EventSubTopPredictor.outcomes.top_predictors.channel_points_won of type string" file="predictions.go:136"
END RequestId: 50e68016-d06d-44a7-bcef-4c54f4e6ac09

Overlay Ideas

  • iFrames to add other overlays? Maybe a library somehow
  • Border to show where the stream is
  • Audio?
  • Flip/Mirror Images

Media Requests

Potential features

  • managable blacklist, channel level for YouTube etc.
  • audio level normalization
  • skip duplicates/by age of last played
  • channel point redemption integration
  • bits integration
  • chat controls for mods
  • spotify, soundcloud support
  • approval system
  • Topic channels should work on YouTube (like autogenerated youtube music channels)
  • Option to only allow songs/videos and somehow detect if something is a song
  • a !when command that will reply "Not approved yet" if thats the case. an !replace command, so you can replace your songs in queue
  • Stream location so songs cant be requested than cant play

Announcements

Support chat announcements instead of regular chat messages

Can't re-add recently removed emotes

If someone tries to re-add an emote (or one with the same name) that was recently removed, it will say "emote code already added"
image
Same issue as Nerixyz/rewards#156, which means its probably a 7TV API issue, not sure if it's the endpoint for retrieving enabled emotes or if it's the endpoint for adding emotes.
If it's the former you might be able to get around it with a cache or by querying their Event API in some way.

History of recently added emotes through nominations

As the title says, gempbot should have a second list on the website which displays recently added emotes through nominations. Extra information could be shown such as who added the emote and how many votes it got in total.

You could expand on this to display when this emote will be removed, if nominations has a separate emote rotation outside of the channel point redemptions system.

Prediction status overlay

Would be cool to get an overlay that displays when a prediction starts/ends.

It doesn't sound like a difficult thing to make seeing that you can build a website & the bot can already announce it in chat.

See picture for example:

firefox_03oo3CUqj9

It doesn't have to be fancy or anything, just something to notify the Chatterino users better. ๐Ÿ‘

Clear Token

When a login token becomes invalid in the frontend it should be wiped from the client browser otherwise frontend thinks it works and will constantly get 401s from the API

Nominate Reward Adding

Nominate Reward should be added directly when creating an election and when updating it.

Only should be enabled/disabled with start/stop election.

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.