> For the complete documentation index, see [llms.txt](https://ephf.gitbook.io/discord-short/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://ephf.gitbook.io/discord-short/creating-bot-commands/all-commands.md).

# All Commands

When you create a command, it is automatically added to a collection inside `ds`

You can access all of your commands by running the `.map` and other Discord.js Collection functions!

```javascript
ds.commands.map(command => {
    console.log(command.name);
});
```
