A Red-DiscordBot Cog for browsing Meshtastic Node data stored in a CSV file, browsable and submittable entirely inside Discord.
What is this? This is a Cog for allowing your regional Meshtastic group to organize their nodes and allow other users to query who owns nodes they find along the mesh in real life. Drastically reduce the amount of "Who has this node?" questions in your chats and create a central directory of your infrastructure to determine quiet zones and fill out gaps.
- A Discord Account.
- Access to the [Discord Developer Portal] (https://discord.com/developers/applications).
- A server capable of running Python 3.11.x, or higher, or possibly slightly lower.
- Some setup time.
- Go to the Developer Portal and create a new Application, ensure it's a Bot, and write down the Secret.
- It will require message writing, reading, editing, picture uploads, embed, and emoji attachments. Most Red installs will have this figured out.
- Add a funny picture, ensuring it doesn't violate the Meshtastic trademarks.
- Follow the Red-DiscordBot installation instructions.
- Add the mesh_nodes.py file from this repo into your Cogs folder.
- Ensure your !paths are pointing to a directory you can put the repo files in.
- Load the Github file
mesh_nodes.pyinto your Mesh Cog directory. - Move your downloaded
credentials.jsonfile as well. - Run
!load mesh_nodes, then fill out the config file. Here is where you'll put your Sheet Name and Sheet ID. - Reload with
!reload mesh_nodes. - ???
- Profit!
##Github Installation
Now that you've struggled through my terrible directions, make a PR with slightly better ones.
