Runescape bot5/30/2023 Run npx prisma db push -schema=./prisma/robochimp.prisma to create the tables on the database referenced in.Run npx prisma generate -schema=./prisma/robochimp.prisma to generate the Prisma client files and load the DSN from #6 for the robochimp database.Run npx prisma db push to create the tables on the database referenced in.Run npx prisma generate to generate the Prisma client files and load the DSN from #6.Update DATABASE_URL and ROBOCHIMP_DATABASE_URL with your Postgres username, password and schema names. You can get this by right clicking the logo of the server and selecting Copy ID. Enter the Server ID where you want to Administer your bot from in SupportServer.You may need to enable Developer Mode in Advanced Settings to be given this option. You can get your Discord ID by opening Settings, selecting My Account, selecting the three dots next to your user name and selecting Copy ID. Copy your Discord ID into both OWNER_IDS and ADMIN_IDS.Input your Application ID you retrieved earlier into CLIENT_ID.Input your Application ID you retrieved earlier into BotID.Input your bot token you retrieved earlier into botToken.Make a config file from the example: cp src/ src/config.ts.Install the yarn dependency: npm install -global yarn.Change into the new directory: cd oldschoolbot.Be sure to input your BotID into the URL. Invite your bot to your server via this URL.Ensure your bot has Privileged Gateway Intents > Server Members Intent enabled.Copy and store the token for your bot, you'll need this later on Copy and store the Application ID, you'll need this later on. ![]()
0 Comments
Leave a Reply. |