Giter Site home page Giter Site logo

androzdev / scratch-for-discord Goto Github PK

View Code? Open in Web Editor NEW
37.0 37.0 8.0 6.01 MB

Desktop app for Scratch For Discord

Home Page: https://www.electronjs.org/apps/scratch-for-discord

License: Other

HTML 10.95% CSS 1.80% TypeScript 87.24%
desktop-app electron scratch-for-discord

scratch-for-discord's People

Contributors

dependabot[bot] avatar malix-off avatar twlite 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

Watchers

 avatar  avatar  avatar  avatar  avatar

scratch-for-discord's Issues

Unable to connect Discord (token invalid)

Hi, I'm an Scratch4Discord user, and been using the Scratch4Discord website- "https://scratch-for-discord.netlify.app/" for several months now, for making a Discord Bot for my server. But, ever since the recent update, where the Scratch4Discord desktop app is needed to run the bot, I'm facing a issue, which is that, even in the app, when I'm trying to turn on the bot, it is showing that "Unable to connect to Discord, Maybe the bot's token isn't valid", which is absolutely not true. I have also attached a image of the same below. I have tried several times to regenerate the bot token, and use the new token, but in vain. Kindly help me with this issue. Thanks!

image

"Logged in as Unknown#0000"

When I go to test my bot, it already has me logged in as Unknown#0000, even if I quit the app and open and start a new Scratch project without a token. When I run it, I get an infinite loading loop.

I'm not sure if this is an error, or if I'm doing something wrong.

Using the macOS version

Screen Shot 2021-10-15 at 5 24 43 AM

UI Improvements

This app is pretty neat.

Are you looking for anyone to work on the UI?

Bugs with blocks in Scratch4Discord

Hi, I would like to point out some bugs with some of the blocks in S4D, which were there in the S4D website, and still persists in the S4D app.

  1. The Member Has Permission block under the "Member" category- This block is supposed to detect whether the member has a particular permission or not, but it seems like it is unable to do so, and is detecting that every person has that particular permission. For example- In my server, only the moderators have the permission "Administrator", but the block is detecting that the common members also have the "Administrator" permission. Also, this problem is not only with the "Administrator" permission, but with all the permissions under the drop down menu in that block.
  2. The When A Member Joins A Server under the "Joins" category- This block is supposed to detect whether a new member is joining a server or not, but it looks like it is not able to do so. For example- In my server, I want to send a welcome message via this block when a new member joins my server, but even when a new member is joining, no welcome messages are coming up.
  3. The When A Member Leaves A Server under the "Leaves" category- This block has the same problem like in point no. "2.", except this is when a member is leaving the server.
    Please kindly solve these issues with these blocks, as they are really important for bots which are made for moderation. Thanks!

Token Invalid Error happening again?

there was this issue and the problem got fixed at the time but from what I see, it's happening again. No matter what I do, I can't get rid of this error. Regenerating doesn't work, changing the script doesn't work as well. The problem isn't with the script or the token because the code equivalent on discord.py with the same token works totally fine (didn't run js, but general look at the exported code seems OK).

One thing to note: The ping-pong example works but when you try to change anything, for example changing "Pong!" to client ms, it comes back to the error.

v3 roadmap

Scratch for Discord - Desktop (v3 roadmap)

  • main
    • electron handler
    • ui handler
  • registry
  • extensions api
  • extensions host
  • themes
  • cli
  • .s4dix packer/unpacker
  • website

Most of the things such as code execution, code generation, etc. will be handled by the extensions. Extensions will be packed under .s4dix file extension.

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.