Skip to content

nielandvoid/oasis

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

37 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Oasis

oasis

a simple, multi-server resource curation bot for Discord. members submit link/file -> mods approve/reject -> posts to text/forum channel.

built with node, discord.js, and mongodb.

features

  • /submit link & /submit file subcommands (upload up to 5 files at once, with mandatory forum tags autocompleted dynamically)
  • modal description box (supports linebreaks & md)
  • auto-bypasses 10mb bot upload limit (links directly to cdn if >10mb)
  • mod approval panel with buttons (approve/reject reason)
  • multi-server configuration (/configure command for admins)
  • /ping command (websocket heartbeat and response latency)
  • /help command (clean list of all available commands and usage instructions)
  • zero deprecation warnings

prerequisites

  • node.js (v18.x or higher recommended)
  • a discord bot token (with Server Members Intent and Message Content Intent enabled)
  • a mongodb atlas database connection string

self-host

  1. clone the repo
  2. configure .env:
    DISCORD_TOKEN=
    CLIENT_ID=
    MONGODB_URI=
  3. run:
    npm i
    node index.js

configure in discord

  1. invite the bot to your server
  2. run admin setup commands: /configure review-channel channel:#moderator-review /configure public-channel channel:#public-resources /configure view
  3. run /help to see available user commands

license

mit

About

server-wide resource curation utility originally built for r/JEE and r/CBSE

Resources

Stars

Watchers

Forks

Contributors

Languages