What do you want to save?
Add Code snippet
New code examples
-
Python 2021-11-02 20:23:11
how to put in code to download discord py
pip install discord.py==1.3.4 Add solution -
Python 2021-11-02 20:15:16
how to load a all cogs automatically discord.py
from discord.ext import commands class Test_Cog(commands.Cog): def __init__(self, bot): self.bot = bot # defining bot as global var in class @commands.Cog.listener() # this is a decorator for events/listeners async def on_ready(self): ... Add solution -
Python 2021-10-29 03:55:18
discord.py play mp3 file
@bot.command(aliases=['paly', 'queue', 'que']) async def play(ctx): guild = ctx.guild voice_client: discord.VoiceClient = discord.utils.get(bot.voice_clients, guild=guild) audio_source = discord.FFmpegPCMAudio('vuvuzela.mp3') if not voice_... Add solution -
Python 2021-10-28 04:13:16
how to make a discord bot send a message python
import discord from discord.ext import commands client = commands.Bot(command_prefix='!!') # This sets the prefix change if you want TOKEN = 'insert token here' # tutorial at the bottom @client.event def on_ready(): print('Ready. Logged in as: {0.user... Add solution -
Javascript 2021-10-27 10:07:03
discord.js visual studio code music bot
//type npm install discord-misic-system --save //type npm install discord.js --save //type node . //see your music bot is ready :] enjoy I LOVE MY INDIA const MusicBot = require("discord-music-system"); // Require the module const bot = new ... Add solution