![]() ![]() 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.Once created, click into your Application.Head to Discord Developers and create an application.To run the bot, you need the following things first: Git, NodeJS v18+, Postgres, Python and a discord bot account Setting up a Discord Bot Setting up the bot to run locally for contributing If you have more questions, there are lots of helpful Contributors in the #developers channel on the Discord server. Please lint your code with the projects' ESLint config.Ĭontributors are listed in this file, and given a Contributor role in the support server. To suggest a new feature, click here ContributingĪnyone is free to create PR's with improvements and additions to Old School Bot. It's completely open-source and free to use. Old School Bot uses oldschooljs (also made by me), for most of the OSRS related features like: simulating killing monsters, simulating clues, fetching the hiscores, checking worlds, etc. Play Old School RS for free at OldschoolJS Old School Bot is not affiliated with or endorsed by Jagex. Old School Bot is a Discord Bot based on Old School RuneScape ![]()
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |