Comments (6)
Probably some bug in the code, will try to fix it asap.
from discord-selfbot.
I've actually noticed that it sometimes it clears messages, other times it doesn't.
Also, I noticed a bug similar to this when the bot tried to send a webhook message. This also can happen when it detects when someone sends a keyword.
[20:09:54] Mention |> Ace Servers|> #commands|> Suggestions (281041859692855296):
@Aceheliflyer, Sent you a DM with information.
[20:10:01] Promise was rejected but there was no error handler Error
Error: 400 BAD REQUEST on POST /webhooks/307669804033114123/MSxT71x45Gtf2PVmSx99m9KG4ESZV9aBDlBjEYI2HC8WIN30h2r2lo5NdBXywexqGDmm
{"embeds": ["0"]}
at IncomingMessage.resp.once (C:\Users\acehe_000\Desktop\Discord-SelfBot\node_modules\eris\lib\rest\RequestHandler.js:198:39)
at Object.onceWrapper (events.js:293:19)
at emitNone (events.js:91:20)
at IncomingMessage.emit (events.js:188:7)
at endReadableNT (_stream_readable.js:975:12)
at _combinedTickCallback (internal/process/next_tick.js:80:11)
at process._tickCallback (internal/process/next_tick.js:104:9)
Sometimes it spits out this error, other times it doesn't.
from discord-selfbot.
This happens when the bot tries to delete a message that has already been deleted. I think it is a bug in the new command message deletion config.
from discord-selfbot.
hmm, I wonder if a good way to handle it would be to ignore/remove messages that begin with the command prefix in the prune array prior to deleting all non-command messages.
from discord-selfbot.
If you change commands/prune.js
on line 11 to
.filter(m => m.content.charAt(0).indexOf(self.config.prefix) === -1)
you can get rid of the error for now, however it prevents any msg that starts with - to be ignored for pruning, not just the initial command msg.
from discord-selfbot.
#46 Fixes this error, I have tested and confirmed this on my local instance.
from discord-selfbot.
Related Issues (20)
- Game cycling broken HOT 3
- Is there a different way to make Rich Embeds? HOT 3
- selfbot returns "invalid ownerID. Must be a string of your own discord ID." HOT 5
- Run.bat isnt loading up correctly. HOT 2
- Bot cannot find eris. HOT 3
- WS Error HOT 1
- [Question] If possible, how can I generate a *new token for my account*? HOT 2
- Unclean WS close 4004 authentication failed. What does this mean, and how can I fix it? HOT 2
- Bot does not start HOT 1
- Misspelling in README HOT 1
- Selfbots are bannable HOT 2
- Getting this issue. how do I fix? HOT 4
- Invalid Owner ID HOT 3
- Syntax error
- Rich Game Cycling? HOT 2
- Commands not always listening?? HOT 2
- Playing and Streaming commands don't work HOT 1
- eris, module, disconnect error HOT 7
- can you do a updated one for microsoft edge? HOT 1
- Error when running "sudo npm start". HOT 2
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from discord-selfbot.