#๐Ÿ”’ Help me

35 messages ยท Page 1 of 1 (latest)

little caveBOT
#

@stone geyser

Python help channel opened

Remember to:

  • Ask your Python question, not if you can ask or if there's an expert who can help.
  • Show a code sample as text (rather than a screenshot) and the error message, if you've got one.
  • Explain what you expect to happen and what actually happens.

:warning: Do not pip install anything that isn't related to your question, especially if asked to over DMs.

stone geyser
stone geyser
fiery canyon
#

!paste

little caveBOT
#
Pasting large amounts of code

If your code is too long to fit in a codeblock in Discord, you can paste your code here:
https://paste.pythondiscord.com/

After pasting your code, save it by clicking the Paste! button in the bottom left, or by pressing CTRL + S. After doing that, you will be navigated to the new paste's page. Copy the URL and post it here so others can see it.

fiery canyon
#

so, what do you need help with?

stone geyser
#

with the type error

fiery canyon
#

yeah, i can hardly read that. What are you trying to do, how are you doing it, and whats not working?

#

all i can see is that run doesn't take "bot" as a keyword

stone geyser
# fiery canyon all i can see is that run doesn't take "bot" as a keyword

@seveneighteightfour.event
async def on_guild_channel_create(channel):
if isinstance(channel, discord.TextChannel):
category_id = channel.category_id
if category_id in active_tasks and active_tasks[category_id]:
await asyncio.sleep(1)
await channel.send(category_messages[category_id])

seveneighteightfour.run(token , bot=False)

little caveBOT
#

Hey @stone geyser!

It looks like you're trying to paste code into this channel.

Discord has support for Markdown, which allows you to post code with full syntax highlighting. Please use these whenever you paste code, as this helps improve the legibility and makes it easier for us to help you.

To do this, use the following method:
```py
print('Hello, world!')
```

This will result in the following:

print('Hello, world!')```
You can **edit your original message** to correct your code block.
hallow spindle
#

!rule 2 5 bot=False is old code for selfbot, selfbots are against discord ToS

little caveBOT
stone geyser
#

in <module>
seveneighteightfour.run(token , bot=False)
~~~~~~~~~~~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^
TypeError: Client.run() got an unexpected keyword argument 'bot'

sullen igloo
#

what are you trying to achieve with bot=False?
discord doesnt allow you to run bots using your account

#

you need to make a bot account

stone geyser
sullen igloo
hallow spindle
sullen igloo
#

just remove that

#

and make a bot account

stone geyser
stone geyser
sullen igloo
stone geyser
#

i ve been trying to make a tic tool

#

{
"token": "",
"guildId": "1318409157791191070",
"clientId": "1302301506057408584",
"STAFF_ROLE_ID": "1303697727607144509",
"TICKET_CATEGORIES": {
"buy_ticket": "1318410097369681930",
"support_ticket": "1303703284128809051",
"replace_ticket": "1303703175026442271",
"partner_ticket": "1303703667182010399",
"apply_ally_manager": "1307529662762586232",
"apply_support_team": "1307529806258376715"
}
}

#

my friend helped me with this

#

and i just need to kmow what do i have to fil in these

#

because all that is not of my server

hallow spindle
#

Seem like ids of channels or roles. Ask your friend which those are

little caveBOT
#
Python help channel closed

This help channel has been closed and it's no longer possible to send messages here. If your question wasn't answered, feel free to create a new post in #1035199133436354600. To maximize your chances of getting a response, check out this guide on asking good questions.