Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/mysterypancake/discord-reposter
Bot for reposting Discord messages (work in progress)
https://github.com/mysterypancake/discord-reposter
archive bot discord discord-api discord-bot discord-js discordapp discordbot discordjs discordjs-bot discordjsbot javascript node-js nodejs nodejs-bot repost reposter reposts
Last synced: about 2 months ago
JSON representation
Bot for reposting Discord messages (work in progress)
- Host: GitHub
- URL: https://github.com/mysterypancake/discord-reposter
- Owner: MysteryPancake
- License: mit
- Archived: true
- Created: 2017-11-18T23:24:01.000Z (about 7 years ago)
- Default Branch: master
- Last Pushed: 2020-11-26T09:28:01.000Z (almost 4 years ago)
- Last Synced: 2024-09-26T01:01:25.226Z (about 2 months ago)
- Topics: archive, bot, discord, discord-api, discord-bot, discord-js, discordapp, discordbot, discordjs, discordjs-bot, discordjsbot, javascript, node-js, nodejs, nodejs-bot, repost, reposter, reposts
- Language: JavaScript
- Homepage:
- Size: 120 KB
- Stars: 92
- Watchers: 11
- Forks: 121
- Open Issues: 40
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# Discord Reposter
A simple bot I made because I wanted my friends to stop deleting their messages.It reposts all the messages from one channel to another, which can even be in another server!
However, the bot needs to be in both servers for this to work.
## Commands
### Repost To
*Reposts to a channel.*`/repost ` or `/repost to `
### Repost From
*Reposts from a channel.*`/repost from `
### Repost Webhook
*Reposts through a webhook.*`/reposthook` or `/repostwebhook` instead of `/repost`
### Repost Live
*Reposts messages as they come.*`/repostlive` or `/repostlivehook` instead of `/repost`
### Repost Stop
*Stops reposting.*`/repost stop` or `/repost halt` or `/repost cease` or `/repost terminate` or `/repost suspend` or `/repost cancel` or `/repost die` or `/repost end`
### Repost Commands
*Posts the command list.*`/repost help` or `/repost commands`
### Repost Replace
*Replaces text when reposting.*`/repost replace `
### Repost Replacements
*Posts the replacement list.*`/repost replacements`
### Repost Prefix
*Changes the bot prefix.*`/repost prefix `
### Repost Tags
*Toggles user tags when reposting.*`/repost tags` or `/repost tags `
### Repost Nicknames
*Toggles nicknames when reposting.*`/repost nicknames` or `/repost nicknames `
### Repost Pins
*Toggles pins when reposting.*`/repost pins` or `/repost pins `
## Setup
1. [Create your app with a Bot](https://discordapp.com/developers/applications/me).
2. Copy your bot's secret token and [paste it on this line](reposter.js#L9). Please don't leak your secret token on GitHub. If you're using Heroku, try to replace it with `process.env.SECRET_BOT_TOKEN` and setup the environment variable in Heroku.
3. Go to `https://discordapp.com/oauth2/authorize?client_id=&scope=bot`, with `` as your app's client ID.
4. [Install Node.js](https://nodejs.org/en/download): `brew install node`
5. [Install the dependencies](package.json#L36-L38): `npm install`
6. [Run the bot](reposter.js): `npm start`
7. Hope it works!