About 110,000 results
Open links in new tab
  1. How do i make a working slash command in discord.py

    Feb 17, 2022 · # This is new in the discord.py 2.0 update # imports import discord import discord.ext # setting up the bot intents = discord.Intents.all() # if you don't want all intents you …

  2. How do I make my discord.py bot play mp3 in voice channel?

    I'm a beginner in Python and I have recently started making a discord bot for some friends and I. The idea is to type !startq and have the bot join the channel, play an mp3 file that is locally …

  3. python - How to change activity of a discord.py bot? - Stack …

    Dec 1, 2019 · You can use the following lines of code, depending on which activity you want to change the bot to: # Setting `Playing ` status await …

  4. python - Discord.py ban command - Stack Overflow

    May 28, 2018 · I'd recommend to use discord.ext.commands to make commands, it's easier to use. The function to ban is discord.Client.ban(member, delete_message_days = 1). This is an …

  5. python - Join voice channel (discord.py) - Stack Overflow

    This is the code i use to make it work. #Bot.py import discord from discord.ext import commands from discord.ext.commands import Bot from discord.voice_client import VoiceClient import …

  6. Python - DM a User Discord Bot - Stack Overflow

    Sep 15, 2018 · I'm working on a User Discord Bot in Python .If the bot owner types !DM @user then the bot will DM the user that was mentioned by the owner. @client.event async def …

  7. How to create a leveling system with discord.py with python?

    May 27, 2020 · import sqlite3 import discord bot = commands.Bot(command_prefix="!") @client.event async def on_member_join(member): ###add a row in the db for the new …

  8. python - Reply to a message discord.py - Stack Overflow

    Dec 14, 2020 · I want to make my bot react to a users message when they type a certain sentence. My code to reply: await ctx.message.reply("I just replied to you") I get the error: …

  9. python - I want to let my Discord Bot send images/gifs - Stack …

    Apr 18, 2021 · with open('my_image.png', 'rb') as f: picture = discord.File(f) await channel.send(file=picture) Passing the file name directly: await …

  10. python - Discord.py make survey form like picture how - Stack …

    May 3, 2022 · I need to make python survey bot discord like in picture and I don't know how. python; discord; discord.py ...

Refresh