This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Hello I am NixonXC I am the owner of EPIK MEMER today EPIK is going to shut down... because several reasons and we will work on a better bot for you all | |
another reason it is shutting down is slash command & stuff and much more next day will be epik's last day. I will be making epk's latest patch open source | |
on gtihub for any other devs to keep it continue or take inspiration. | |
I cant belive how far we have came to this journey but its time to end it... | |
NixonXC. |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
@bot.command() | |
async def embed(ctx): | |
embed=discord.Embed(title="Sample Embed", url="https://nixonxc.github.io/PyCord-Guide/", description="This is an embed that will show how to build an embed and the different components", color=0xFF5733) | |
await ctx.send(embed=embed) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
import discord | |
bot = discord.Bot() | |
@bot.slash_command() | |
async def ping(ctx): | |
"""Check My Ping""" | |
await ctx.send(f"Pong! `{round(bot.latency * 1000)}ms`") | |
@bot.slash_command() |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
import discord | |
from discord.ext import commands | |
bot = commands.Bot(command_prefix='!', case_insensitive=True) | |
@bot.event | |
async def on_ready(): | |
print(f"{client.user} is ALIVE!!") | |
@bot.command() |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
@client.event | |
async def on_ready(): | |
print(f'Bot connected as {client.user}') |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
import discord # importing discord | |
from discord.ext import commands | |
client = commands.Bot(command_prefix='!') # You can choose your own prefix here | |
@client.event | |
async def on_ready(): | |
print(f"Bot online and logged in as {client.user}") | |
# A simple command |