Coder Social home page Coder Social logo

chamburr / wyvor Goto Github PK

View Code? Open in Web Editor NEW
25.0 25.0 4.0 15.88 MB

Take control over your music with an intuitive dashboard, custom effects and more!

License: GNU Affero General Public License v3.0

Shell 0.21% PLpgSQL 0.79% Rust 31.50% Go 26.51% JavaScript 4.38% SCSS 16.64% Vue 19.97%

wyvor's Introduction

Hi there, I'm CHamburr ๐Ÿ‘‹

wyvor's People

Contributors

chamburr 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

Watchers

 avatar  avatar  avatar  avatar  avatar

wyvor's Issues

Dashboard SSR not working

Describe the bug
The modules section on the dashboard page messes up upon reloading the page. With icons and words moving around the page, etc.

Steps to reproduce
Steps to reproduce the behavior:

  1. Go to https://wyvor.xyz/dashboard/
  2. Scroll down to modules section
  3. Reload the page
  4. See error

Expected behavior
The page should remain exactly the same instead

Client information:
If applicable, add some information about your platform.

  • macOS 11.1
  • Chrome Version 87.0.4280.88 (Official Build) (x86_64)

Additional context
https://cdn.discordapp.com/attachments/781360573610065930/789311151514452018/CleanShot_2020-12-18_at_10.00.342x.png

Commands only work if bot has admin permissions

Describe the bug
The bot will not respond to commands unless it has Administrator permissions. At one point I gave the bot and everybody every permission except admin and it still would not respond to messages on a channel with no overrides.

Steps to reproduce
Steps to reproduce the behavior:

  1. Add bot to server without giving admin permissions
  2. Send message in a channel the bot has permission to view, send messages and embeds in
  3. Wait for a reply that will never come?

Expected behavior
Bot replies - it does not need Administrator permissions

Client information:
N/A

Additional context

wyvor/bot/utils/utils.go

Lines 166 to 172 in 8c987a4

for _, permission := range permissions {
if perms&permission != permission {
return false
}
}
return false

The fall through behaviour of this function should be return true if I'm reading it correctly; regardless, it seems impossible for this function to return true if the bot is not an admin.

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.