Skip to main content
Donate to the Python Software Foundation or Purchase a PyCharm License to Benefit the PSF! Donate Now

A discord bot that answers issues as a NationStates nation

Project description

discord-plays-nationstates is a Discord bot developed to enable sharing the experience of governing a NationStates nation with your fellow chatmates.

Installation

pip install discord-plays-nationstates
pip install -U git+https://github.com/Rapptz/discord.py@rewrite#egg=discord.py
discord-plays-nationstates \
   --token YOUR_DISCORD_API_TOKEN \
   --useragent YOUR_NATIONSTATES_USERAGENT \
   --nation NAME_OF_YOUR_NATION \
   --password PASSWORD_TO_YOUR_NATION \
   --channel ID_OF_THE_DISCORD_CHANNEL_YOU_WANT_TO_USE

Usage

usage: discord-plays-nationstates [-h] --token TOKEN --useragent USERAGENT
                                  --nation NATION --password PASSWORD
                                  --channel CHANNEL

optional arguments:
  -h, --help            show this help message and exit

required arguments:
  --token TOKEN         The token for your Discord bot
  --useragent USERAGENT
                        User-Agent header for the NationStates API
  --nation NATION       Name of the nation you want to answer issues of
  --password PASSWORD   Password to the nation
  --channel CHANNEL     ID of the Discord channel to use

Dependencies

License

discord-plays-nationstates - a bot to control a NationStates nation from a Discord chat.
Copyright (C) 2018  Михаил Лебедев

This program is free software: you can redistribute it and/or modify
it under the terms of the GNU Affero General Public License as published by
the Free Software Foundation, either version 3 of the License, or
(at your option) any later version.

This program is distributed in the hope that it will be useful,
but WITHOUT ANY WARRANTY; without even the implied warranty of
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
GNU Affero General Public License for more details.

You should have received a copy of the GNU Affero General Public License
along with this program.  If not, see <http://www.gnu.org/licenses/>.

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Filename, size & hash SHA256 hash help File type Python version Upload date
discord_plays_nationstates-0.1.1-py3-none-any.whl (10.2 kB) Copy SHA256 hash SHA256 Wheel py3
discord-plays-nationstates-0.1.1.tar.gz (6.7 kB) Copy SHA256 hash SHA256 Source None

Supported by

Elastic Elastic Search Pingdom Pingdom Monitoring Google Google BigQuery Sentry Sentry Error logging AWS AWS Cloud computing DataDog DataDog Monitoring Fastly Fastly CDN SignalFx SignalFx Supporter DigiCert DigiCert EV certificate StatusPage StatusPage Status page