https://github.com/dizzy611/binbashcord
BinBash for the Discord age
https://github.com/dizzy611/binbashcord
Last synced: 9 months ago
JSON representation
BinBash for the Discord age
- Host: GitHub
- URL: https://github.com/dizzy611/binbashcord
- Owner: Dizzy611
- License: mit
- Created: 2017-12-16T15:44:07.000Z (about 8 years ago)
- Default Branch: master
- Last Pushed: 2017-12-16T18:08:57.000Z (about 8 years ago)
- Last Synced: 2025-02-08T05:13:53.205Z (11 months ago)
- Language: Python
- Size: 24.4 KB
- Stars: 0
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# BinBashCord
BinBash for the Discord age
**BinBash** is a Discord (formerly IRC) quote bot specializing in seperate textual quote files
for different purposes. In its original incarnation on *irc.slashnet.org*
channel *#mzx*, it replaced !bash scripts that were used to chronicle funny
quotes from mostly former community members.
## Usage:
Edit the binbash.py script, putting in the token, channel ids, authorized roles
for adding quotes, etc that your bot will use. Place text files containing quotes in the
bashes folder, see the examples in that folder. Run the bot with python
binbash.py. The script will automatically split messages at 2000
characters if needbe.
Enjoy.
## Commands:
!bashes - Shows a listing of files in the bashes/ folder
!foobash n - n is a line number. If n is specified, show the nth line from foo.txt, if it is not specified, show a random line from foo.txt
!addquote foo This is a quote - Add the line "This is a quote" to the end of foo.txt, creating foo.txt if necessary.