17thshard / wobbot Goto Github PK
View Code? Open in Web Editor NEWA discord bot which fetches Words of Brandon from Arcanum.
License: GNU Affero General Public License v3.0
A discord bot which fetches Words of Brandon from Arcanum.
License: GNU Affero General Public License v3.0
See title. This is a problem because coppermind pages are case sensitive; and while many pages have only capital letter titles , not all do. Expected behavior would be to initiate a search only when the provided search term doesn't match a page title, current behavior has an exception to this when the page title has un-capitalized words.
Example of failed interaction: here and following messages.
Note that Wobbot should continue to autocapitalize the first letter of a query, but not the first letter of every word in a query. Those familiar with MediaWiki know this is because MediaWiki makes all pages start with a capital letter.
As you can see below, the bot initiates a search instead of giving the page.
Maybe if I have time later I can throw together a PR for this, in the meantime I wanted to make sure it was kept track of.
java.util.concurrent.CompletionException: java.io.FileNotFoundException: https://coppermind.net/wiki/Shallan+Davar?maxlag=5&&&action=raw
at java.util.concurrent.CompletableFuture.encodeThrowable(CompletableFuture.java:273)
at java.util.concurrent.CompletableFuture.completeThrowable(CompletableFuture.java:280)
at java.util.concurrent.CompletableFuture.uniApply(CompletableFuture.java:604)
at java.util.concurrent.CompletableFuture$UniApply.tryFire(CompletableFuture.java:577)
at java.util.concurrent.CompletableFuture.postComplete(CompletableFuture.java:474)
at java.util.concurrent.CompletableFuture.complete(CompletableFuture.java:1962)
at de.btobastian.javacord.utils.rest.RestRequest.lambda$execute$0(RestRequest.java:267)
at java.util.concurrent.CompletableFuture.uniWhenComplete(CompletableFuture.java:760)
at java.util.concurrent.CompletableFuture$UniWhenComplete.tryFire(CompletableFuture.java:736)
at java.util.concurrent.CompletableFuture.postComplete(CompletableFuture.java:474)
at java.util.concurrent.CompletableFuture.complete(CompletableFuture.java:1962)
at de.btobastian.javacord.utils.ratelimits.RatelimitManager.lambda$null$6(RatelimitManager.java:162)
at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:511)
at java.util.concurrent.FutureTask.run(FutureTask.java:266)
at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1149)
at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:624)
at java.lang.Thread.run(Thread.java:748)```
Oathbringer/epigraphs
links to Hoid's pageHoid
)Liss
)Nomon
)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.