Skip to content

andrewlin16/duckbot

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

80 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

duckbot

This is a (currently) babby Discord bot written in Python 3.5.

Usage

To set up:

  1. python3.5 -m venv env in directory.

  2. source env/bin/activate to use virtual env.

  3. pip install -U pip setuptools wheel to upgrade pip.

  4. pip install -r requirements.txt to install deps.

  5. Create a app/config.py file with the same format as config.example.py.

    You can find or create your list of applications here.

To run:

  1. Use the start script ./start.sh -b [name]

    Make sure the name is the name of a bot in config.py

    The bot will print out an OAuth URL that can be used to add the bot to your server.

An example systemd service file is also inculded in this repository as duckbot.service to run duckbot as a persistent service on a server. The example assumes there is a user named duck with the code in /home/duck/duckbot and that there is a 'prod' bot config. To install duckbot as a systemd service, copy duckbot.service to /etc/systemd/system/ and run systemctl enable duckbot.service (may have to run as root).

License

duckbot is licensed under the MIT license. See the LICENSE file.

About

Some sort of Discord bot with a random mix of commands

Resources

License

Stars

Watchers

Forks

Packages

No packages published