SheetsBot is a discord bot that allows you to read, write and remove data from Google Sheets.
- No additional help will be provided for this repository.
- Read the
readme.mdfile for complete information about the bot. - It is recommended to watch the GoogleSheetsAPI tutorial for more information. (Link Below, Under Configuration)
- If you have any questions, please contact me on discord.
- Discord.js v13 or higher (
npm install discord.js@latest) - NodeJS v16.6 or higher
- Google APIs Client Library for NodeJS (
npm install googleapis) applications.commandsscope enabled for your bot in developer portal- Basic knowlegde of Discord.js or JavaScript or NodeJS
- Click here to create a fork
- Open your terminal and do
git clone https://github.com/Simpleboy353/SheetsBot.git
- Open your terminal and do
npm install
npm startnode index.jsnode .
- Edit the
config.jsonfile
{
"botToken": "ENTER_YOUR_BOT_TOKEN_HERE",
"spreadsheetId": "ID_OF_THE_GOOGLE_SHEET",
"ownerId": "ENTER_YOIUR_ID_HERE",
"prefix": "ANY_PREFIX_OF_YOUR_CHOICE",
"error_logs": "ENTER_THE_ERROR_LOGS_CHANNEL_ID_HERE"
}botTokenis the token of your botspreadsheetIdis the ID of the Google Sheet you want to useownerIdis the ID of the owner of the botprefixis the prefix of the boterror_logsis the ID of the channel where you want to send the error logs- You will also need an additional credentials file to use this bot.
- Watch this video to see the full Google Sheets API Tutorial:
