HamTheMan (htm) is a Discord bot for various ham radio related things, including callsign lookups (globally with HamQTH), solar conditions, time, and a morse code translator.
- Python: Python 3.10 or higher
- Discord:
pip3 install discord.pyORpip3 install -U discord.pyORpython3 -m "pip" install discord.py - Requests:
pip3 install requests - ISS pass info:
pip3 install pytz maidenhead TimezoneFinder
- Go to https://discordapp.com/developers/applications/
- Create a new application
- Note the client secret. You will need it later :)
- Go to https://hamqth.com
- Create an account
- Copy and rename
config_default.jsontoconfig.jsonand fill in the information insidediscord key: the client secret for your Discord botowner id: Your Discord ID (a long number you can find by right-clicking your name in a server and selecting the option "Copy ID")accent color: The hex code (as a string) used for the embed accents. You can leave this alone for blue.hamqthusernameYour callsignpasswordYour HamQTH password
n2yoYour API key from N2YO.comoofs: No need to touch this.
- Run
python3 hamtheman.py &in a terminal (cmd, powershell, bash, whatever your OS has) - Note: The
&runs it in the background so you can close the terminal.