All Projects → Servatom → Notion-DiscordBot

Servatom / Notion-DiscordBot

Licence: MIT license
A discord bot consuming Notion API to add, retrieve data to Notion databases.

Programming Languages

python
139335 projects - #7 most used programming language
Dockerfile
14818 projects

Projects that are alternatives of or similar to Notion-DiscordBot

Notion-and-Google-Calendar-2-Way-Sync
2 Way Sync Between Notion Database and Google Calendar
Stars: ✭ 205 (+259.65%)
Mutual labels:  notion-database, notion-api
notion-scholar
Reference management solution using Python and Notion.
Stars: ✭ 77 (+35.09%)
Mutual labels:  notion-database, notion-api
Notion-GCal-Sync
A Python script to automate the syncing of tasks between Google Calendar and the all-in-one productivity workspace, Notion. It utilizes API and is customizable for your own needs. Free to use.
Stars: ✭ 120 (+110.53%)
Mutual labels:  notion-api
drive-zipextractor
Extract (decompress) ZIP files into Google Drive using the Google Drive API
Stars: ✭ 432 (+657.89%)
Mutual labels:  google-drive
TradeByte
💸 TradeByte - Stocks Trading Simulation WebApp
Stars: ✭ 30 (-47.37%)
Mutual labels:  heroku-deployment
drive-music-player
Fully client side Music Player for Google Drive
Stars: ✭ 567 (+894.74%)
Mutual labels:  google-drive
food-order-app
Simple Food Ordering Website (NodeJS, ExpressJS, MongoDB, Bootstrap) with auto deployment
Stars: ✭ 43 (-24.56%)
Mutual labels:  heroku-deployment
stremio-gdrive
Stremio addon for fetching videos from your google drive.
Stars: ✭ 73 (+28.07%)
Mutual labels:  google-drive
python-telegram-bot-heroku-example
Repository for Medium article about creating a Telegram bot in Python and deploying it on Heroku
Stars: ✭ 13 (-77.19%)
Mutual labels:  heroku-deployment
Nishan
An ecosystem of packages for notion written in typescript.
Stars: ✭ 161 (+182.46%)
Mutual labels:  notion-api
Any-file-to-Google-Drive
This Google Colab notebook will help you download any file directly to Google Drive with the help of the JDownloader web interface
Stars: ✭ 47 (-17.54%)
Mutual labels:  google-drive
movie-app
🌈 TMDB + Laravel + LiveWire + AlpineJS + ViewModels + Components = ❤️ Movies App 🔥
Stars: ✭ 43 (-24.56%)
Mutual labels:  heroku-deployment
drf-starter-template
DRF Starter Template with drf-yasg, heroku deployment ready config, CORS config
Stars: ✭ 25 (-56.14%)
Mutual labels:  heroku-deployment
heroku-lavalink
Deploy lavalink on heroku.
Stars: ✭ 46 (-19.3%)
Mutual labels:  heroku-deployment
TorrentLeechBot
A powerful telegram mirror bot..
Stars: ✭ 94 (+64.91%)
Mutual labels:  heroku-deployment
Paribhasha
paribhasha.herokuapp.com/
Stars: ✭ 21 (-63.16%)
Mutual labels:  heroku-deployment
DeployMachineLearningModels
This Repo Contains Deployment of Machine Learning Models on various cloud services like Azure, Heroku, AWS,GCP etc
Stars: ✭ 14 (-75.44%)
Mutual labels:  heroku-deployment
backmeup
BackMeUp: An automated MySQL / MariaDB databases and files backup solution on *nix Machines using Amazon S3, WebDAV (ownCloud / NextCloud etc.), Google Drive and Dropbox.
Stars: ✭ 80 (+40.35%)
Mutual labels:  google-drive
foodbank
A web app to engage students in the classroom with interactive activities about nutrition
Stars: ✭ 16 (-71.93%)
Mutual labels:  notion-api
cards
Turn your Notion database into a deck of cards
Stars: ✭ 37 (-35.09%)
Mutual labels:  notion-api

Notion-DiscordBot

Build StatusVisits Badge

A discord bot consuming Notion API to add and retrieve data from Notion databases.




Instructions to use the bot:

Invite the bot using Bot Invite Link and run *setup

To self-host the bot, read SETUP.md.


Creating Notion Database:

  1. Go to Notion and create a new Integration. Note the internal Integration.

  2. Then in Notion create in a new page create a table like this (Tag being optional field):

4 columns where:

  • Contributor is of property type Title
  • URL of url type
  • Title of text type
  • Tag of multi-select type
  1. Click on the three dots and press Open as page


  1. Then press share and copy the URL. The URL will look something like this: https://www.notion.so/XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX?v=YYYYYYYYYYYYYYYYYYYYYYYYY

Note down the X part of the url (RED part)

This is your database id

  1. Also press share again, press Invite and then click on the integration you made earlier

Bot Usage:

  1. Setup
  2. Add Record
  3. Search
  4. Delete
  5. Upload Files
  6. Change Prefix

Setup Bot:

Run *setup command and enter notion api key (the one you got after creating integration) and notion database id.


Adding Record:

*add <URL_YOU_WANT_TO_RECORD> => This will add a new record to your database (if tagging is enabled, it will add a misc tag)

*add <URL_YOU_WANT_TO_RECORD> <TAG> => This will add a new record to your database with the <TAG> tag

For multiple tags: *add <URL_YOU_WANT_TO_RECORD> <TAG>,<TAG1>,<TAG2>

Example:

Sample database populated by the bot:

Searching Record through tags:

*search <Tag1>

For multiple tags: /search <Tag1> <Tag2>.....<TagN>

Searching Record through title:

*title <title>

Example:

Deleting Record through tags:

*delete <Tag 1>

For multiple tags: *delete <Tag 1> <Tag2>......<Tag N>

Deleting Record through title:

*delete <title>

Example:

Uploading files

NOTE: In the below images the prefix used is: *

You can upload any file to the notion database. It can be a pdf, png, jpeg etc.
Here a png file is being uploaded

  1. Drag your file to the chat in discord, add comment to the file you uploaded


Here servatom is tag for the file.

  1. It will then ask the title of the file you uploaded:


  1. The database will be updated:


Changing Prefix

To change the bot prefix, type *prefix, * being the deault prefix.




🎓 All maintainers in this project are under-graduate students in the Department of Computer Science and Engineering, TIET @ Thapar University

👦 Raghav Sharma
      Email: [email protected]
      GitHub: @raghavTinker

👩 Rupanshi Jain
      Email: [email protected]
      GitHub: @rdotjain

Special thanks to Animesh Gupta for giving us better ideas to make this project better and for spreading the word.

Note that the project description data, including the texts, logos, images, and/or trademarks, for each open source project belongs to its rightful owner. If you wish to add or remove any projects, please contact us at [email protected].