Getting data
Types
InteractionScanner = object iact: Interaction data: InteractionCommandData api: RestApi
- Source Edit
Procs
proc get(scnr; kind: typedesc[GuildChannel]; key: string): Future[ Option[GuildChannel]]
- Source Edit
proc getTail(data: ApplicationCommandInteractionData): InteractionCommandData {. ...raises: [], tags: [].}
- Returns the tail end of the application data which contains all the parameters past to the command. Source Edit
proc getWords(i: Interaction): seq[string] {....raises: [], tags: [].}
- Returns a list of sub command group names and a final sub command name in an interaction Source Edit
proc newInteractionGetter(i: Interaction; api: RestApi): InteractionScanner {. ...raises: [], tags: [].}
- Source Edit