![translate bot discord issue translate bot discord issue](https://i.ytimg.com/vi/603hQ7-fm28/maxresdefault.jpg)
- #Translate bot discord issue how to#
- #Translate bot discord issue install#
- #Translate bot discord issue manual#
- #Translate bot discord issue free#
Edit the Values of DISCORD_TOKEN, and the DATABASE_URL according to the values that you in Step 2 of "Setting Up a New Bot".
#Translate bot discord issue install#
Download dependencies using npm install.Install node.js and make sure you have Git and npm installed 4. Example: The connection to a sqlite database with the name database.db stored at the same level of this README file would be. Copy the connection details to the database for the next step. My recommendation is to use the SQL Lite database since the setup is fast and access is easy. Create a local databaseĪny Database that runs with SQL Sequelize can be used. Please note that for the bot to continue running 24/7, the process of node src/bot.js should always remain online and thus your PC/hosting device must remain online too 1. The local setup requires more steps since the database needs to be setup and the development tools need be installed. The bot can also be run locally on a device. Once the bot has been deployed with the successfully updated fork you are all done.Click deploy branch, and wait for the successfully deployed message. Under Deployment Method make sure you have Github selected, ensure Connect to GitHub has the correct repository selected, Scroll down to the "Manual deploY" section, and select the master branch.Select the bot you made in Step 3 of Setting up a New Bot.Detailed instructions with example can be found here.Complete a Pull Request from the master Branch of RitaBot-Project/Rita to your master branch.Make a Pull Request to your Fork from this Repo
![translate bot discord issue translate bot discord issue](https://forum.cfx.re/uploads/default/optimized/4X/6/8/4/6840d8d1b46731ab916fe9cf9f48d7fe81634030_2_559x750.jpeg)
You must have a bot already running on your server, if not then refer to Setting up a New BotĢ.
#Translate bot discord issue how to#
? How to Update to Stable Branch on Heroku 1. It simply decides wether you would like translations to be sent as Webhooks (more user-like, profile picture) or embed (bot sends message with anembed message contintaining user profile picture.) The !tr embed command is changeable whenever you like. Use the commands !tr help and !tr help modules to learn more about the commands Rita has! Your bot is now setup and ready for any translation you have for it to do.Once added, your bot should show in your server, now go back to Heroku and go to the "Deploy" section, scroll down to "Manual Deploy" and deploy the master branch.Visit the resulting URL and add your bot to any server where you have admin privileges. Replace the CLIENTID string in the following URL with your own apps client id from Step 2: Invite your bot to your server and configure it! If you have any issues running your bot join our Discord ServerĤ.Make sure that you have added the Heroku Postgres Addon in the Resources Tab of Heroku or else your bot shall not run! Turn off the default web npm start dyno and turn on the worker node src/bot.js dyno. Go to the Overview tab and click configure dynos. This is to ensure that when the bot updates it does not use any old Dependencies that Heroku has stored and gets fresh ones from the package.json file.Value: = Your discord bot's token that you copied earlier.Click to reveal Config Variables, then add then add the following: This will be automatically attached as your bot's database. Search 'Postgres', and add a 'Hobby Dev - Free' version of Heroku Postgres. Go to the Resources tab and look for the addons section.
#Translate bot discord issue manual#
Scroll down to the manual deploy section, and select the Master branch. Connect to your Github account and search for this repository by name. Something like yourname-discordbot is fine It's name must be unique and composed of all lowercase letters and dashes. Copy the bot's TOKEN, you will need it laterĬreate a new app.Take note of the app CLIENT ID, you will need it later.