What do you want to save?
Add Code snippet
New code examples
-
-
Python 2022-02-28 00:20:03
how to make a latency command discord.py
@client.command() async def ping(ctx): before = time.monotonic() message = await ctx.send("Pong!") ping = (time.monotonic() - before) * 1000 await message.edit(content=f"Pong! `{int(ping)}ms`") #for discord.py... Add solution -
Shell/Bash 2022-02-11 16:55:02
discord.py bot github
#Discord.py bot github import discord from discord.ext import commands import datetime from urllib import parse, request import re bot = commands.Bot(command_prefix='>', description="This is a Helper Bot") @bot.command() async def ping(ct... Add solution -
Python 2022-02-02 09:51:33
hpw tp install discord.py
py -3 -m pip install -U discord.py Add solution -
Python 2022-01-31 22:11:21
python projects
# I understand that this isn't Grepper's primary use but here are some # fun little projects that I've found (self taught) to be really fun and # educational! def beginner(): # Beginner Projects beginner_proj =""" Everyone has to... Add solution -
Python 2021-11-09 19:36:17
discord.py basic command
#If you havent already install discord.py using pip install discord.py #Then import discord #Then Import commands import discord from discord.ext import commands #Create your bot instinct #With the bot Prefix set to ! #You can change it to your choice cli... Add solution