Giter VIP home page Giter VIP logo

polymathicalbot's People

Contributors

dependabot[bot] avatar epistemicpolymath avatar

Stargazers

 avatar  avatar  avatar

Watchers

 avatar  avatar

Forkers

kiplar

polymathicalbot's Issues

Add social media commands

These commands can be simply:
!youtube / !ytube / !yt
!twitter
!insta / !instagram

This way users can have easy access to my links without having to scroll down to my panels.

Smarter responses

let response = command(trimmedMessage, user, channel);

So fun idea to solve the issue you are having with the !uptime command, perhaps we can add some conditional logic based on the return type of a command.

If the return of a command is a string, that can be sent directly. If it is a promise, maybe await on it and send that result?

Something like:

let response = command(trimmedMessage, user, channel);
if (typeof response === 'string') {
  // send message
} else if (response instanceof Promise) {
  // send 'await response'
}

Thoughts?

Add a "good bot" command

Judahnator shared this one with me, I am curious about what it entails and I will get right into implementing it.

Leaderboard command?

You mentioned it on stream, could be fun to have a command to load up the leaderboard

Unreachable Hello Action

The second if statement below can never be triggered.

// Say hello to the user that uses the !hello command
if (message === '!hello') {
client.action('epistemicpolymath', `Hey, ${user[`display-name`]}!`);
}
// Say hello and thank a user that is a mod that uses !hello command
if (message === '!hello' && user['mod'] === true) {
client.action('epistemicpolymath', `Hey, ${user[`display-name`]}! Thank you for being an awesome mod :D`);
}

Add a "!ban" command

This ban command will accept the username for ban as well as a length of time for a ban. The bot will then store a date for a time for unban and if the bot is on on or after that date the user will be unbanned.

Example:
!ban twitchUsername month / week / 3 days

Give !note command a cooldown for non-mods

It may be a nice feature to try to figure out making where non-mods have a cooldown before they are able to submit another note so this can reduce note spam, instead of only allowing notes for mods.

The cooldown can last for 1min or so.

Add "!games" command

Still thinking this one through, but maybe a fun games command that will shoot out fun interactive games that viewers can interact with in chat.

Add a "add me on discord" command

I want people to feel comfortable reaching out to me on discord, but my name has Japanese in it so if I post it they can simply copy and paste and add me :D! May improve this in the future.

Ignore notes CSV

Likely dont want to be tracking changes to that CSV file.

You could commit a change that removes its contents and just leaves the headers, then use something like this to keep the file tracked but assume the contents are not changed.

Add "user note" command

Was mentioned on stream, could be handy to make a command where the user can provide a note for the broadcaster.

Maybe a !note {note for broadcaster} syntax that writes to a CSV file with the timestamp the note was created.

Add a "!poll" command

This command will allow a user (Broadcaster and Mods only) to create a !poll. Upon running the command a sequence of data can be given.

Example:
!poll question option1 option2... timer

Then if a poll is already running a timer will be set to allow viewers to give responses by number:
!poll 1 (for option 1)

Then the values will be added up and a results will output.

I am still thinking this through for now.

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.