Discord bot repeating users' messages
Parrot is a Discord bot that repeats user messages. Parrot can mimic last message of particullar user or followed server channel. It registers three commands:
Command | Description |
---|---|
/mimic @User | Re-send's last message sent by specified user |
/mimicid user_id | Re-send's last message sent by user with provided id |
/repeat | Re-send's last message sent on current channel |
- Clone repository
$ git clone https://github.com/RadCraftplay/parrot.git
- Create configuration file
In src
directory create a file named config.json
structured like in the example below:
{
"clientId": "<APPLICATION ID from Discord Developer Portal>",
"guildId": "<YOUR GUILD ID>",
"token": "<BOT TOKEN from Discord Developer Portal>"
}
- Install dependencies
$ yarn install
- Start bot
$ yarn start
- Due to Discord API limitations, only one of 100 last messages (on the selected channel) can be read
- Message attachments are not supported yet