discord Questions

6

I want to create an app that creates Midjourney images. The problem is that Midjourney doesn't provide an API, it works from Discord. How to automate the process of image generation without the nee...
Hirudin asked 9/1, 2023 at 11:19

4

I am trying to build a setup menu for my bot that the server owner can use to configure the bot. The menu is triggered when the owner types =setup. I want the bot to reply with several embed messag...
Evenings asked 17/10, 2019 at 20:44

3

I am using Discord.js library to create a discord bot. Whenever I am sending an embedded message to a text channel, its width keeps changing with different data. const celestialObject = new Message...
Ingeringersoll asked 12/11, 2020 at 7:4

2

Solved

I want to get the ID of a discord slash command to make a simailar thing that MEE6 has: (discord.js) Help: /help [command] This makes you able to click on the slash command this is displayed insi...
Viand asked 7/10, 2022 at 7:42

10

When I try to use next auth to create a discord oauth client and I click sign in, I get this error: https://next-auth.js.org/errors#get_authorization_url_error client_id is required { message: 'cl...
Omnipotence asked 17/2, 2022 at 13:55

4

Solved

Trying to use Dom-Parser with Discord.js. Couldn't find help from any where else. Error on line 15 fs.readFile I also had a lot problems getting fs working. First it wasn't defined then it could no...
Repeated asked 7/1, 2021 at 13:28

2

So recently ive been receiving the error in the title. Im unsure what is causing the problem, it randomly stopped the bot was working about a week ago fine. Ive done my googling and yet still have ...
Lipsey asked 22/10, 2020 at 1:27

4

I am trying to make my discord bot send a jpg file to my discord server, but I keep getting an error that seems pretty uncommon as I can not find any solutions to it on the internet... the error i...
Condescending asked 14/6, 2018 at 14:55

2

Im using Discord.py and Im trying to get the Discord userid of a user when they type into a channel. The userid can be found when you go into developer mode, and right click on a username, there ...
Tresatrescha asked 21/4, 2017 at 12:58

2

Solved

I'm getting this warning in the terminal when running my bot code: (node:6220) DeprecationWarning: Passing strings for MessageEmbed#setFooter is deprecated. Pass a sole object instead.(Use node --t...

12

Trying to run my .py file from CMD, but it can't find the discord module >>File 'C:\Users\\****\Desktop\Discord_Bot\main.py', line 1, in module >>import discord >>ModuleNotFou...
Neurasthenia asked 17/4, 2018 at 19:36

10

Solved

I am trying to make a discord bot, but I can't quite understand Discord.js. My code looks like this: client.on('message', function(message) { if (message.content === 'ping') { client.message.send...
Duodiode asked 15/7, 2017 at 16:50

7

Solved

Following this; https://discordjs.guide/creating-your-bot/creating-commands.html#command-deployment-script I'm trying to run node deploy-commands.js to register my commands to a single guild and I'...
Rundgren asked 23/8, 2021 at 1:29

5

I'm playing around with the Discord API and noticed that I can't access the content of a message. This is my code: import discord client = discord.Client() @client.event async def on_ready(): pr...
Kayleen asked 31/1, 2022 at 0:27

3

Solved

I am trying to create a Discord bot with Python, however whenever I run the sample code here: import discord client = discord.Client() @client.event async def on_message(message): # we do not w...
Athlete asked 24/8, 2019 at 16:35

4

When I run window.localStorage on https://stackoverflow.com it returns the localStorage but when I use the same command on Discord page it returns undefined every time. Is there something that Dis...
Historicism asked 26/9, 2018 at 3:18

7

I've been working on a Discord bot, and I'd like to make things more custom. I've been trying to make the bot send embeds, instead of normal messages. embed = discord.Embed(title="Tile", ...
Kashmiri asked 1/7, 2017 at 14:36

2

I mean, like a URL that a user can click to open the Discord app or website and prewrite a Discord message, ready to be sent. I need something similar to mailto: links where I can set the message b...
Bygone asked 8/5, 2021 at 16:57

2

Solved

I am trying to make an embed with only 2 columns. Whenever I delete the inline value it drops test3 field like I want. Then I keep inline: true on test4 field and it drops to another row. I tried m...
Missive asked 5/3, 2021 at 1:5

9

import discord import openai import os openai.api_key = os.environ.get("OPENAI_API_KEY") #Specify the intent intents = discord.Intents.default() intents.members = True #Create Client ...
Coloquintida asked 18/3, 2023 at 9:11

7

I saw that NotSoBot has his status as online on mobile, is there a way that I can do that in discord.js?
Honesty asked 26/2, 2020 at 10:18

4

Today I made a ubuntu bootable on an usb drive. I wanted to download discord for my ubuntu and downloaded the file from the discord website. However when I tried to install i got missing dependenci...
Tiffin asked 8/11, 2021 at 8:29

4

When sharing a post to Discord, the preview Discord generates shows the author name and URL. We removed all information about the author but it didn't stop the author tag from showing.
Enharmonic asked 6/3, 2019 at 8:15

2

Solved

I have an extremely basic script that pops up a message with a button with the command ?place Upon clicking this button the bot replies Hi to the user who clicked it. If the button isn't interacted...
Coincidentally asked 19/5, 2022 at 23:33

18

Solved

I've looked in a lot of places and I can't find a way to make a ping (latency) command using discord.py, something like this: @client.command(pass_context=True) async def pong(ctx): # Somehow fin...
Manful asked 19/9, 2017 at 18:1

© 2022 - 2024 — McMap. All rights reserved.