Coder Social home page Coder Social logo

midspike / iris-utilities Goto Github PK

View Code? Open in Web Editor NEW
41.0 4.0 7.0 5.33 MB

I.R.I.S Utilities is a multi-purpose discord bot that allows you to play music, have fun, and perform various other utility-related things.

Home Page: https://iris-utilities.com/

License: Other

TypeScript 100.00%
discord-bot iris-utilities

iris-utilities's Introduction

Hello world, this is iris-utilities!

Information

What is I.R.I.S. Utilities?

I.R.I.S Utilities is a multi-purpose discord bot that allows you to play, have fun, and perform various other utility-related tasks.

What does I.R.I.S. stand for?

I.R.I.S. is the Interactive Reconnaissance Information Service and she's here to help!

Why is I.R.I.S. Utilities a "she"?

I.R.I.S. originally did not have a gender until a growing number of users started calling I.R.I.S. by feminine pronouns.

Does I.R.I.S. Utilities have a website?

Yes, check out iris-utilities.com!

Who was I.R.I.S. Utilities created by?

I.R.I.S. Utilities was created by Tyler S. Resch from MidSpike.Com.

Why is I.R.I.S. Utilities on GitHub?

There are a few reasons for this:

  1. I decided that I.R.I.S. Utilities is a Discord Bot for the people; therefore, it's source-code should be viewable by the public.

  2. Open-source software is good for the end-user: bug fixes, security patches, and general improvements can be made faster.

  3. By making the source-code public, I hope to allow people to scrutinize my work to make I.R.I.S. Utilities even better.

  4. Additionally, by being open-source, this provides new Discord bot developers with an educational resource.


Open-Source F.A.Q.

Am I allowed to use I.R.I.S. Utilities source-code?

To contribute, yes, you are allowed to fork I.R.I.S. Utilities.

To re-brand I.R.I.S. Utilities, no, you are not allowed.

To take credit for or claim ownership of I.R.I.S. Utilities, no, you are not allowed.

Remember to check up on the restrictions below for more information.

Am I allowed to self-host I.R.I.S. Utilities?

Yes, but there are restrictions on the usage of I.R.I.S. Utilities source-code. (see restrictions below).

Always remember to be kind and to never be malicious.

Users expect integrity and honesty from all Discord bots on the platform.


Installation

Not available yet.


Contributing

See guidelines for contributing.


Code of Conduct

See code of conduct.


Legal

Restrictions for created/modified bots:

Any Discord Bot created/modified from this source-code by anyone (other than the copyright holders) is not permitted to go through Discord's Bot Verification Program.

Any Discord Bot created/modified from this source-code by anyone (including the copyright holders) is required to use the included privacy policy located in the Privacy Notice section below.

Any Discord Bot created/modified from this source-code by anyone (other than the copyright holders) is not permitted to modify the included privacy policy and/or corresponding information.

Any Discord Bot created/modified from this source-code by anyone (including the copyright holders) must attribute the copyright holder(s) listed in the Copyright Notice below.

Any Discord Bot created/modified from this source-code by anyone (other than the copyright holders) is not permitted to modify the included copyright notice and/or corresponding information.

The restrictions above, are meant to protect users from potentially malicious copies/modifications of this source-code and uphold the authenticity of I.R.I.S. Utilities.

License Notice

We have a license for the creators and end-users of any Discord Bot created from this source-code:
Notice: The included license can and will be updated in the future!
Linked copy of the License Policy

Privacy Notice

We have a privacy policy for the creators and end-users of any Discord Bot created from this source-code:
Notice: The included Privacy Policy can and will be updated in the future!
Linked copy of the Privacy Policy

Copyright Notice

This repository is copyrighted and protected under law.
Linked copy of the Copyright Policy

iris-utilities's People

Contributors

dependabot[bot] avatar midspike avatar willfjs avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar

iris-utilities's Issues

Trace: unhandledRejection at: RangeError: offset is out of bounds

The issue occurs randomly after I.R.I.S. has played ~10 or more things (using YouTube).

Once the issue has occurred, it will always happen every time something is played via YouTube.

----------------------------------------------------------------------------------------------------------------
Fri Nov 13 2020 12:24:10 GMT-0500
Trace: unhandledRejection at: RangeError: offset is out of bounds
    at Uint16Array.set (<anonymous>)
    at OpusScript.encode (C:\Users\tyler\node_modules\opusscript\index.js:51:16)
    at Encoder._encode (C:\Users\tyler\Desktop\iris-utilities\node_modules\prism-media\src\opus\Opus.js:60:25)
    at Encoder._transform (C:\Users\tyler\Desktop\iris-utilities\node_modules\prism-media\src\opus\Opus.js:143:30)
    at Encoder.Transform._read (_stream_transform.js:205:10)
    at Encoder.Transform._write (_stream_transform.js:193:12)
    at writeOrBuffer (_stream_writable.js:352:12)
    at Encoder.Writable.write (_stream_writable.js:303:10)
    at VolumeTransformer.ondata (_stream_readable.js:717:22)
    at VolumeTransformer.emit (events.js:314:20) Promise {
  <rejected> RangeError: offset is out of bounds
      at Uint16Array.set (<anonymous>)
      at OpusScript.encode (C:\Users\tyler\node_modules\opusscript\index.js:51:16)
      at Encoder._encode (C:\Users\tyler\Desktop\iris-utilities\node_modules\prism-media\src\opus\Opus.js:60:25)
      at Encoder._transform (C:\Users\tyler\Desktop\iris-utilities\node_modules\prism-media\src\opus\Opus.js:143:30)
      at Encoder.Transform._read (_stream_transform.js:205:10)
      at Encoder.Transform._write (_stream_transform.js:193:12)
      at writeOrBuffer (_stream_writable.js:352:12)
      at Encoder.Writable.write (_stream_writable.js:303:10)
      at VolumeTransformer.ondata (_stream_readable.js:717:22)
      at VolumeTransformer.emit (events.js:314:20)
}
    at process.<anonymous> (C:\Users\tyler\Desktop\iris-utilities\index.js:1157:13)
    at process.emit (events.js:314:20)
    at processPromiseRejections (internal/process/promises.js:245:33)
    at processTicksAndRejections (internal/process/task_queues.js:94:32)
----------------------------------------------------------------------------------------------------------------

iHeart Radio

I would love to see iHeart Radio integrated into I.R.I.S I have found a node package that I think would work great. Take your time on it no need for it right now!

Complete rewrite of codebase

About

It has come to my attention that I.R.I.S. is in need of a complete rewrite from the ground up.

Reasoning

Several factors have led me to this conclusion, such as:

  • Discord.js v13 coming out soon
  • Discord.js v13 dropping voice support
  • Message Content Access Deprecation for Verified Bots
  • Discord forcing slash commands onto verified bots (see above)
  • needing an actual database (I have chosen MongoDB for the rewrite)
  • overall poor code quality in retrospect

Information

Currently I am undertaking this task in a private repository (and private discord bot).
I will make the source-code available once it is ready to run under the I.R.I.S. Utilities discord bot.


Edit: Status Update

Volume lowers back down with looped song.

Describe the bug
With a looped song in the queue after it loops again the volume resets back down to normal after having it set at 100
To Reproduce
Play song,
Set volume
Loop
Wait for the song to end and to play again and hear the volume drop.

Expected behavior
volume stays the same for the looped song.
Screenshots
N/A

Additional context
N/A

Lockdown

When I.R.I.S is in lockdown mode, if a user tries to run a command while in lockdown she should send a message saying that she is in lockdown.

Randomly Paused Music

The bot Stopped the music randomly like a minute into it and said someone paused it even though that someone didnt pause it then the someone resumed the music and it wouldn't play so they had to replay the music.

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.