PierreAndreis / Network

Bot that makes Discord a true Social Network!

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Network Bot

Time to ditch Titter and Facebook

This is a Discord bot built for the Discord Hack Week June 2019. It adds some key functionalities to discord:

  • True social networking
  • Server templates

You can join the Support Server to contact the developers.

Features

Social Network Feature

This feature brings some of the common functionalities of other social networks, like Twitter and Facebook, to Discord. This bot helps make Discord be the only social network anyone would ever need.

Social Network Example

  • .createnetwork => creates all the channels and roles necessary for a full profile server. This server will serve as a facebook group/profile or twitter profile page.
    • #wall => where you make your posts.
      • Anyone following you will have this message sent to their #feed channel.
      • Every message sent in this channel will get ❤️, 🔄, and ➕ reactions added.
        • 🔄: Repost that message in their own #wall channel, like a retweet.
        • ❤️: Send a message to #notifications saying someone has liked this message.
        • ➕: you will follow/unfollow the original poster.
    • #feed => the posts from all the people you follow.
    • #notifications => all alerts: someone followed you, liked your post, reposted your post, etc. Notification Example
    • #photos => all your photos that you posted in #wall.
    • @subscribers => In case you want to ping users.
      • This will only work when you @subscribers and you assign the subscriber role to users. It is not done automatically to prevent abuse.
  • .follow @user => follows a user so you can see all their posts on your own profile server #feed channel.

Server Templates

Something missing in Discord is being able to make a new server using a template.

  • .createschool => creates an entire server based on a school server template. Perfect for online schools like Forest Trails Academy.
    • @principles
    • @teachers
    • @parents
    • @students
    • @Guests
    • A category for each class is created
      • #homework-assignments
      • #class-lessons
      • #important-dates
      • #study-group
      • voice channels
    • PTA Category
      • #important-info
      • #questions
      • #meeting voice channels
  • .savetemplate => adds the current server as a template that you can reuse in other places.
  • .removetemplate => removes the current server as a template.
  • .createserver ServerID creates a server using based on the template server you provided.

Developers

How We Built It

Technology Used

  1. TypeScript + NodeJS - The language and runtime used by the bot.
  2. Discord.JS - The Discord API wrapper used.
  3. Klasa - The most complete Discord.JS framework that helps make bot development easier.
  4. MongoDB - Database used to store information needed to make the bot work, like settings.

Steps To Host Your Own

  1. Clone the repo. Give it a ⭐️at the top to support us.
  2. Create the configs.ts file using the example file.
  3. Create a Discord Bot at Discord Developer portal and get the token. Paste the token in the configs.ts file.
  4. Create an account on MongoDB Atlas and create a new cluster. Once you create a new connection. Add the connection url to the configs file.
  5. yarn
  6. yarn develop

About

Bot that makes Discord a true Social Network!

License:MIT License


Languages

Language:TypeScript 99.6%Language:JavaScript 0.4%