Skip to content

RadCraftplay/parrot

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

24 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Parrot

Discord bot repeating users' messages

Table of contents

General info

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

Requirements

Setup

  1. Clone repository
$ git clone https://github.com/RadCraftplay/parrot.git
  1. 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>"
}
  1. Install dependencies
$ yarn install
  1. Start bot
$ yarn start

Known issues

  • Due to Discord API limitations, only one of 100 last messages (on the selected channel) can be read
  • Message attachments are not supported yet

About

Discord bot re-sending users' messages

Resources

Stars

Watchers

Forks

Releases

No releases published