Giter Site home page Giter Site logo

sheetsbot's Introduction

SheetsBot

SheetsBot is a discord bot that allows you to read, write and remove data from Google Sheets.

Important:

  • No additional help will be provided for this repository.
  • Read the readme.md file 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.

Requirements

  • 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.commands scope enabled for your bot in developer portal
  • Basic knowlegde of Discord.js or JavaScript or NodeJS

Getting Started

Creating a fork

Installing dependencies

  • Open your terminal and do npm install

Starting the bot

Do any one
  • npm start
  • node index.js
  • node .

Configuration

  • Edit the config.json file
{
	"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"
}
  • botToken is the token of your bot
  • spreadsheetId is the ID of the Google Sheet you want to use
  • ownerId is the ID of the owner of the bot
  • prefix is the prefix of the bot
  • error_logs is 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:
  • GoogleAPI Tutorial

Star the Repo if you liked it!

sheetsbot's People

Contributors

agentrocky avatar renovate-bot avatar simpleboy353 avatar

Stargazers

 avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.