Class: someRandomApi


someRandomApi

The class for https://some-random-api.ml

Methods

(async, static) chat(message, apikeyopt) → {string}

Chat to a bot!

Parameters:
Name Type Attributes Description
message string

The message you wanna send to the chat bot.

apikey string <optional>

Your api key. (Optional)

Source:
Returns:
  • Type: string

(async, static) dogFact() → {string}

Get a random dog fact!

Source:
Returns:
  • Type: string