10,317 questions
Best practices
3
votes
0
replies
45
views
How can i make my telegram bot get into Groups
I'm building a Telegram bot using python-telegram-bot (v20+) that needs to:
Join or be added to multiple Telegram groups focused on cybersecurity (threat intel, hacking tutorials, CVE discussions, ...
Best practices
1
vote
4
replies
140
views
Is this a reliable way to prevent bots from scraping emails?
Is this a reliable way to prevent bots from scraping emails and sending spam, without having to resort to janky methods like images/actual text splitting?
<p id="at" data-domain="...
Advice
0
votes
1
replies
137
views
Discord bot embed customization
I wanted to make a custom command that sent an embed with a message that the user writes (I was using $N for that), but I also wanted the users to be able to customize the embed color in their message....
2
votes
1
answer
96
views
Contact Form additional params [duplicate]
Is there an easy way (e.g. set an additional parameter) to filter out specific email addresses in a contact php file? I keep getting nuisance emails from the same email addresses via the contact form ...
1
vote
2
answers
196
views
Subject: Error 7505 "Request authorization tenant mismatch" when bot joins Teams meeting via Communications API
I'm trying to use Microsoft Graph Communications API to have a bot join Teams meetings by posting to /communications/calls endpoint. I consistently receive
Error 7505: "Request authorization ...
-2
votes
1
answer
132
views
on_member_join & on_member_remove event triggers are not working or showing errors
Everything else works, escept the member join and member leave event functions don't trigger at all once i have member join/leave. I have all intents turned on in my developer portal and i have the ...
0
votes
0
answers
120
views
Azure Bot with single tenant issue- AADSTS700016
Since Azure Bot has deprecated multi-tenant support, we have started updating the configuration and code to work with MS Teams app and Azure Bot in a single-tenant setup. However, whenever we send a ...
1
vote
0
answers
85
views
Aiogram: why does @router.message(F.successful_payment) not fire after Telegram test payment?
I’m testing Telegram Payments in a bot built with Aiogram 3.x.
Environment: Python 3.11, Aiogram 3.4, provider = Smart Glocal TEST token from BotFather.
The invoice shows and the test payment ...
0
votes
0
answers
106
views
how do i complete the Checkout bot at the payment process that uses tokens? (using python requests)
I'm working on a Python bot that monitors a Shopify webshop, adds a product to the cart, and tries to continue to checkout. I'm using requests.Session() and BeautifulSoup to handle the stock check, ...
0
votes
1
answer
116
views
Bot translator in discord
I was trying to create a bot in discord that would perform the function of double translation in voice channels, this code is written through the deepseek neural network. I ran into such a problem ...
0
votes
0
answers
105
views
Puppeteer scraper - bot detection
I have a scraper running on Puppeteer and Node.js. When I change the headless mode from false to true, the bot gets detected. I would like it to work with false since the deployment will be on Railway....
0
votes
0
answers
50
views
Out of range error (tuple) slash commands Discum
cannot manage to fix out the code below which triggers me an tuple at line 22 which is the SlashCommander part. Even tried to look it up on slash.py to no avail.
If anyone has any idea. I tried many ...
0
votes
0
answers
23
views
Authentication resembling Jira Cloud
I want to add authentication to the app I created in MS Teams. I am trying to create something resembling Jira Cloud. But I am kind of clueless when it comes to the type of authentication I am ...
0
votes
1
answer
597
views
My discord bot sending 'Unknown Integration' error when trying to add Discord channel information to my database?
I am working on my Discord bot, which should take channel information and store it in the database after applying its / (slash) commands. I set up the prefix / though! Also in Discord, I find this ...
1
vote
0
answers
128
views
How to set up app-ads.txt in Cloudflare waf
I have 11 android apps that are getting minimal ad revenue through the Cloudflare waf.
What settings are conducive to getting maximal ad revenue through Cloudflare. My apps
are published with the ...
1
vote
1
answer
179
views
Discord notification content empty with components V2
When using new messages components (IS_COMPONENTS_V2), Discord sends an empty (mobile) notification for such messages.
It is not mentioned anywhere in the docs
https://discord.com/developers/docs/...
1
vote
0
answers
529
views
Problem with receiving business connection id in aiogram bot
There was a problem, I am making a business bot on aiogram, but I can not understand how to implement a connection check, I saw the following system in one bot, the bot asks to add itself as a chat ...
0
votes
0
answers
36
views
Add customer id or custom field to ClickPatrol from protection
We’re using ClickPatrol’s form protection.
To integrate it with HubSpot, we need to modify the main HubSpot JavaScript. Normally, this allows us to add custom inputs such as prefilled email addresses, ...
0
votes
2
answers
74
views
Check if user input is in a list
I am trying to make a discord bot featuring diagnoses for mild illnesses.
I want the bot to send a message prompting the user to send symptoms and see if any match a list of symptoms for a specific ...
1
vote
1
answer
167
views
Slash command not responding and error when I use defer() or response.send_message (python)
I’m working on a Discord bot using Python & discord.py and facing an issue with defer() and send_message() in my slash commands. Every time I use a command, it returns "The application did ...
0
votes
0
answers
38
views
Selenium doesn't detect specific item when not being active in the tab in the browser but works if I am active
I am trying to scrape from a very specific site that has two things that doesn't work as expected:
reject the cookie banner using reject button
enter a specific section to get a view about the ...
0
votes
1
answer
24
views
GitHub prevent gh.pages[bot] modification of my gh-pages branch
How to prevent my deployed gh-pages to modify by github-pages[bot] ?
0
votes
1
answer
270
views
TikTok Automated Upload bot wont publish Videos
ikTok Upload Bot Automation Failing at Final Step?
I’m currently developing an automated upload bot for TikTok Studio (https://www.tiktok.com/tiktokstudio/upload) using Selenium, to upload multiple ...
0
votes
2
answers
375
views
Why does the "ready" event on, but the bot isnt working
This code isnt working, its the correct token, but it doesnt work, Why?
console.log("Beep! Beep!🤖Bot Pending!")
const Discord = require("discord.js")
const client = new Discord....
0
votes
0
answers
54
views
Replicate mouse movement in a 3D FPS game using Python?
I'm trying make a neural network based AI for Jedi Academy via behavioral cloning (learning to imitate pros). For the behavioral cloning to be faithful it is crucial for one to be able to reproduce ...
-4
votes
2
answers
91
views
Discord.py, commands.error: "roll" not found
I just started studying Python this week and I don't understand what I'm doing wrong. My discord bot is online, but every time I try to type a command in Discord it pings back to VS Code as
"...
-1
votes
1
answer
120
views
How to make Telebot respond "I don't understand" when user sends unknown text? [duplicate]
I’m making a Telegram bot using Python and the telebot (pyTelegramBotAPI) library.
I created a basic telegram bot for practice, and I want bot to say “Sorry, I don’t understand” when a user sends a ...
0
votes
1
answer
334
views
Discord Music Bot FFMPEG Troubleshooting
I am trying to create a Python Cog for a Discord.py bot on Windows 10 that allows the bot to join a voice channel to play music or funny audio. It is just something for me and my friends to goof off ...
0
votes
1
answer
151
views
Is there a single way to store different media types in Telegram bot?
I'm doing different Telegram bots, that can send media to their users.
For video files I used this code to store video uploaded by admin:
caption = event.message.text or ""
file_id = event....
2
votes
0
answers
41
views
Bot Doesn't Start When Including CRM Router
I'm building a Telegram bot using Aiogram, and I'm encountering a problem where my bot doesn't start when I include the crm_router. However, when I replace it with auto_responder_router, everything ...
2
votes
0
answers
91
views
How can I implement uploading multiple files at once in aiogram?
I need to implement multiple file uploads in one message. I couldn't find how to do it in the official documentation.
For example, I implemented only loading one file at a time and storing them in a ...
0
votes
1
answer
72
views
why did the bot stop reacting to commands? (Discord)
I'm writing a Discord bot using discord.py, but it doesn't respond to commands. The bot starts up successfully, shows up on the network, and commands are loaded, but nothing happens when I type ...
1
vote
0
answers
113
views
How to Create discord bot commands from the server
I'm coding a discord bot in Python and I want to create custom commands on the server that can be created in the server, from what Ive researched, I need to add a dictonary for the values to be put ...
0
votes
1
answer
49
views
discord.py add_roles command not working its not detecting the existing roles in the server
async def role(ctx, member: discord.Member, *, role_name: str):
if ctx.author.id == ctx.guild.owner_id:
role_name = role_name.strip() # Remove leading and trailing spaces
role = ...
0
votes
1
answer
153
views
Azure Bot Services
I tried creating a Azure Bot Service according to this tutorial, https://learn.microsoft.com/de-de/shows/mvp-azure/build-chatbot-azure-bot-service, is there any way of doing this in 2025. When I ...
0
votes
1
answer
519
views
Avoid instant block by Chrome when using Puppeteer
I'm coding a Puppeteer script, which starts up an instance of Google Chrome for Testing. Even if this browser is not headless, and even if I control it manually without any automation, whenever I try ...
0
votes
1
answer
101
views
Discordjs v14, DiscordAPIError[50035]: type[BASE_TYPE_CHOICES]
I am developing a bot in Replit that makes a category structure. I am using Discordjs v14.18.0.
The problem is when creating a ChannelType.GuildAnnouncement, with value of 5, the error informs me that ...
1
vote
0
answers
116
views
Setting up sentry files for steam bot
I've been trying to figure out how to use this library called steam so I can set up a dota 2 bot with the dota2 library in python so it can create and be in multiple games. That, aside from requiring ...
0
votes
1
answer
48
views
When should I use 'b' (bytes) prefix defining Callback data in Telethon?
I saw the next code:
markup = [
[Button.inline("Restart the test", b'restart')],
[Button.inline("Continue", b'continue')]
]
@client.on(events.CallbackQuery(data=b'restart'))
......
0
votes
1
answer
51
views
Discord: embed - auto reset to inital embed
I am currently looking for a way to auto reset the embed in a Discord python bot. This is my code. It works fine the very first time a user clicks on a category. The second time it won't refresh ...
1
vote
1
answer
178
views
How to capture the updated (or new) message after clicking an inline button in Telethon?
I’m trying to automate a Telegram workflow using Telethon in Python. I interact with a third-party Telegram bot as a normal user account. The bot has inline buttons labeled “⬅”, “1/7”, “➡” to navigate ...
0
votes
1
answer
96
views
Azure Bot deployment using teams toolkit
Need some help regarding bot deployment
Steps We Have Done -
Downloaded zip of code from Azure Open AI Service.
After deployment of the downloaded zip to Azure.
Azure Bot service is created ...
1
vote
1
answer
168
views
"AxiosError: Request failed with status code 400" on Market Order Request
I'm working on a trading bot that connects to Binance Testnet using WebSockets to get ticker updates and Axios to place market orders. However, I'm encountering the following error when trying to ...
-1
votes
1
answer
340
views
Automatic message to Telegram new subscribers of public channel
I would like to automatically send a "welcome" message to each new subscriber of my public telegram channel, AND a notification message to the channel owner for each new subscription.
Trying ...
0
votes
0
answers
71
views
"None" return in a buy order in MT5 via Python
I'm trying to put a buy order but the result is "none".
If I try to put the same order (same lot, SL,TP) directly in MT5 it goes well.
Below the abstract code.
I set "algo trading" ...
-2
votes
2
answers
258
views
Discord bot PY interactions
I have a problem with interactions of my discord bot in python, manually in server settings -> integrations -> (my bot) -> interaction I am able to determine what role can see this ...
0
votes
1
answer
71
views
discord bot discord.py seems don't working
I'm trying to create a Discord bot using discord.py. Here is the code:
import discord
from discord.ext import commands
intents = discord.Intents.all()
intents.message_content = True
bot = commands....
-1
votes
1
answer
191
views
How to deploy TG-bot to PythonAnywhere?
When i'm trying to run the bot uploaded to home/%User_name%/ at PythonAnywhere it crashes with:
File "/home/%User_name%/%Project_name%/./handlers/command_handlers.py",
line 103, in ...
1
vote
1
answer
651
views
Bitget Trading Bot, Futures Order doesnt work
I just worked out a trading strategy and am now on coding a bot to execute the trades easier.
I am working on the futures order module right now, and I always get the same error, no matter what I do. (...
0
votes
1
answer
125
views
I continue to get errors regarding ParseMode when trying to start my telegram bot
This is the error I get every time I try to start the bot.
(venv) C:\Users\Due Bighelloni\Desktop\bingo bot>python versolarmoniabingobot.py Traceback (most recent call last):
File "C:\Users\...