hey guys I have a bot where I want the buttons to be persistent and I want to check when the button is clicked do something,
but with @bot.event async def on_interaction(interaction): if interaction.custom_id == "feedback": print ("do something")
it seems like its taking on every interaction that means the slash commands to ,
How Do I pass and let the normal command work
async def menu(ctx):
view = MyView()
embed=discord.Embed(title="Welcome", description="This is the menu for Contentmatch", color=0xff0000)
embed.set_author(name="ContentMatch")
embed.add_field(name="/menu", value="For A Menu Of Items", inline=False)
embed.add_field(name="/account", value="Get Account Info ", inline=True)
embed.add_field(name="/post", value="To Post Content", inline=True)
embed.add_field(name="/watch", value="Get A Random Video Sent To You", inline=True)
await ctx.send(embed=embed,view=view)```
