discord tag

17 questions


1 answers
362 views
0
I want Discordbot to work only on certain channels.

I put the bot I created into the server, but it works in response to all channels, so I want to be able to operate only on certain channels!import discordfrom discord.ext import commandsimport asyncio...

2 years ago

2 answers
391 views
0
I want to resolve the error that occurs when I run "Deploy Branch" on Heroku

I would like to permanently run the Discord Bot I created using Heroku.I'm working with GitHub now, but I don't know if the method is right.I just created a repository on GitHub and moved the program ...

2 years ago

3 answers
103 views
0
I was using Discord.py, but when I tried to have the bot display embed using the code below, it didn't show up.Where should I correct it?

I was using Discord.py, but when I tried to have the bot display embed using the code below, it didn't show up.Where should I correct it?import discordclient=discord.Client()@client.eventasync def on_...

2 years ago

1 answers
150 views
0
When I was making a bot to show the weather on Discord.py, I got the following error.

Actual Code import discordimport urllib.requestimport jsonimport reclient=discord.Client()citycode = '016010'resp=urllib.request.urlopen('http://weather.livedoor.com/forecast/webservice/json/v1?city=%...

2 years ago

1 answers
148 views
0
Where and what should I put in the discord program to make the person who sent the message comment?

I use Python 3.7import discordclient=discord.Client()@client.eventasync def on_ready(): print('We have logged in as {0.user}'.format(client))@client.eventasync def on_message(message): if message.auth...

2 years ago

1 answers
146 views
0
I want to get the server where my bot participates in discord.js.

I'd like to get a server with my bot participating in discord.js. What should I do?

2 years ago

1 answers
144 views
0
Error creating bot to display weather on discordbot.py: 'Client' object has no attribute' send_message'

I use Python 3.7.It may be difficult to understand because it is the first programming and the first question.Please specify more and more if you like.source code#coding:UTF-8import discordimport urll...

2 years ago

2 answers
161 views
0
Want to run discord.py in parallel thread

I'm making a Bot like this.Bot greeting every dayYou can set what time and what time to greet each buildI'm thinking of using the while True loop on_ready, but the problem is that there are so many no...

2 years ago

1 answers
86 views
0
I want to create a global chat with discord.js

Global chat on Node.js discord.js (I want to do something that says a on Channel B of A mackerel and a on Channel D of C mackerel, but I can't do it well.Please tell me what's wrong.Code I tried makin...

2 years ago

2 answers
140 views
0
Syntax error on Discord.py

RTa-technology/discord_dice_botAfter running this program, the Heroku deployment was completed, but Discord does not come online (probably the code is incorrect).Heroku and Github are working together...

2 years ago
- 1 - »

© 2024 OneMinuteCode. All rights reserved.