Giter Site home page Giter Site logo

notavone / discord-panel Goto Github PK

View Code? Open in Web Editor NEW
354.0 354.0 160.0 741 KB

📊 User friendly dashboard/tool for discord bot developers to manage servers

Home Page: https://github.com/Notavone/discord-panel

License: GNU General Public License v3.0

HTML 6.55% JavaScript 84.48% SCSS 8.97%
bootstrap bot chrome css dark-mode dark-theme discord discord-api discord-bot discord-bot-dashboard discord-js discord-js-bot discordapp discordbot discordjs firefox html javascript panel web

discord-panel's Introduction

Hi there 👋

discord-panel's People

Contributors

kerlos avatar kulisidi avatar leafywrath avatar notavone avatar pyr0x1 avatar redume avatar roxxel avatar sincerelyfaust avatar tomajguy avatar ziomciopoziomcio 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  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  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

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

discord-panel's Issues

Hey, help needed

Im trying to implement this code into my bot, I am having some problems, 1) Where do I put my token in the index.html? 2) How do I start the dashboard, I start my bot using node index.js 3) How can I view it? I would first like to connect to localhost:3000 and check if it runs fine. Please clear my doubts.

invalid token

i have added the correct token and tried many times but its always says invalid token

image

Bug

When i paste token into popup i am getting error:
image
I provided valid token (it works in my discord.js bot)

  • i am getting that client and locales are not defined in panel.js
    image
    image

Guild update => Reset channel you're looking in

Describe the bug
If a guild updates, you get in the "default" channel, instead the one looking

To Reproduce
Steps to reproduce the behavior:

  1. Go to a channel (not the default one when you go to the guild)
  2. Let the guild update

Expected behavior
It should update the guild, and load the channel you was looking for

Desktop (please complete the following information):

  • OS: Debian (Raspbian)
  • Browser: Midori
  • Version: v1.2.4

Additional context
How would I fix this? Just check on which channel it is, update the guild, and set it to that channel again

Preview of version 2.0

Hi everyone!

I know some of you feel like I abandoned this project, but I did not!

I started working on version 2.0 yesterday, let me explain why I took so long :

  1. I'm studying computer science and have less time to work on personal projects
  2. That's all

In all seriousness, I took my time to think about how I was going to do this because v2 will be a complete rework of the panel which means :

  1. I'm scrapping the translations for the moment because a lot of the text may change/be removed/be not implemented yet when I'll release the v2
  2. You won't find the same features on the day of the release because I'm doing it from scratch on the client-side, expect it to be really basic

To-do list before release

Core features:

  • Receive messages from different servers and channels
  • Send messages
  • Private messages (not sure)
  • Create invites
  • Manage messages
  • Change token (not sure)

Styling will be done last*

I'll update this list and this issue periodically.

Have a nice day and see you soon!

Constant updating channel when "spamming" messages

If many messages are being sent, the channel updates every time a message is sent, which has as result the channel keeps updating forever and you can't read any message, my fix would be just to createMessage(message) (idk if works) instead updating the whole channel

The information on the side is missing like How many Channel Member Emojis then the Dm bug sometimes the member is sometimes there if he is reduced

Describe the bug
A clear and concise description of what the bug is.

To Reproduce
Steps to reproduce the behavior:

  1. Go to '...'
  2. Click on '....'
  3. Scroll down to '....'
  4. See error

Expected behavior
A clear and concise description of what you expected to happen.

Screenshots
If applicable, add screenshots to help explain your problem.

Desktop (please complete the following information):

  • OS:
  • Browser:

Smartphone (please complete the following information):

  • Device:
  • OS:
  • Browser:
  • Version:

Additional context
Add any other context about the problem here.

QUESTION

How do I locally store my bot token? I can not find the place to put it

[PREVIEW-WIP] What's new in 1.3.2 ?

These last days I've been working on the version 1.3.2 wich is mainly focused on finishing the embed system introduced in 1.3.1

Panel :

Discord :


Panel :

Discord :

Invalid Token Or None provided

When trying to use this I grab My token from my bot and enter it in, When I do that I get a error saying Invalid Token Or none provided while the token is right. It could be my host But I do not think it is so May I get some help?

Markdown formatting

Describe the bug
***bold and emphasis* only bold** markdown is not working

To Reproduce

  1. Write something like this : ***Discord* message with formatting**
  2. Send the message
  3. The panel view shows this : ***Discord* message with formatting**

Expected behavior
The panel view should show this : Discord message with formatting

Additional context
I am aware of this issue and it should be fixed in the next version, thank you for your patience

Embed reading in chat + text formatting

Would be great if you add so we can actually read embeds (title, description, fields, footer, images, color)

  • Embed reading
  • Text formatting (from panel)
  • Text formatting (from discord)

Regex errors in the discord.12.1.1.min.js file

Describe the bug
Regex errors in FireFox

To Reproduce
Download FireFox
Open the file

Expected behavior
It works perfect.

Screenshots
image

Desktop (please complete the following information):

  • OS: Arch linux (DE = deepin)
  • Browser: Mozilla FireFox

Question

How do I open the index.html file? I've attempted to use notepad to download it as htm and opening it through my browser, didn't work. Then I attempted through Visual Studio code. That didn't work either.

adding the bot logs

Hey, I was thinking that adding the console log in the website would be cool

Wont take bot token

Describe the bug
A clear and concise description of what the bug is.

To Reproduce
Steps to reproduce the behavior:
i followed all the steps and i put in the discord bot token but i got the no token provided or invalid token provided error

Expected behavior
A clear and concise description of what you expected to happen.
i expected it to login to the discord bot so i could send stuff
Screenshots
If applicable, add screenshots to help explain your problem.

Screenshot 2021-09-18 5 12 06 PM

Desktop (please complete the following information):

  • OS:chrome os
  • Browser:chrome

Smartphone (please complete the following information):

  • Device:
  • OS:
  • Browser:
  • Version:

Additional context
Add any other context about the problem here.

DM Bug

Describe the bug
A clear and concise description of what the bug is.

To Reproduce
Steps to reproduce the behavior:

  1. Go to 'DM'
  2. Click on 'Send'
  3. Scroll down to '....'
  4. See error

Expected behavior
When sending a private message in the developer console, TypeError: message.guild is null is displayed.
Screenshots
imagen

Desktop (please complete the following information):

  • OS: Windows 10
  • Browser: FireFox

Smartphone (please complete the following information):

  • Device:
  • OS:
  • Browser:
  • Version:

Additional context
In addition, messages in some chats are repeated or not displayed.

please add portuguese Language

const locales = {
"pt": {
"cCode": "pt_Br",
"language": "Português",
"text": {
"channelNameLabel": "Bate-papo",
"scrollCheck": "Ativar animação de rolagem automática",
"fileSent": "enviou alguns arquivo(s)",
"attachmentTxt": "Anexos",
"privateMessages": "Mensagem Privada",
"userId": "ID do Usuário"
},
"buttons": {
"clearLastMessages": "Limpar últimas mensagens",
"editToken": "Edite o token",
"refreshChat": "Atualizar bate-papo",
"changeLanguage": "Mudar idioma",
"send": "Enviar",
"leave": "Sair do servidor",
"invite": "Convite"
},
"infos": {
"owner": "Dono",//We also use 'Proprietário'
"members": "Membros",
"vChannels": "Canais (Voz)",
"tChannels": "Canais(texto)",
"roles": "Cargos",
"channels": "Canais",
"emojis": "Emojis"
},
"headings": {
"lastMessages": "Últimas mensagens",
"guildName": "informação",
"autoScroll": "Auto rolagem", //I think it's better to use the same one as English since nobody uses auto rolagem
},
"errors": {
"error": "ERRO",
"dm": "ERRO : Mensagem Privada",
"emptyMsg": "ERRO : MESSAGEM VAZIA",
"missingPermissions": "ERRO : PERMISSÕES EM FALTA"
},
"token": {
"prompt": "Por favor, insira seu token de bot discord",
"confirmation": "Você tem certeza ?",
"invalid": "Nenhum token fornecido ou o token é inválido"
},
"messageType": {
"serverJoin": "entrou no servidor",
"pin": "fixou uma mensagem",
"channelNews": "adicionou um canal de notícias remoto",
"boost": "impulsionou o servidor"
},
"fileType": {
"unknown": "Desconhecido",
"img": "imagem",
"doc": "documento",
"pdf": "pdf",
"video": "video",
"audio": "audio"
},
"formatting": {
"bold": "Negrito",
"emphasis": "Ênfase",
"underline": "Sublinhado",
"strike": "Tachado", //I think it's better to use the same one as English since nobody uses auto rolagem
"clear": "Limpar formatação"
}
},
}

UK lang

I made the Ukrainian language in the panel!

Setup Guide?

Hi, I couldn't find setup instructions (and I am not very bright when it comes to HTML and webpages, etc.) is there any guide or would anyone mind giving me guidance?

DM message fetching & sending problem

Hello, I just tested this & everything else worked fine but it's not showing DM messages & not sending it too, however guild message sending & fetching works fine!

Where is the token place?

Describe the bug
A clear and concise description of what the bug is.

To Reproduce
Steps to reproduce the behavior:

  1. Go to '...'
  2. Click on '....'
  3. Scroll down to '....'
  4. See error

Expected behavior
A clear and concise description of what you expected to happen.

Screenshots
If applicable, add screenshots to help explain your problem.

Desktop (please complete the following information):

  • OS:
  • Browser:

Smartphone (please complete the following information):

  • Device:
  • OS:
  • Browser:
  • Version:

Additional context
Add any other context about the problem here.

Adding screenshots of the panel to the readme.

Is your feature request related to a problem? Please describe.
Kind of, I wish that there would be screenshots for people to see what it looks like it before they install it.
Describe the solution you'd like
Just a couple of screenshots in the readme.
Describe alternatives you've considered
Maybe add them in the repo...

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.