Category "bots"

discord bot on_guild_role_update, problem with permissions

I tryed to make logs with admin`s activity how to specify the permission instead of these incomprehensible numbers @bot.event async def on_guild_role_update(bef

Sending a message into all servers where bot is

How do I send one message per guild that my bot is in? It doesn't matter which channel it will be, but I don't know how to code it. I finally came up with that

can't use getUpdates method while webhook is active; use deleteWebhook to delete the webhook first (DELETEWEBHOOK DOESN'T WORK)

I've done a bot for telegram and it worked but some days ago it appears a problem. "can't use getUpdates method while webhook is active; use deleteWebhook to de

Messenger bot send a message every 5th message

I am making a simple bot for messenger on python using fbmq, that handles quick questions. I made bot to send a message when users text to my Facebook page ou

Command for posting user's avatar

@bot.command(aliases=['av']) async def avatar(ctx, *, avamember : discord.Member = None): userAvatarUrl = avamember.avatar_url await ctx.send(userAvata

Getting the url of a video of a new post using PRAW and send it to a discord server (praw, discord.py)

I'm trying to make a command in my discord.py bot that send the image or the video attacched to a post in reddit. But, when a post is with an Image, all works f

Discord.js Multiple Commands

how can i make multiple commands with the discord.js module? code: const Discord = require('discord.js'); const client = new Discord.Client(); client.on('messa

Weird instruction flow chatbot with LUIS and nodejs

I can't get what I want with my bot, coded with the help of MS Bot Framework and LUIS for language recognition. What I'm trying to do is book a plane ticket. S

Running Flask & a Discord bot in the same application

I am building a Discord bot in Python and would like to receive HTTP requests from Twitch.tv's API (See Webhooks Guide & Webhooks Reference) (To subscribe t

How to use FLow XO and API.ai together in one bot

I have a question. Is it possible to use both flowXO and API.ai together and single-time in one bot? If so, how to implement it?

Gupshup Flow Bot

Gupshup integrated bot on Viber not working. May be it is because I am using russian language? There is not a Welcome Message or a start button here. And when u

Best way to create a data-filling bot for a ERP

Let me give you a bit of background. Currently we are using an ERP software in which we have to record some data that comes from another system. At this moment

Java Discord Bot

I am currently creating a bot for Discord. So far, I have got the bot up, and have it "Online" in my server. I created a custom command named !yata that display

Discord.js bot not logging in

I made a discord bot and i have no idea what's wrong with my code i mean look: const Discord = require("discord.js"); const client = new Discord.Client({ i

How I can update code from discord.js v12 to v13? - Welcome messages

I was watching YouTube tutorial about welcome messages. I copied whole code etc. When I'm using this code on discord.js v13 it doesn't work. When I use this cod

discord.errors.HTTPException: 401 Unauthorized (error code: 0): 401: Unauthorized

This is the huge error im getting: Traceback (most recent call last): File "C:\Users\User\AppData\Roaming\Python\Python310\site-packages\discord\http.py", lin

update value in bash script

i have stuck code. i make bash script to send Notification If file Size changed #!/bin/bash #File Embeded test_file=/home/optimus/bot_test/dump.txt msg_captio

update value in bash script

i have stuck code. i make bash script to send Notification If file Size changed #!/bin/bash #File Embeded test_file=/home/optimus/bot_test/dump.txt msg_captio

How can I deny @everyone and allow the author to view the channel?

I've been tinkering around with this for a while, and I have never done permission based channel creation. I am working on a ticket function for my bot and I ca

Is there a way to send a POST request to slack without using Webhook?

I have tried to send POST requests to my slack channel using webhooks to no avail. It always returns a bad request no matter what I do. Is there a way to send