I am trying to do a repeat command with this code:
import discord
from discord.ext import commands
bot = discord.Client()
client = commands.Bot(command_prefix='V!')
@client.command(name='repeat')
async def _repeat(ctx, arg):
await ctx.send(arg)
bot.run('TOKEN')
but when sending a message with a command, the bot doesnt respond neither with the wanted message, nor an error that would imply something is not right. i am also very new to programming so it may be something dumb that i do not know. Any help is appreciated.
question from:https://stackoverflow.com/questions/65892988/having-problem-with-message-sending-command