Skip to content

ItsYeeBoi/discord.py-Ark-API

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

8 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

discord.py Ark Api

Using discord.py to interact with ark's web API.

Dependencies

Installing

Install Python Here: Python

Python 3.6 or higher is required

Downloading the files

Click green Code button in the top right and click download ZIP

Or install using Git in a terminal

$ git clone https://github.com/ItsYeeBoi/discord.py-Ark-API
$ cd discord.py-Ark-API

Example .env file

# Discord Token
TOKEN=PUT DISCORD TOKEN HERE
# Discord Prefix
PREFIX=!

To get your Discord token follow this guide: Discord Token

Intalling Dependencies

pip install -r requirements.txt

Running The Bot

Windows:

Double click main.py file it should open command prompt then the bot is running

Or in command prompt run the command

python main.py

To run the bot with PM2:

Nodejs needs to be installed

npm install pm2 -g
pm2 start main.py

Linux:

nano .env or gedit .env
pip install -r requirements.txt
cd Bot
python3 main.py

If pip isn't installed use:

apt install python3-pip

To Run The Bot Using PM2:

apt install nodejs
apt install npm
npm install pm2 -g
cd Bot
pm2 start main.py --interpreter python3

Plans

  • Add PC Server List Using BattleMetrics
  • More Features Like Industrial Forge Calculator
  • Add More General Commands For Bot
    • Bot Stats
    • Bot Presence
    • Better Help Command

Links

About

Using discord.py and Ark Web API to display stats about Ark servers

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published