how to make a bot in discord

Discord also gives an extensive API that developers can use to build powerful Discord bots. Bots can perform different actions.