mazawrath / beanbot Goto Github PK
View Code? Open in Web Editor NEWA discord bot made specifically for a server I'm in
License: BSD 3-Clause "New" or "Revised" License
A discord bot made specifically for a server I'm in
License: BSD 3-Clause "New" or "Revised" License
.userinfo
has very poor logic from checking weather the username is valid or not to getting the activity.
It has arbitrary checks for spotify and acts very strange if the user is not playing a game or lisetning to music.
The username checking isn't the best but it works because it doesn't output any errors. But better checking without setting username
to outrageous values like null#000000000000
is preferable
Sentry Issue: BEANBOT-4D
SocketException: Socket closed
(36 additional frame(s) were not displayed)
...
at sun.security.ssl.SSLSocketImpl.readRecord(SSLSocketImpl.java:975)
at sun.security.ssl.InputRecord.read(InputRecord.java:503)
at sun.security.ssl.InputRecord.readFully(InputRecord.java:465)
at java.net.SocketInputStream.read(SocketInputStream.java:141)
at java.net.SocketInputStream.read(SocketInputStream.java:204)
SocketTimeoutException: timeout
(30 additional frame(s) were not displayed)
...
at okio.RealBufferedSource.readUtf8LineStrict(RealBufferedSource.java:217)
at okio.RealBufferedSource.indexOf(RealBufferedSource.java:345)
at okio.AsyncTimeout$2.read(AsyncTimeout.java:241)
at okio.AsyncTimeout.exit(AsyncTimeout.java:285)
at okio.Okio$4.newTimeoutException(Okio.java:230)
ExecutionException: java.net.SocketTimeoutException: timeout
at com.mazawrath.beanbot.commands.beancoin.BeanTriviaCommand.lambda$onCommand$0(BeanTriviaCommand.java:115)
at com.mazawrath.beanbot.commands.beancoin.BeanTriviaCommand.getUsersReacted(BeanTriviaCommand.java:228)
java.net.SocketTimeoutException: timeout
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.