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
Python 3.6.1+ - Programming language
discord.py rewrite - Wrapper for the Discord API
aionationstates - Wrapper for the NationStates API
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
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
Close
Hashes for discord-plays-nationstates-0.1.1.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | 1701186223d47c38ae5096077dec3ce2a0a336f7f92e92e777be5a538475dce2 |
|
MD5 | 00627ef0b46a7670c8d118573cd28b12 |
|
BLAKE2b-256 | 56b15da944b70b50a861b0de02469c0648b4e07a4f0705ac6bc6cff249bb5059 |
Close
Hashes for discord_plays_nationstates-0.1.1-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 6203493c0e69eaefe9c8357c632aff653c3b796775e1f26a246af146adafc44d |
|
MD5 | ff8987a7d687907959df5416c8f9ef68 |
|
BLAKE2b-256 | a129db43d2ad88d2728c02da153517672fd8a46c9b6d69ee7d6b4caeecb454a6 |