Code area: write your bot

Try what you learned. Write the code and run it; if the task is right, Aegis celebrates with you. Your code runs in your browser in a fake Discord environment; nothing goes to a real server.

Documentation / Learn to write a bot / Code area

  1. Pick a task

    Pick a task from the list on the right and read its description.

  2. Write the code

    Add your own code in the editor where the comment line is.

  3. Run it

    Press Run or Ctrl + Enter. The terminal shows the result.

If you get stuck, look at the examples in the earlier lessons; every task's hint is on its task card too.