As of May 31, 2023, we have updated our Code of Conduct.

Questions tagged [bots]

Bots, also known as web-robots, are software applications that run automated tasks over the Internet. Typically, they perform tasks that are both simple and structurally repetitive, at a much higher rate than would be possible for a human alone. Notable examples are spiders, crawlers, scrapers, spam-bots and game-bots.

Filter by
Sorted by
Tagged with
0 votes
1 answer
18 views

Discord Bot Interaction with PHP

I'm playing around with creating a Bot for Discord in PHP. Placing the verification URL in the Bot everything works, also created a command and when calling the command in Discord I get request in the ...
Pedro's user avatar
  • 19
-1 votes
0 answers
23 views

How do I add a check for a subscription to a channel so that the user cannot drop the URL without a subscription?

wrong code for checking the subscription @dp.message_hendler(Command('start')), I tried different methods, but for some reason it doesn't work, or an error in aiogram, since I use 3.0 Maybe you can ...
Mr Lucifer's user avatar
-2 votes
0 answers
8 views

JS Discord bot not responding to !join command [duplicate]

my .js discord bot is not responding to the !join command. I've imported the required packages accordingly and the bot has admin permissions. It's online in my server but doesn't respond to !join or ...
Sandro Littenz's user avatar
0 votes
0 answers
14 views

How to update an Adaptive Card in Teams after an event happened on another platform?

I am trying to make a bot that sends a notification in Teams to a manager when someone ask for an approval from my online software. The manager receives an adaptive card with the possibility to ...
Gwenaëlle Ancel's user avatar
0 votes
0 answers
17 views

How to add the starter message in dialogflow ES before the user start giving inputs

in the DialogFlow ES console we can generate responses based on the user input. I am wondering that how can I add the starter message when the user visit the chat first time like before giving any ...
Abidullah's user avatar
-6 votes
0 answers
50 views

Having problems with a bot [closed]

So, im having a problem with a bot that im making for a college project. It's supposed to be reacting to the command i made and sending an image with some text in a discord text channel. I am a ...
Pedro Menezes's user avatar
-1 votes
2 answers
27 views

How to Check discord member roles

I'm have a problem with a part of my python code , I created a discord bot for showing the balances of a game to users they are 3 type of people I mean 3 different discord role when i use !payment i ...
AliGxor's user avatar
0 votes
0 answers
33 views

Discord.js TypeError: interaction.options is not a function - how to solve it?

const { SlashCommandBuilder } = require('@discordjs/builders'); const { MessageAttachment } = require('discord.js'); const { formatDate } = require('../../events/utils/functions'); module.exports = { ...
Di Mostavay's user avatar
-2 votes
0 answers
21 views

Counting the use of another bot's commands

I am using the disboard site to promote the server, I would like to count the number of bumps of each user so that I can then reward them for their involvement. Is it possible to count the command ...
Kuma's user avatar
  • 1
-1 votes
0 answers
14 views

How can I create a WhatsApp bot to schedule contact blocking and unblocking, while storing and deleting messages? [closed]

I'm looking to develop a WhatsApp bot that has the ability to schedule contact blocking for a specific period and then automatically unblock the contact. Additionally, I want the bot to store all the ...
Anuj Tomar's user avatar
-1 votes
1 answer
17 views

Import "telegram" could not be resolved and Import "telegram.ext" could not be resolved

I get errors when I run this import logging from telegram import Update, ParseMode from telegram.ext import Updater, CommandHandler, MessageHandler, filters and I already did the pip install python-...
kris's user avatar
  • 1
1 vote
0 answers
23 views

Discord GOLang bot can't start direct message with myself

Background: Trying to learn how to use GOLang and wanted to create a discord birthday bot as a basic project. I've been following this tutorial on youtube to setup my bot so far. https://www.youtube....
NoviceCoder's user avatar
1 vote
0 answers
44 views

Problem with video optimization while viewing in Telegram with iPhone ( Python Bot)

I wrote a bot in Python that uses a local API server to send videos larger than 50 MB. The problem is that some videos are being compressed in size. What could be the issue? The script is provided ...
Mr Lucifer's user avatar
-1 votes
1 answer
22 views

How can I make my Discord.py bot write all the members in a server to a TXT file?

So... I've been working on a Discord bot for hours that should simply list all members of a server along with the role that comes after the "Division" role in a TXT file. The bot does ...
Just Wait's user avatar
0 votes
1 answer
18 views

Discord Bot not responding to / command

I coded a small discord bot for our association, but can't seem to get the /clear command to work. I coded the command, so that you would type /clear and then a number after that. It works fine when ...
CreepySkyYT's user avatar
0 votes
0 answers
19 views

How to notify the recipient user when activity is updated proactively in MS Teams Bot

I have created an MS Teams bot, which sends proactive messages to the team members. I also update these messages. I am doing this using ConnectorClient. When I send the message user gets a ...
Swapnil Chowkekar's user avatar
0 votes
0 answers
25 views

How do I get this python library to work properly?

Im using a library in python called instapy to create a simple instagram bot. I guess this library has a lot of dependencies. I installed the library and imported it into my script, however, when I ...
maybearobot's user avatar
0 votes
0 answers
20 views

How to add Whatsapp sticker pack without third party app in Android?

I would like to add/import a sticker pack to Whatsapp without the need to use a third party app on android. Generate a sticker pack file and have it interpreted by whatsapp as if it had been imported ...
alepaff's user avatar
  • 63
0 votes
1 answer
16 views

Securing REST API in microservices against Bots/Abuse via mass signups and "carding"

I have a backend (API, microservices) and mobile apps. Mobile apps user same client_id (Oauth2). Now I see many Bots signing up, adding credit card for checking them (carding) I cannot throttle, limit ...
dev's user avatar
  • 1,129
0 votes
0 answers
5 views

Discord unknown application command while delete application command with discord endpoint

I am using js code provide by offical guide to write my bot. I want to remove those test slash command that I created with the end point memtion here:- Delete global command https://discord.com/...
Freshmeat's user avatar
-1 votes
0 answers
11 views

Troubleshooting PHP Discord bot connectivity with gateway.discord.gg

I have such a problem that my gateway.discord.gg is not processed. I mean, it just doesn't work for me. I don't know what to do now, why is that. I'm building a discord bot in PHP. Below is everything ...
iknom's user avatar
  • 1
0 votes
1 answer
39 views

TypeError: client.player.createQueue is not a function - How to fix this error in Discord.js bots? Discord.js/v.14

I have a problem generating my music bot for discord, as it is displaying the following error when running the bot. (Discord.js/v.14) Line(50): const queue = await client.player.createQueue(...
Neonz.dev's user avatar
-2 votes
0 answers
14 views

Scraping captcha protected website with headless browser

We try to scrape a website protected with Akamai and ReCaptcha. Antibot test results for https://www.xxxx.com/ ⚠️ Akamai detected: ⚠️ reCAPTCHA detected: https://www.google.com/recaptcha/api.js?render=...
Igor Savinkin's user avatar
-2 votes
1 answer
29 views

getting this error in discord .js bot idk why and how to solve this and i dont know in which file this error is occuring

man i dont know how to solve this when i run my bot terminal throw this error and i am getting it for 4 days sometimes it works and sometimes it does not i dont know in which file this error is ...
dishu's user avatar
  • 5
0 votes
1 answer
15 views

Why is a discord bot using discord-jda and Java ignoring a request to update voice channel permissions?

I must set denied the right to connect to a voice channel for two users selected in the EntitySelectMenu. For this, I am trying to use this code: In EntitySelectInteraction: for (int i = 0; i < 2; ...
Николай's user avatar
0 votes
0 answers
18 views

I'm trying to create a Slackbot (which responds when I press a button) using Google spreadsheet, but I'm getting an error

I'm going to use Google spreadsheets to make slacks I'm going to make a bot to check for approval. But there's an error.. I want to solve it, but... I don't know what the hell is wrong. Seeing that it ...
인사탱's user avatar
-1 votes
0 answers
23 views

Why is my Discord bot unable to read messages properly? [duplicate]

Discord bot cant read messages properly Im creating a discord gender verification system bot, but it seems but is unable to read the messages properly https://i.stack.imgur.com/ZE9zq.png) (https://i....
Gadget Grotto's user avatar
0 votes
1 answer
23 views

Python Telegram Bot – How to pass in decorated callback functions to BaseHandlers?

I am having trouble trying to pass in a decorated callback function to any derivatives of BaseHandler. I simplified the code below: def sample_func(update: Update, context: ContextTypes.DEFAULT_TYPE): ...
Damie-Umbra's user avatar
0 votes
0 answers
20 views

Need to implement the customer support/Helpdesk funtionality in Micrsoft Bot Framework Any suggestions? [closed]

Need to implement the customer support/Helpdesk functionality in Microsoft Bot Framework Any suggestions? Can someone direct me on how to achieve this? Basically, I want when a customer clicks on the ...
Bipin Bhandari's user avatar
-1 votes
2 answers
27 views

Basic Discord Self-Bot Throwing 'Intents' Error On Script Run

Attempting to follow an "updated" version of a Self-Bot tutorial for Discord. I have (I believe) everything setup to make said self-bot. I have some very basic Python experience, but ...
Alpha's user avatar
  • 1
-1 votes
0 answers
17 views

monitor a website for color changes using python | code problem

An error occurred: name 'color' is not defined hi. I have a problem with this code... can anyone tell me what's wrong, please? I need a Python bot that checks a website for colors change and sends a ...
9t3o5st's user avatar
0 votes
0 answers
40 views

How can I log members who joined a server using a bot's invite link in Python's discord.py?

I would like to ask how can I log when someone use bot's invite link to join server. For some reason it log all joins, can you help me please? @bot.event async def on_member_join(member): invite = ...
7hepeter's user avatar
1 vote
1 answer
27 views

How do I trigger an event listener in Java Discord-JDA specifically for MEMBER_VOICE_KICK action?

I have this event that has these problems. It gets triggered whenever a new audit log gets created. If a user enters voice-chat it gets triggered too this the event listener @Override public ...
Fahad Almarri's user avatar
0 votes
0 answers
29 views

Python Telegram bot doesn't respond to case-insensitive commands - any suggestions?

How to make my Telegram bot understand the case insensitive characters? Bot responds to lowercase handler messages, however it doesn't respond anything to a case insensitive command. I do not see any ...
vin's user avatar
  • 1
-2 votes
0 answers
108 views

Unable to extract uploader id

Code: `import discord from discord.ext import commands import youtube_dl Create a bot instance bot = commands.Bot(command_prefix='!', intents=discord.Intents.all()) @bot.command() async def play(ctx, ...
betonomochalka's user avatar
-1 votes
1 answer
24 views

Difference between commands.Bot and interactions.Client

I've been writing a discord bot for a week now and tried claiming Discord Active Developer Badge today. I was surprised, because I couldn't claim it - I checked requirements and my bot needed to ...
Andrew's user avatar
  • 31
0 votes
0 answers
26 views

Error in syntax of fields while exporting data from Botify

I am trying to pull website crawl data from Botify by using Python leveraging the Botify Query Language. Now, to retrieve the crawled values from Botify, the following JSON needs to be sent to Botify ...
marie20's user avatar
  • 651
0 votes
0 answers
24 views

How to fix ENOTFOUND error when running Mineflayer Minecraft bot in Python?

Minecraft bot mineflayer not working python ` from javascript import require, Once, once mineflayer = require("mineflayer") random_number = id([]) % 1000 BOT_USERNAME = f'colab_{...
TrueTruffle's user avatar
0 votes
0 answers
17 views

Message Handler using Python Telegram Bot Not Changing State

I'm trying to ask to the user to insert his name using MessageHandler but it doesn't change the state. The bot doesn't enter in name method. class Pos(Enum): NAME = 0 async def chat(update, ...
AnDré's user avatar
  • 1
0 votes
0 answers
15 views

Discord.js v14 don't send image

i have this code that retrieves information from mongoose (MongoDB) and sends a welcome message to a person when they join a Discord server. const { Events, AttachmentBuilder } = require("...
Last GAMER's user avatar
-2 votes
1 answer
30 views

How can I prevent my Discord bot from telling the same joke twice?

I want to make a discordbot that can tell jokes. However I dont want it to accidently say two jokes in a row. My plan is to make two lists with jokes, one that is full of jokes that are not "used&...
Sandman1X's user avatar
0 votes
1 answer
24 views

Why does my Python 3.x discord.py bot's purge command work in my test server but not in other servers?

I have been making a discord bot using discord.py v2.2.3 & Python v3.11.3 and I recently made a purge command. Once loaded in my test server everything worked fine, now when I try it in my other ...
Frank Austin's user avatar
-1 votes
0 answers
23 views

javascript discord bot not working correctly

we have a discord javascript bot, which is not working properly. the bot should distribute coins to the users on a weekly basis, but sometimes it's not distributing. here is the code of the weekly ...
geldmagier's user avatar
0 votes
0 answers
10 views

What is my telegram bot shutdown in night time?

I start my bot telegram weather bot (41 lines code) in 23.05.23 but day (24.05.23) my bot dosent working! Bot is shut down! This is restart server? but i open console for dleate other console (Other ...
Egor Lukichev Python Developer's user avatar
0 votes
0 answers
22 views

is there a way to stop or finish the awaiting

it keeps on awaiting for a username or link in every message I send. @dp.message_handler(commands="posts") async def cmd_stat(message: types.Message): await message.answer("Input a ...
Rafael Pereyra's user avatar
0 votes
1 answer
15 views

Why is search not working with "ytsearch:" in lavaplayer, JDA

I am creating a music bot for discord in Java, lavaplayer. I'm trying to find a track by title using "ytsearch:" Any input in /play will return noMatches. At the same time, downloading music ...
Николай's user avatar
0 votes
0 answers
17 views

Quart Asyncio Python MessageQueue for Facebook Messenger Bot

I am developing a Facebook Bot for my brothers mobile auto repair that's supposed to be a live support agent essentially to try to figure out what the issue is before he jumps in. The issue I'm having ...
Zach Handley's user avatar
0 votes
0 answers
16 views

Displaying multiple selectable options in chat using SDK in Botpress

I'm currently working with the 12.28.0 version of Botpress and I'm encountering an issue related to displaying multiple selectable options in the chat interface. I have an API integration where I ...
GD7's user avatar
  • 1
0 votes
1 answer
50 views

How to make a Python bot, that monitors messages in a Teams channel

for a project I want to create a Python bot, that can read messages in a Teams channel. The Teams channel is in an organization and it's important, that there is only a read access for that one ...
Ada's user avatar
  • 1
0 votes
0 answers
17 views

How to get Second last bot response in azure bot node js [closed]

I am building On azure chatbot using node js V4 sdk, I have two Dialogs MainDialog and CQADialog, all userQuery going through mainDialog to CQADialog, then in CQADialog how can i get second last bot ...
santosh 's user avatar

1
2 3 4 5
205