Search military and civil callsigns.
WIP/Concept
The Callsign Discord Bot is a Python-based bot that interacts with users on a Discord server to fetch and display information from an Excel spreadsheet. The bot responds to the !callsign
command, searches the provided Excel file for the specified keyword, and returns the relevant data in a formatted response.
- Responds to the
!callsign
command. - Searches for exact and non-exact matches in the specified columns of the Excel file.
- Returns formatted results with bold titles and country flags.
- Handles multiple exact matches by displaying only one result.
- Displays multiple non-exact matches if no exact duplicates are found.
- Python 3.x
- Discord bot token
- Required Python libraries:
discord.py
,pandas
,openpyxl
- Go to the Discord Developer Portal.
- Click on "New Application" and give it a name.
- Under the "Bot" tab, click "Add Bot" to create a bot user.
- Copy the bot token. You will need this to run the bot.
git clone https://github.com/yourusername/callsign-discord-bot.git cd callsign-discord-bot
In terminal/command prompt, go to the folder where you've cloned the repo and run:
python callsign.py
You should be up and running!