EpikCord Guide

Welcome to the EpikCord Guide!

This guide will help you get started using EpikCord.py as there is no documentation right now.

If you have any questions, feel free to contact us on Discord here!

TL;DR, the most basic bot uses the following code:

from EpikCord import Client, Intents # Import what we will need client = Client("TOKEN", Intents().all) # Create a Client instance, where token is the token for your Discord Bot, and lazily use all intents @client.event # The decorator that registers event handlers. async def message_create(message): # EpikCord will pass in a parameter with type Message which represents the message sent if message.content == "!hello": # If the message is !hello await message.channel.send(content="Hello!") # Say hello back otherwise that's rude. client.login() # Make the client login to Discord.

For Slash Commands, you can use

from EpikCord import Client, Intents # Again, what we need. client = Client("TOKEN", Intents().all) # Create a Client instance, where token is the token for your Discord Bot, and lazily use all intents @client.command( name = "ping", # Name the command "ping" and make discord render the command name as "ping" description = "Sometimes reply with 'Pong!'" # Make description for the command for users to read for help ) async def ping(interaction): # EpikCord will pass in a parameter which the type can be ApplicationCommandInteraction, MessageComponentInteraction, AutoCompleteInteraction or ModalInteraction await interaction.reply(content = "Pong!") # Reply to the interaction. All interactions must be acknowledged somehow. Reply is one of them. client.login() # Login to Discord