An open API service indexing awesome lists of open source software.

https://github.com/btarg/paste-bot

A simple Discord paste bot for code files
https://github.com/btarg/paste-bot

discord discord-bot paste paste-bot pastebin python

Last synced: 2 months ago
JSON representation

A simple Discord paste bot for code files

Awesome Lists containing this project

README

          

# PasteBot
A simple [discord.py](https://discordpy.readthedocs.io/en/stable/) bot that allows you to paste code to [pastes.dev](https://pastes.dev) from Discord.

It also has support for personal cross-server bookmarks using SQLite.

# Setup
Put your bot token in a file called `.env`:
```env
DISCORD_TOKEN=your_token_here
```
Then install the dependencies:
```sh
pip install -r requirements.txt
```
And run the bot:
```sh
python main.py
```