Skip to content

Instantly share code, notes, and snippets.

View NixonXC's full-sized avatar
💭
I got black I got white whatchu want?

Dev-Atharv NixonXC

💭
I got black I got white whatchu want?
View GitHub Profile
@NixonXC
NixonXC / gist:0d722ec9a6966fd81a8bf98cc29ef27a
Created September 20, 2021 15:22
EPIK MEMER shutting down
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.
@NixonXC
NixonXC / embds.py
Last active September 18, 2021 10:03
embed pycord
@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)
@NixonXC
NixonXC / slash.py
Last active September 18, 2021 09:56
slash commands
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()
@NixonXC
NixonXC / ex1.py
Last active September 18, 2021 09:10
Importing discord
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()
@NixonXC
NixonXC / ex2.py
Created September 13, 2021 11:33
ex2
@client.event
async def on_ready():
print(f'Bot connected as {client.user}')
@NixonXC
NixonXC / example.py
Last active September 13, 2021 11:29
Example of a simple Bot made with PyCord
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