#๐ Help me
35 messages ยท Page 1 of 1 (latest)
@stone geyser
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.
Sry its a little personal
!paste
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.
so, what do you need help with?
with the top image
with the type error
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
@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)
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.
!rule 2 5 bot=False is old code for selfbot, selfbots are against discord ToS
2. Follow the Discord Community Guidelines and Terms of Service.
5. Do not provide or request help on projects that may violate terms of service, or that may be deemed inappropriate, malicious, or illegal.
in <module>
seveneighteightfour.run(token , bot=False)
~~~~~~~~~~~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^
TypeError: Client.run() got an unexpected keyword argument 'bot'
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
oh
but still how to fix that
you dont do bot=False
Write an actual bot, not self-bot
ok
and 1 more thing
https://discord.com/developers
if i remember correctly you can do that here
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
Seem like ids of channels or roles. Ask your friend which those are
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.