What do you want to save?
Add Code snippet
New code examples
-
Python 2022-03-13 01:20:11
how to make a discord bot in python
import discord from discord.ext import commands bot = commands.Bot(command_prefix="!", description="The description") @bot.event async def on_ready(): print("Ready !") @bot.command() async def ping(ctx): await ctx... Add solution -
Other 2022-03-11 16:40:03
DiscordUtils
import discord from discord.ext import commands import DiscordUtils intents = discord.intents.default() intents.members = True bot = commands.AutoShardedBot(command_prefix=">", intents=intents) tracker = DiscordUtils.InviteTracker(bot) @bot... Add solution -
Python 2022-03-05 11:20:20
how to make a discord bot python
import discord from discord.ext import commands bot = commands.Bot(command_prefix="!", description="The description") @bot.event async def on_ready(): print("Ready !") @bot.command() async def ping(ctx): await ctx... Add solution -
Python 2022-02-25 04:10:04
Discord Announcement bot python
import time from discord_webhook import DiscordWebhook from discord_webhook import DiscordEmbed InfoUser = input("What Should Be The Text in Your 1st Line: ") InfoPass = input("What Should Be The Text in Your 2st Line:: ") webhook = D... 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-01-30 23:22:56
what are discord bots
#go to -- https://python.org #Download and install python #go to CMD and install -- pip install discord import discord from discord.ext import commands Token_1 = input("put your bot token here :") Prefix_1 = input("put the prefix for your... Add solution -
Python 2022-01-22 18:36:24
discord.py send message every x minute
import discord from discord.ext import tasks # Change this to whatever seconds you want it to be # Or delete this line and change the x value into a number on the @tasks.loop param. x = 5 @tasks.loop(minutes=x) async def send(): """S... Add solution -
Other 2021-11-16 08:59:14
slash commands dpy
import discord from discord.ext import commands from discord_slash import SlashCommand, SlashContext bot = commands.Bot(command_prefix="!", intents=discord.Intents.all()) slash = SlashCommand(bot) @slash.slash(name="test") async def ... 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