Quantcast
Channel: User raphiel - Stack Overflow
Browsing all 41 articles
Browse latest View live

Comment by raphiel on How do I get a server's ID with discord.py?

you should use a multiline codeblock instead of the in line codeblock.

View Article



Comment by raphiel on discord bot does not print message.content

Okay this is weird because the permissions are also correctly set in your code snippet …

View Article

Comment by raphiel on Discord bot command from one bot to another

is your music bot self coded or and self hosted or is it an public bot you just added?

View Article

Comment by raphiel on 1. url_for() function not working. 2. blockcontent,...

@Lenntror this wont solve anything, flask will render the {{}} content first and the client will only become the data with the rendered content sent, there wont be any problems with the "" only the...

View Article

Comment by raphiel on How can I log members who joined a server using a bot's...

it would be very helpful if you also post the code of the get_existing_never_ending_invite function ...

View Article


Comment by raphiel on How can i get Discord.js Client in Nuxt Vue instances

have you found a solution?

View Article

Comment by raphiel on Discord.py error "discord.errors.ConnectionClosed:...

The intents shouldn’t be a private part … they are just a number that simbolize the flags you set and your number ist probably incorrect …

View Article

Comment by raphiel on Nuxt I18n use localePath('/') in script setup

localePath is not defined, wait i will add it to the question

View Article


Comment by raphiel on Vue - Use i18n within the setup script

is there a way to use localePath also in the script setup tag? because useI18n() doesnt have an localePath attribute

View Article


Comment by raphiel on Nuxt I18n use localePath('/') in script setup

thank you very much :D

View Article

Comment by raphiel on embed.add_field invalid syntax error discord.py

Can you please also add the error message?

View Article

See pip installations in a PyCharm Project?

Is there a possibility to see all pip installed packages in Pycharm?Because I have the Problem: I write in PyCharm and it works fine, but now I want to move the project to a server... And now I don't...

View Article

Space in the Bot Prefix

is it possible to make a space in the prefix of an server, because I want, that a user can make a ping to my bot as prefix toPrefix should be:<@bot.id> <- (with space after ping)how can I make...

View Article


Answer by raphiel for Discord.py role assignment error (NotFound: 404 Not...

you should try to replace in line 43await member.add_roles(*roles)withfor role in roles: await member.add_roles(*roles)because I think only a single role can be added in one api request

View Article

Answer by raphiel for Is there a way to stop discordpy bot from sending...

its because you are using the await channel.send in a try loop and this will "try run" the code before and if it works it will really run but by api requests this will just trigger the request...

View Article


Answer by raphiel for I'm trying to create a discord bot. As a project to...

the error message says: the intents argument ist missing ...you should define the intents where you set the clientchange theclient = discord.Client()tointents =...

View Article

Answer by raphiel for from config import get_config

you should add the get_config() function in your config.py file and also check that you run the code with the correct working directory (where the other file is) that the imports work

View Article


Answer by raphiel for AttributeError: 'NoneType' object has no attribute...

currently bot.get_channel() returns None,either because it dont get it because 1069075658979954700 is in quotesyou should try using:bot.get_channel(1069075658979954700)and check if the bot has access...

View Article

Answer by raphiel for How to get access to Evernote api key because of username?

If you go to your account Settings > General > Evernote Email Address, you'll find your username as the beginning of your Evernote email address.see evernote forum

View Article

Answer by raphiel for The bot does not mention messages

hey here the first problem:why do you format a f string?!await ctx.send(f'Pong! 🏓\\nHost Latency: {round (client.latency \* 1000)} ms!'.format(ctx.message.author.mention))should rather beawait...

View Article
Browsing all 41 articles
Browse latest View live




Latest Images

<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>
<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596344.js" async> </script>