`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