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
- Host: GitHub
- URL: https://github.com/btarg/paste-bot
- Owner: btarg
- Created: 2024-11-17T13:32:43.000Z (over 1 year ago)
- Default Branch: main
- Last Pushed: 2024-11-19T16:53:04.000Z (over 1 year ago)
- Last Synced: 2025-03-17T15:21:40.186Z (over 1 year ago)
- Topics: discord, discord-bot, paste, paste-bot, pastebin, python
- Language: Python
- Homepage:
- Size: 23.4 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
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
```