Category "bots"

Why does my Discord bot keep repeating when it runs this command?

This is the code used, there is nothing (I think) that's causing it to repeat, matter of fact I added something so it stops repeating but it didn't do anything

automatically remove items of a list every few second in redis

I'm trying to see how many users used my bot in the last 5 minute. I've got an idea to every time a user used my bot I add his/hers id into a redis list with a

Bot to extract files from sharepoint

I want to know if I can create a bot that extracts files present in my Share point folder in teams. I have tried finding an online code on similar lines, but be

Is an Apple OS airdrop bot possible?

Is it possible to create an Airdrop bot that sends a picture automatically to nearby Apple devices? Like I choose the picture, turn on the bot, and go to a publ

Discord bot stopped working through Heroku, works fine offline

Solved! Answer below. EDIT: Cleaned up this post to keep it all clear. Here's the code for a simple GIF bot. The important thing is: this bot works offline, giv

Discord.py bot doesn't respond to commands but does on mentions

I have a problem with my discord.py bot. Here's a part of the code: import os, discord from discord.ext import commands from flask import Flask from threading i

TeleBot, How to make bot auto reply message after 10mins

TeleBot, how to set it schedule send after user send message to our bot, i want it auto reply to user after 10mins

Telethon (bot), how to work with commands, buttons and anwers

I want to implement something like BotFather. It sends buttons and you select your option, and if the option need a answer you must answer with the correct answ

How do I avoid using global variables when writing a Telegram bot

I'm writing a Telegram bot on Python using the python-telegram-bot library. The bot's function is to look up POIs around a given location. I have a Conversation

How to rethink the architecture of my Python project containing multiple async interfaces

I'm developping a Twitch Bot for approximatively a year now. Over the time, the bot became bigger and bigger to add features. Now the bot can manage multiple in

infinite laught Lulu (infinite press: ctrl+3 while i play)

Is it possible to create a program that press infinite ctrl+3, together with me pressing other keys? I play lol and i like to laught (press ctrl+3) while i play

Telegram bot: List of telegram bot commands

I can not find how to get a list of commands from a telegram bot. Neither via api nor via external binding. Is it even possible? For example. I created a list o

How to detect message content Discord.js?

I am working on a code for a Discord bot for my server, and I'm currently stumped on a magic 8 ball feature, go figure. I'm trying to get it to check if there i

Displaying Cooldown In Seconds in On_Message in Discord.py

EDIT: I solved it, I just simply looped the asyncio.sleep and set a variable for the cooldown in seconds. :) I'm new to discord.py and I just started developing

Freqtrade Python Sell Sign

I am trying to create a sales order using the Freqtrade bot when: The current price hits the entry price + ATR. I don't know how I can retrieve the entry price

Make Hikari discord bot only listen to one channel

I just mada a discord bot with hikari that for now listens to a whole server, and if someone types $shares https://tiktok.com/@xxx/2938923 It runs a script, th

DiscordPy Bot abnormally long shutdown times

So here's the crux of the problem. I'm using the Discord Py API (1.7.3). I have 2 bots I run that use it, Red Bot and the one I made myself. I've come to notice

Use Excel File in C# Microsoft botframework SDK

How can I read local excel data on my C# bot using bot framework SDK. I can't find any documentation for it. Can anyone help?

Discord.Js Bot to create invites for users

I need to figure out how to create an invite link for users so that they can track invites. Currently I have this, however this created the invite for the Bot.

Discord.Py ffmpeg was not found

@commands.command() async def play(self, ctx, url): ctx.voice_client.stop() FFMPEG_OPTIONS = {'before_options': 'reconnect 1 -reconnect_str