Nightbot's Command that call another, but more than just one

I want to use a command as trigger to call another commands, but more than only one.

It should work like…
!ask discord
and the nightbot would call the !discord command

Is that possible?

Hi @nidrokk You can do this way.

  1. Create a JSON like file in pastebin
    Somthing like:
    "discord": "Join our discord server:",
    "instagram": "Follow us on Instagram at: <LINK>",
  1. Fetch and process it.
!addcom -cd=5 !ask $(eval a = $(urlfetch json; a.$(query))

Let me know, if you face any problem.


1 Like

This topic was automatically closed 14 days after the last reply. New replies are no longer allowed.