Navigation X
ALERT
Click here to register with a few steps and explore all our cool stuff we have to offer!



   971

My bot dont work

by eskish - 18 April, 2023 - 10:19 PM
This post is by a banned member (eskish) - Unhide
This post is by a banned member (IgniteHost) - Unhide
This post is by a banned member (Deaepunisher) - Unhide
648
Posts
240
Threads
4 Years of service
#3
(This post was last modified: 19 April, 2023 - 05:53 AM by Deaepunisher. Edited 1 time in total.)
hey! have you tried:
Code:
from discord.ext import commands

intents = discord.Intents.default()
intents.members = True
client = commands.Bot(command_prefix='!',intents=intents)

@client.event
async def on_ready():
    print('Connected to bot: {}'.format(client.user.name))
    print('Bot ID: {}'.format(client.user.id))

@client.command()
async def tiktok(ctx, url):
    #here goes the command for tiktok
    await ctx.send(f'The filtered and processed video has been uploaded to Google Drive: https://drive.google.com/file/d/{file.get("id")}')
at least show us the error
This post is by a banned member (eskish) - Unhide

Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
or
Sign in
Already have an account? Sign in here.


Forum Jump:


Users browsing this thread: 1 Guest(s)