Giter Site home page Giter Site logo

dunctebot / skybot Goto Github PK

View Code? Open in Web Editor NEW
38.0 38.0 20.0 86.62 MB

SkyBot is an LGBT-friendly discord bot with music and mod commands written in JDA

Home Page: http://duncte.bot

License: GNU Affero General Public License v3.0

HTML 0.34% Java 56.24% Kotlin 38.17% Groovy 0.31% Shell 0.35% Dockerfile 0.06% CSS 0.09% JavaScript 0.32% Vue 4.12%
discord discord-api discord-bot duncte123 dunctebot gradle hacktoberfest jda jda-bot jda-discord-bot mod-commands music skybot

skybot's People

Contributors

akiacode avatar bobatrance avatar codacy-badger avatar dan-online avatar duncte123 avatar fero1xd avatar lekkerelou avatar medusalix avatar muztank avatar priyankamadhwal avatar ramidzkh avatar sanduhr32 avatar sebm253 avatar simplymerlin avatar slinactive avatar theeptic avatar yannickfricke 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

Watchers

 avatar  avatar  avatar  avatar

skybot's Issues

Rewrite command base class

We should be able to set permissions that the user needs and that the bot needs
We should be able to send usage instructions with one method
(and more that I will come up with)

Handle external youtube playback blocked

Trace:

com.sedmelluq.discord.lavaplayer.tools.FriendlyException: Unexpected exception
        at lavalink.client.player.event.AudioEventAdapterWrapped.onEvent(AudioEventAdapterWrapped.java:55)
        at lavalink.client.player.LavalinkPlayer.lambda$emitEvent$0(LavalinkPlayer.java:208)
        at java.base/java.util.concurrent.CopyOnWriteArrayList.forEach(CopyOnWriteArrayList.java:804)
        at lavalink.client.player.LavalinkPlayer.emitEvent(LavalinkPlayer.java:208)
        at lavalink.client.io.LavalinkSocket.handleEvent(LavalinkSocket.java:150)
        at lavalink.client.io.LavalinkSocket.onMessage(LavalinkSocket.java:102)
        at lavalink.client.io.ReusableWebSocket$DisposableSocket.onMessage(ReusableWebSocket.java:134)
        at org.java_websocket.client.WebSocketClient.onWebsocketMessage(WebSocketClient.java:462)
        at org.java_websocket.drafts.Draft_6455.processFrame(Draft_6455.java:696)
        at org.java_websocket.WebSocketImpl.decodeFrames(WebSocketImpl.java:367)
        at org.java_websocket.WebSocketImpl.decode(WebSocketImpl.java:212)
        at org.java_websocket.client.WebSocketClient.run(WebSocketClient.java:389)
        at java.base/java.lang.Thread.run(Thread.java:844)
Caused by: lavalink.client.io.RemoteTrackException: <a href="http://www.youtube.com/watch?v=eLcYmljHqqY&feature=player_embedded" target="_blank">Watch this video on YouTube.</a> Playback on other websites has been disabled by the video owner.
        at lavalink.client.io.LavalinkSocket.handleEvent(LavalinkSocket.java:136)
        ... 8 more
lavalink.client.io.RemoteTrackException: <a href="http://www.youtube.com/watch?v=eLcYmljHqqY&feature=player_embedded" target="_blank">Watch this video on YouTube.</a> Playback on other websites has been disabled by the video owner.
        at lavalink.client.io.LavalinkSocket.handleEvent(LavalinkSocket.java:136)
        at lavalink.client.io.LavalinkSocket.onMessage(LavalinkSocket.java:102)
        at lavalink.client.io.ReusableWebSocket$DisposableSocket.onMessage(ReusableWebSocket.java:134)
        at org.java_websocket.client.WebSocketClient.onWebsocketMessage(WebSocketClient.java:462)
        at org.java_websocket.drafts.Draft_6455.processFrame(Draft_6455.java:696)
        at org.java_websocket.WebSocketImpl.decodeFrames(WebSocketImpl.java:367)
        at org.java_websocket.WebSocketImpl.decode(WebSocketImpl.java:212)
        at org.java_websocket.client.WebSocketClient.run(WebSocketClient.java:389)
        at java.base/java.lang.Thread.run(Thread.java:844)

Create unshorten command

I've been working on a way to un-shorten URLs that are shortened, I might make a quick API wrapper for my own API first.

Tempmute command

Create a temmute command

todo:

  • Create database tables
  • Create endpoint in the backend that handles both auto unbans and auto unmutes
  • Move tempban check to new endpoint
  • Create command
  • Create dashboard config

Split ban command in two commands

the purpose of this is to have cleaner code and to make it more clear for users how the commands work.
Currently we have 1 huge ban command, I'd like to see that being split up into:

  • db!ban

  • db!tempban

Remove vote-lock

This will allow everyone to use the commands that are currently vote-locked and will also clean up the code a lot

Logo

Hello, I like to contribute with graphic designs, in opensource projects, so if you need something from me like a logotype or something else just say it, Im here ready to help you.
Greetings!
Nuno Jesus

Add shard_count to api

This makes it possible for the server count dispatcher to automatically send out the shard count

db!userinfo shows not a Nitro User, when i am one.

Describe the bug
db!userinfo command on myself shows Discord Nitro User as "No", however i am a Nitro user.
image of command and profile badge, can send Nitro page from profile if needed
https://imgur.com/ktg3KYy

To Reproduce
Steps to reproduce the behavior:

  1. Have Nitro (for me at least)
  2. perform db!userinfo w/ no args
  3. See error

Expected behavior
Unless there is a big api difference between Nitro and Nitro Classic (Early Supporter) it should show Yes in command

Screenshots
https://imgur.com/ktg3KYy

Additional context
The To Reproduce section i filled out may look sarcastic but its not i swear just following format :)

Switch to circleci

I've been testing with circleci for a while now and I like it better than travis

Add twitter button on website

Html code:

<a href="https://twitter.com/DuncteBot?ref_src=twsrc%5Etfw" class="twitter-follow-button" data-show-count="true">Follow @DuncteBot</a><script async src="https://platform.twitter.com/widgets.js" charset="utf-8"></script>

Add a way to add embeds to custom commands

This could be done via a subcommand eg db!cc addembed <cmd> <embed json>

Or via a JagTag™ tag {embed:embed json}

There also needs to be a way for users to create these embeds via a gui, issue #108 could speed that up a bit by adding an embed visualizer to that gui.

Remove ChannelManager extension

Tasks:

  • Update JDA to the latest develop version
  • Remove the kotlin extension for the channel manager because JDA has slowmode on the latest dev version

Fix botfarm detection

Should

  • < 15 members (humans) and => 70% bots == leave guild with message
  • check on guild join
  • check on message

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.