Giter VIP home page Giter VIP logo

discord-panel's Introduction

Discord-panel

license codacy grade repo size forks

Changelog

Version 1.3.11

  • I honestly don't remember !

Version 1.3.10

  • Now uses fontawesome
  • Added documentation to some functions

Version 1.3.9

  • Fixed jQuery not working

Version 1.3.8

  • Fixed languages not showing when there are too many
  • New Italian translation by Pyrox and Antonio Sarro
  • New Thai translation by Vatunyoo Suwannapisit

Version 1.3.7

  • Fixed a duplicate in locale.js
  • Refactored the code

Version 1.3.6

  • Added an installation guide

Version 1.3.5

  • Added a translation guide for newcomers
  • Added a contribution guide for newcomers
  • New Polish translation by ziomciopoziomcio
  • New Czech translation by ziomciopoziomcio
  • New Slovakian translation by ziomciopoziomcio

Version 1.3.4

  • New Ukrainian translation by Payz123
  • Updated contributors

Version 1.3.3

  • New Russian translation by Koteich-dev

Version 1.3.2

  • Added a link to the original repo at the bottom of the page
  • Added support for embed, still WIP until fully tested (mainly tested on Twitter embeds, see this issue)
  • Replaced header p tags by actual headers h tags
  • Switched back to discord.12.1.1 because of cross-origin issue with master and stable
  • Removed toggleVisibility functions to replace with a pre-made one in jQuery
  • Fixed mouse wheel event not working on Firefox

Version 1.3.1

  • Added code blocks to markdown formatting
  • Added mention replacement
  • Added embed support (WIP)
  • Updated attachments to directly send images, audios and videos

Version 1.3.0

  • Updated the locale code to automatically switch to english in case of missing translations
  • Updated the contentReplacement() function to also replace markdown
  • Updated deleteMessage() & editMessage() to make use of jQuery selectors
  • Updated the mousewheel binding code
  • New function to format any timestamp into local timestamp (formatTimestamp(dateLike))
  • New Dutch translation by LevantHAN
  • New Turkish translation by LevantHAN
  • Removed deleteMessage() & editMessage() and moved the code into their matching discord events

What makes this special ? 💎

  • Easy installation : clone the repository, unzip and open the panel.
  • 🔒 Security : your bot token is stocked locally, no risk of it being stolen.
  • 📌 User Friendly : intuitive design, don't spend hours figuring out how to do something.
  • 👀 Open source : you have an idea ? Just take the code and build something out of it !
  • 🌍 Worldwide : you can help translate in your language !

Installation

  1. Download the latest release
  2. Extract it with WinRAR, 7zip, WinZip...
  3. Go to the Discord Developer Portal and grab your bot token
  4. Open index.html
  5. Paste your token, click ok or hit enter
  6. Voila !

How to contribute

Please refer to CONTRIBUTION.md

How to translate

Please refer to TRANSLATION.md

Built With 🔧

Contributors 📝

Translation 🌐

Author Language
LeventHAN Dutch, Turkish
Koteich_dev Russian
Payz123 Ukrainian, Russian
ziomciopoziomcio Polish, Czech, Slovakian
LeafyWrath Slovakian
Kulisidi Russian, Ukrainian
roxxel Ukrainian
tuxlabore Ukrainian
vlfz Russian
Pyrox Italian
Vatunyoo Suwannapisit Thai
Antonio Sarro Italian

Other 👍

Author
SincerelyFaust

Copyrights and Licence

Copyright © 2019-2020 Nøtavøne [email protected]

This project is GNU licensed


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

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?

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.

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

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!

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.

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.

QUESTION

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

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)

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

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

UK lang

I made the Ukrainian language in the panel!

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...

adding the bot logs

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

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

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.

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?

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.

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.

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

invalid token

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

image

[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 :

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!

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"
}
},
}

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.