darkguy10 / botclient Goto Github PK
View Code? Open in Web Editor NEWA discord botclient built with Electron, React and discord.js.
License: MIT License
A discord botclient built with Electron, React and discord.js.
License: MIT License
app.on('ready', () => {
^
TypeError: Cannot read properties of undefined (reading 'on')
at Object.<anonymous> (C:\Users\Tayhay\Desktop\BotClient-0.2.0-alpha\index.js:14:5)
←[90m at Module._compile (node:internal/modules/cjs/loader:1101:14)←[39m
←[90m at Object.Module._extensions..js (node:internal/modules/cjs/loader:1153:10)←[39m
←[90m at Module.load (node:internal/modules/cjs/loader:981:32)←[39m
←[90m at Function.Module._load (node:internal/modules/cjs/loader:822:12)←[39m
←[90m at Function.executeUserEntryPoint [as runMain] (node:internal/modules/run_main:79:12)←[39m
←[90m at node:internal/main/run_main_module:17:47←[39m
any idea why
In default discord you can just Shift + Enter to go into new line, but here can't. Any other way to do it?
If there's a TOKEN_INVALID or MISSING_INTENTS error when the appData has a token stored, the same thing repeats on in every run without a way to flush the invalid token
Hello, I was wondering if you could make it manage roles, or add channels, or anything like that. If that is too hard, then I understand, but I hope you can do that. Thank you!
So what I want this bot to do, is be able to manage channels, manage roles, or manage the server, because right now it can't really do much, besides replying and sending messages, (which is already INSANE).
Alternatively, it can be solved by just being able to give roles to users (if the bot has admin of course).
No response
shit
FUCK U DARKGUY10 I HOPE U DIE UR DUMBASS BOTCLIENT IS A VIRUS
SHIT
IDC
windows
From GitHub releases (or links from the readme)
High (immediate attention needed)
FUCK U FUCK U FUCK U FUCK U
I want to see Voice Chat added to the bot as an old cilent i used back then was able. https://github.com/SamuelScheit/discord-bot-client)
Allow Bots to join a voice channel and use the user's mic and audio sources to receive and transmit voice data
No response
No response
hi bro, i tried your botclient and have some feature request, i think you can do it :)
already installed electron with npm install electron and with npm install electron --save-dev
here is error:
C:\Users\Liam\Downloads\BotClient-0.2.0-alpha\index.js:14
app.on('ready', () => {
^
TypeError: Cannot read property 'on' of undefined
at Object. (C:\Users\Liam\Downloads\BotClient-0.2.0-alpha\index.js:14:5)
←[90m at Module._compile (node:internal/modules/cjs/loader:1101:14)←[39m
←[90m at Object.Module._extensions..js (node:internal/modules/cjs/loader:1153:10)←[39m
←[90m at Module.load (node:internal/modules/cjs/loader:981:32)←[39m
←[90m at Function.Module._load (node:internal/modules/cjs/loader:822:12)←[39m
←[90m at Function.executeUserEntryPoint [as runMain] (node:internal/modules/run_main:79:12)←[39m
←[90m at node:internal/main/run_main_module:17:47←[39m
Put the servers in order of more members to less members and why not add the number of members in the title
Describe the bug
When attempting to view a Big Server you get an Empty Channel List with an error Message in the Console
To Reproduce
Steps to reproduce the behavior:
Expected behavior
A visible Channel list
Error
Uncaught (in promise) Error: Error invoking remote method 'channels': TypeError: members.values is not a function or its return value is not iterable
at EventEmitter.i.invoke (node:electron/js2c/renderer_init:61)
at async ChannelNav.fetchChannels (ChannelNav.js:16)
Desktop (please complete the following information):
Additional context
Add any other context about the problem here.
So, i just got botclient crashed when switching from other channel to a channel that have AutoMod logging
Here is the crash report:
TypeError: Cannot read properties of undefined (reading 'startsWith')
at r (file:///C:/Users/Admin/AppData/Local/Programs/botclient/resources/app.asar/build/static/js/main.89189ca3.js:2:1698255)
at discord-messages
at _ (file:///C:/Users/Admin/AppData/Local/Programs/botclient/resources/app.asar/build/static/js/main.89189ca3.js:2:115420)
at DiscordMessages
at main
at div
at div
at r (file:///C:/Users/Admin/AppData/Local/Programs/botclient/resources/app.asar/build/static/js/main.89189ca3.js:2:1689800)
at div
at div
at n (file:///C:/Users/Admin/AppData/Local/Programs/botclient/resources/app.asar/build/static/js/main.89189ca3.js:2:1672985)
at div
at div
at div
at div
at div
at div
at n (file:///C:/Users/Admin/AppData/Local/Programs/botclient/resources/app.asar/build/static/js/main.89189ca3.js:2:1720516)
at n (file:///C:/Users/Admin/AppData/Local/Programs/botclient/resources/app.asar/build/static/js/main.89189ca3.js:2:1598774)
No response
No response
v0.10.3
Windows 10 21H2. Build 19044.1826
From GitHub releases (or links from the readme)
Medium (should be fixed soon)
No response
Is your feature request related to a problem? Please describe.
A clear and concise description of what the problem is. Ex. I'm always frustrated when [...]
Currently, the client can only view like 1-2 pages of message, and that's not exactly ideal, since for that little amount of message, not much can actually be done, beside trying to "catch up" with the last chat topic
Describe the solution you'd like
A clear and concise description of what you want to happen.
Adding the ability to scroll to like messages from 2 weeks ago (API limitation, I believe) would comes in very handy
Describe alternatives you've considered
A clear and concise description of any alternative solutions or features you've considered.
None is found
Additional context
Add any other context or screenshots about the feature request here.
I can't get direct messages from a user
Is your feature request related to a problem? Please describe.
for a upcoming Roleplay Server we have very strict guidelines for User created Discords, we want to add a Bot to each of them just to make sure we can enforce those guidelines, in order to prevent the Users from just creating hidden Channels and doing forbidden stuff it would be cool to atleast see hidden Channels (reading content is not possible and we don't need that) as well as see hiden Voice Channels and their Users. (just like show hidden channels on Better Discord) Also we don't want to invite Staff to each Discord as its just toooo much work and too many Servers therefore we chose the Bot approach.
Describe the solution you'd like
A switch in the Console which enables the visibility of hidden channels, making them in a redish color so the BotClient User sees that this Channel is not accessible normally.
Describe alternatives you've considered
None, there is not really one in our case.
I'd love to have a method to copy the ids of things such as servers, users, and messaages (links not ids).
Have a context menu on right-click, with 'Copy ID' as an option.
If a context menu isn't possible, then right-clicking could copy to clipboard and send a notification.
No response
Known issue
Will be patched in next major release
This issue will track immediate changes for the Epsilon rewrite.
Major changes in this rewrite:
discord.js v14
CRA
to Next.js
Typescript + SASS
Redux
for better data flow and state managementTooltipManager
and ContextMenuManager
api into wrapper-like componentsIssue and how to reproduce:
-select channel a on server a
-scroll up until BotClient attempts to load more messages in the channel
-select different channel b on server b
-change channels on server b until result
Result: BotClient loads messages from channel or server a in channel b on server b
Botclient starts loading messages from channel a and upon switching to channel b it loads a instead
Botclient starts loading messages from channel a and upon switching to channel b it displays channel b
v0.10.3
Windows 11
From GitHub releases (or links from the readme)
High (immediate attention needed)
In case it matters or helps discord convo in the bugs channel including a potential fix and another description
Steps to reproduce the bug:
Channels don't load and an error message appears in the console
[1] Error occurred in handler for 'channels': TypeError: Cannot read properties of null (reading 'has')
[1] at serializeGuildChannel (.../BotClient/public/serializers/serializeGuildChannel.js:19:4)
[1] at /home/user/Downloads/BotClient/public/electron.js:153:3
[1] at Array.map ()
[1] at /home/user/Downloads/BotClient/public/electron.js:152:61
[1] at node:electron/js2c/browser_init:189:579
[1] at EventEmitter. (node:electron/js2c/browser_init:161:11093)
[1] at EventEmitter.emit (node:events:390:28)
Non thread channels should display
v0.10.3-alpha
Solus Linux
Built from source
Medium (should be fixed soon)
No response
Describe the bug
Upon selecting a channel specific channel, the Discord client greys out and the entire user interface disappears
To Reproduce
Steps to reproduce the behavior:
Expected behavior
The channel is supposed to open and display the messages
Desktop (please complete the following information):
hi bro, i tried your botclient and have some feature request, i think you can do it :)
when i try to login on the bot it says always "used disallowed intents" i just try to login on the bot normally lol
When i try to login by the token in the client it just shows me error
it was supposed to work the login, im a old user from this program and it was working before like months ago, now isn't working anymore please fix it this app is amazing
0.12.1
Windows 11 Pro
From GitHub releases (or links from the readme)
High
thanks :)
Describe the bug
I can not properly install this.
To Reproduce
Steps to reproduce the behavior:
yarn
yarn start
Expected behavior
It just works
Screenshots
Not needed, the would not help.
Desktop (please complete the following information):
Additional context
yarn -v
: 3.1.1
Had same problems when used old yarn
No response
No response
v0.10.3-alpha
Windows 11
From GitHub releases (or links from the readme)
High (immediate attention needed)
No response
Whenever I login it says:
[DISALLOWED_INTENTS] Privileged intent provided is not enabled or whitelisted.
But my bot is verified and I can't enable intents, I must apply for them, but I should be able to use the client just fine without intents, I'll be missing some features but it'll mostly work, how can I do that?
Is your feature request related to a problem? Please describe.
My verified bot doesn't have all 3 privileged intents enabled, so I can't use this client with it.
Describe the solution you'd like
Detect if the bot doesn't have the privileged intent (done already with the error message on login) and just disable that part of the client (eg doesn't have members intent: don't show members list). This would make the client compatible with more bots.
Describe alternatives you've considered
N/A
Additional context
N/A
Is your feature request related to a problem? Please describe.
Bots are not able to send and recieve PM
Describe the solution you'd like
Well I think the name of the request is well chosen but... The bot should be able to send and recieve PM (Private Messages) (:
Describe alternatives you've considered
Have an interface just like the default discord :P
I can't help on the developement part, my skills in web dev are way too weak to be useful :/
Your app is actualy damn useful, I'm already using it and is a QoL that should be in discord itself, continue like that ❤️
A declarative, efficient, and flexible JavaScript library for building user interfaces.
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google ❤️ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.