Skip to content

mesub7/server-info

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

4 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

server-info

Server info is a small bot designed to display information about your server stats (I mean an actual server/computer and not a discord server). I made this because I couldn't find anything that was prebuilt for me to just run.

image

Requirements

You need: 0) Python 3.8 (if you have built the wheels for discord.py for 3.9 then you should be able to use that).

  1. discord.py version 1.5.1 or later.
  2. psutil
  3. uptime

Setting up the bot

Part one

  1. Ensure that you have created a bot account.
  2. Open monitor_setup.py in your editor.
  3. Replace the assigned value for CHANNEL_ID.
  4. Add your bot token in client.run('token').
  5. Wait for the bot to print the message ID and copy it.

Part two

  1. Ensure that you have completed part one.
  2. Open server_monitor.py
  3. Replace the values assigned to CHANNEL_ID and MESSAGE_ID with the ones that the setup script produced.
  4. Start your bot!

A pm2 file (monitor-pm2.json) is included to keep the bot online.

Contributing

I would call myself a "basic intermediate" user of python so my code could probably be made better. Feel free to open a PR.

Support

For any help, you can join my small discord server My discord is: mesub#0556

About

No description, website, or topics provided.

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages