`Unresolved reference: int` when creating input command
I'm following the example in the very sparse wiki, but it doesn't seem to be valid anymore (it was last updated over 2 years ago). I get the error
Unresolved reference: int
, string
seems to not show errors though. Any ideas on how to fix this? Or are there any more complex sample projects I could look at?
GitHub
Home
Idiomatic Kotlin Wrapper for The Discord API. Contribute to kordlib/kord development by creating an account on GitHub.
33 Replies
I think it's
number
now, but use your IDE's autocomplete
Eg by typing this.
and seeing what you get
Alternatively maybe you need to import the functions
Again, your IDE can help with thatThanks,
number
worked. The IDE hinting wasn't that helpful :sweat:integer function exists
:PatrickThink:
Oh it's the full word
it was renamed to
integer
, the wiki isn't really up to date :pained_smile:Yes I would like to update it .. but we don't have the possibility to do that
yeah...
Is there a way to .. authorize people to modify the wiki and create PR (I think there is no PR on wiki but maybe)
You can't even set like access roles? Poor GitHub
That's an Enterprise feature
I've been thinking about moving off of GH someday for a bunch of reasons, and that's one of them
And gitbook is not free?
use writerside, or mkdocs with material for mkdocs
Never tried but why not if it's readable directly on github for the user
you'd publish it to a site anyway
we've got GH pages, so...
we could even go with pure Markdown
pure markdown is a bad UX
Yes but commonly used so the user is habit to use it
writerside sounds like the best option to me then
writerside search requires an algolia account right now
for some reason
mkdocs-material has search built in
JB has official docs on uploading the algolia indexes now at least
that was pain before
we might go without search at first
it's relatively easy
just annoying
algolia has a free tier too
ik
for gh wikis this manual workflow might work https://discord.com/channels/556525343595298817/587324906702766226/1089615538734510173
PRs are kinda the way to go for collaborative editing
ok nice I fixed the kordex one
I can create updates as I go, though usually I prefer to making bigger commits if I'm only making small changes to docs. Are there commit style guidelines for the repo? Or I guess that can be discussed in the PR
i don't think there are any guidelines for the wiki repo, i basically haven't touched it
Too lazy to fork and PR properly, so here's a minor update
thanks a lot, do you have a github account that i can set as the author for the commit?
GitHub
RaymondLWong - Overview
RaymondLWong has 9 repositories available. Follow their code on GitHub.
applied it 👍