# Modules

## Automation

**Automation** module covers up all server trigger related commands, like [welcome messages](https://docs.nyaru.xyz/automation/welcomemessage), [welcome DMs](https://docs.nyaru.xyz/automation/welcomedm), [leave messages](https://docs.nyaru.xyz/automation/leavemessage) etc. You can customize these events at your own creativity via [dashboard](https://go.nyaru.xyz/dashboard) or commands.

| Command                                                            | Description                                                                                                                                                                  |
| ------------------------------------------------------------------ | ---------------------------------------------------------------------------------------------------------------------------------------------------------------------------- |
| [welcomedm](https://docs.nyaru.xyz/automation/welcomedm)           | Whenever someone joins the server, I will DM them this welcome message automatically.                                                                                        |
| [welcomemessage](https://docs.nyaru.xyz/automation/welcomemessage) | I trigger this action when someone joins the server. For example, you can set a custom channel and message to be sent when someone joins the server, as a welcome message.   |
| [leavemessage](https://docs.nyaru.xyz/automation/leavemessage)     | I trigger this action when someone leaves the server. For example, you can set a custom channel and message to be sent when someone leaves the server, as a goodbye message. |

## Automod™

> s00n™

## Moderation

Keep your server's security *tight* with Nyaru's flexible **Moderation** module, that offers *everything* you had expected! You can also keep *logs* of all your moderator(s) actions in your discord server as well!

| Command                                          | Description                                                                                                                                     |
| ------------------------------------------------ | ----------------------------------------------------------------------------------------------------------------------------------------------- |
| [ban](https://docs.nyaru.xyz/moderation/ban)     | I can ban someone using this command, for you.                                                                                                  |
| [unban](https://docs.nyaru.xyz/moderation/unban) | I can unban someone using this command, for you.                                                                                                |
| [purge](https://docs.nyaru.xyz/moderation/purge) | A command you can use to clear messages in bulk from a channel using different filters.                                                         |
| [kick](https://docs.nyaru.xyz/moderation/kick)   | I can kick someone using this command, for you.                                                                                                 |
| [nuke](https://docs.nyaru.xyz/moderation/nuke)   | Clones the current channel and makes a new channel on same position and same permissions. Post deletes the channel the command was executed in. |
| [pin](https://docs.nyaru.xyz/moderation/pin)     | You can ask me to pin any message :)                                                                                                            |
| [unpin](https://docs.nyaru.xyz/moderation/unpin) | You can ask me to unpin any message :)                                                                                                          |

## Giveaways

Create awesome events and giveaways using Nyaru's highly customizable **Giveaway** module, that offers requirement giveaways as well, with bonus and bypass entries - with ease.

| Command                                             | Description                                                                       |
| --------------------------------------------------- | --------------------------------------------------------------------------------- |
| [gcreate](https://docs.nyaru.xyz/giveaways/gcreate) | Create and start a giveaway with a wizard, asking you for all options one by one. |
| [gstart](https://docs.nyaru.xyz/giveaways/gstart)   | Start a giveaway in the server.                                                   |
| [greroll](https://docs.nyaru.xyz/giveaways/greroll) | Reroll an ended giveaway.                                                         |
| [gedit](https://docs.nyaru.xyz/giveaways/gedit)     | Edit an on-going giveaway with ease to change requirements, winners etc.          |
| [glist](https://docs.nyaru.xyz/giveaways/glist)     | Lists out list of all giveaways in the channel.                                   |
| [gend](https://docs.nyaru.xyz/giveaways/gend)       | End a giveaway in the server.                                                     |

## Music

Chill out your day with our extensive **Music** module, *free for use* ~~unlike other bots~~. We support [YouTube](https://youtube.com), [Spotify](https://www.spotify.com/) and [SoundCloud](https://soundcloud.com/)! We've all options you would've wanted, right under Nyaru.

| Command                                               | Description                                    |
| ----------------------------------------------------- | ---------------------------------------------- |
| [play](https://docs.nyaru.xyz/music/play)             | Plays audio from YouTube, Spotify or Souncloud |
| [pause](https://docs.nyaru.xyz/music/pause)           | Pause the currently playing music.             |
| [resume](https://docs.nyaru.xyz/music/resume)         | Resume the current paused song                 |
| [search](https://docs.nyaru.xyz/music/search)         | Search and select videos to play.              |
| [skip](https://docs.nyaru.xyz/music/skip)             | Skip a song.                                   |
| [queue](https://docs.nyaru.xyz/music/queue)           | Show current playlist.                         |
| [stop](https://docs.nyaru.xyz/music/stop)             | Stop and clear the current queue.              |
| [shuffle](https://docs.nyaru.xyz/music/shuffle)       | Shuffle queue.                                 |
| [remove](https://docs.nyaru.xyz/music/remove)         | Remove song from the queue.                    |
| [nowplaying](https://docs.nyaru.xyz/music/nowplaying) | Show song name playing now.                    |
| [loop](https://docs.nyaru.xyz/music/loop)             | Repeat the current song or queue.              |

## Informational

Get information about users (across discord), servers, emojis, even me - and a lot more, from **Informational/Info** module.

| Command                                                       | Description                                              |
| ------------------------------------------------------------- | -------------------------------------------------------- |
| [serverinfo](https://docs.nyaru.xyz/informational/serverinfo) | This commands shows detailed server information to you.  |
| [userinfo](https://docs.nyaru.xyz/informational/userinfo)     | Get the info of tagged users or your own info.           |
| [avatar](https://docs.nyaru.xyz/informational/avatar)         | Find enlarged avatar of someone, with links!             |
| [about](https://docs.nyaru.xyz/informational/about)           | Gives you some info about the bot!                       |
| [dpbal](https://docs.nyaru.xyz/informational/dpbal)           | See DREAM Points balance for yourself or for other user! |

## Utility

Useful left-over commands which does not fit in any other module will be found in **Utility** module.&#x20;

| Command                                         | Description                                                                               |
| ----------------------------------------------- | ----------------------------------------------------------------------------------------- |
| [ping](https://docs.nyaru.xyz/utility/ping)     | Um, you want to know? It shows my latency.                                                |
| [help](https://docs.nyaru.xyz/utility/help)     | Help command shows all valid commands for you to interact with me.                        |
| [invite](https://docs.nyaru.xyz/utility/invite) | Gives you the invite link to invite me in your server, my support server and our website. |
| [embed](https://docs.nyaru.xyz/utility/embed)   | Create a stylish embed using a interactive setup, and send to any channel.                |
| [poll](https://docs.nyaru.xyz/utility/poll)     | I can create a poll for you! Seperate Question and choices using `\|`!                    |
| [say](https://docs.nyaru.xyz/utility/say)       | I will repeat what you say.                                                               |
| [edit](https://docs.nyaru.xyz/utility/edit)     | Edits a message I sent using message ID!                                                  |

## Settings

Configure Nyaru's **settings** for your server, such as log channels, triggers etc.

| Command                                          | Description                               |
| ------------------------------------------------ | ----------------------------------------- |
| [prefix](https://docs.nyaru.xyz/settings/prefix) | Set your server prefix with this command! |
