Need help with building a discord bot.

Hello there.
I'm looking forward to build a discord bot for my clan. Well, just to pull some clan statistics. There are many bots that do, but I want to do this on my own.
What resources should I be looking at and if there is a possible tutorial that I should be looking into. Please suggest.

The API is easy to use, it's the logic that's tricky. Is the bot gonna be private or public? How are you gonna store clans? What database are you gonna use? What interval are you gonna use for creating your HTTP requests?

If you wanted to announce this, it was better to make your own post. But it would also help if you said more about it. Even looking on your discord it doesn't really say anything about the bot. So if you're making it available for other people you should say that, and how they can obtain it, and what it does.