A telegram bot for dn42 Network
- Network utils
- Ping
- TCPing
- Traceroute
- Nslookup/dig
- Whois
- Looking glass
- Route
- Path
You can get the latest from the Releases,or build it yourself.
- Before proceeding, please ensure you have the dotnet runtime(9.0 or later) installed
- Upon its first run, dn42bot will generate
config.jsonin the current directory - Fill in your bot API token in
config.json - If needed, you can also set up a proxy in
config.json - Enjoy!
Please ensure you have the dotnet SDK(9.0 or later) installed
Tip: default target framework is dotnet 10.0. If you need to use an older framework version, please modify the .csproj file yourself
Clone the repo
git clone https://github.com/LeZi9916/dn42bot.git
cd dn42botRestore project
dotnet restoreCompile or publish
dotnet build -c Release
dotnet publish -c Release