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.

Bots are made to automate human surfing activity to get commercial advantage. Currently there are three main fields of application for them:

  • Searching: crawling the web, gathering hyperlink structure, parsing and/or storing content found
  • Advertisement: post advertisements on resources which technically allow it - blogs, forums, social networks
  • Games / Gambling / Trading: "gold farming", "e-bay snipers", "auto-bid", etc.

Even though the first category is almost a mainstream, all bots are negatively perceived by society in general. Site owners actively refuse to let unknown bots to use their sites, by all technical and legal means. CAPTCHA is the most famous artifact of this "war".

Bots can be written in any language that allows network interaction, but most often in PHP, Perl or Python. Modern bots are often based on web-testing frameworks, like Selenium or Watir, giving them ability to fully simulate human behavior and work with AJAX sites.

Notice: Bots should not be confused with "zombie-pc", individual units of botnet.

10368 questions
1
vote
1 answer

Is there a way to connect a specific Discord.js client to a voice channel?

I'm trying to make a distributed music-playing bot for a single guild/server. This involves a single bot taking in commands from the server members and assigning "loudspeaker" bots to their channels. I currently have a working Discord.js v14 bot…
1
vote
2 answers

How to make python script run faster?

I have a python script that takes screenshots of some parts of the screen and if the arranged RGB code matches, clicks on the object. It works well on not moving objects. However, when the object moves, it can not click on it due to delay. I do not…
eva-2021
  • 25
  • 4
1
vote
1 answer

How do I add a stop process command to my bot, which ends the on-going command? (discord.js)

I want to add a joke command to my Discord bot, something like bt!donotusethis which will then answer with the command itself, causing an infinite spam chain. Obviously, this needs a command to stop it. I want to add a command such as bt!stop, which…
Evan
  • 15
  • 3
1
vote
1 answer

How to read from a Popup in Puppeteer

I'm trying to receive a notification when a booking website shows that there is a new appointment available in the near future (eg. through a cancellation). The site in question is booksy.com. I have written a Puppeteer script which will navigate to…
Quirkless
  • 55
  • 1
  • 5
1
vote
1 answer

DiscordAPIError[50035]: Invalid Form Body (discord.js v14)

I'm trying to make a ticket system at discord.js v14 (the new version). The config values are correct and I have checked this by console.log them. I have an embed already with custom.id = "open-ticket" and whenever I click the first option it gets…
Red.1111
  • 25
  • 5
1
vote
1 answer

How to invoke a discord bot command via rest api?

I want to invoke the discord bot command with an HTTP API call. Sample command: /command parameter How can I do this? I sent a message via discord API into chat but the bot can’t recognise it as a command. It was posted as regular text. CURL Example…
givik
  • 23
  • 6
1
vote
1 answer

Discord.js v14 - DiscordAPIError[40060]: Interaction has already been acknowledged

I'm trying to implement a ticket system on my discord bot, I don't understand why when I go to click on the ticket opening emoji I get the following: this is my code in discord.js v14. his stored in: ../Clippy/events/buttonResponse.js const {…
Darla
  • 35
  • 5
1
vote
2 answers

Telegram bot that can play in emulator (BizHawk)

I'm trying to make a bot that can read all messages sent in a group, and play the game. Something close to Twitch Plays Pokemon but for every game. Right now I have this code, the bot works fine in Telegram but once it get the window focused and…
1
vote
1 answer

my discord bot only reacts on direct messages but not on my server's channel

I made a discord bot based on Python. However, it only responds through direct message, and it does not respond on the channel. I also gave the bot permission to write messages and write threads on the channel, but it doesn't respond. I'd appreciate…
1
vote
1 answer

Do Blocked Google Analytics tracking count as bounces?

I am seeing a higher number of Linux users come into my site, with a high bounce rate. Read that 82% of Linux users block Google Analytics tracking. Trying to figure out if "blocking" is causing these the register as bounces, or are these possible…
JohnB
  • 11
  • 1
1
vote
0 answers

After redirecting in telegram bot nothing happened, why?

`Hello everyone! I want to create telegram bot , with python, where user click on "Follow" button and then redirecting to other telegram channel or group, but after redirecting nothing happened here is my code def start(update, context): …
1
vote
1 answer

AttributeError: 'coroutine' object has no attribute 'on'

Good afternoon, I'm experimenting with the telethon library and immediately came across an error. Why is this happening? from telethon import TelegramClient,…
Ivan Z
  • 11
  • 1
1
vote
1 answer

Discord.js v14 Creating a voice channel throws error: Invalid Form Body name[BASE_TYPE_REQUIRED]: This field is required

I'm writing some code for creating temporary voice channels. Every time a user joins a specific voice channel, the bot should create a new one where that user will be moved and so on up to "n". When all users leave the channel, that temporary…
Darla
  • 35
  • 5
1
vote
1 answer

(discord.js) Bot doesnt reply in discord

I have an issue with this: I run the script quite smoothly in the command prompt, but when I type "hello" in the discord server, no replies are coming back. Do you have any idea? The permission rights are in order for the bot and are as well online.…
lelocchio
  • 13
  • 3
1
vote
0 answers

How to solve the InstaPy erorr while execute quickstart.py?

Help me please, i'm trying to make an instagram bot using a vps (ubuntu), and this error occur when i execute the quickstart.py: error message i cover the username. also this is my quickstart file: quickstart file I tried to update,upgrade the…
1 2 3
99
100