Giter Site home page Giter Site logo

keinexus's Introduction

Keinexus ๐Ÿ”—

~ A simple Discord bot to link voice channels to private text channels. ~ Modified somewhat from the original Apexal/Conexus bot

Changelog

Since I forked: TEXT_PERMS.can_read_message_history = false TEXT_PERMS.can_add_reactions = true Updated the discordrb dependencies to access the new API call

  • channel.parent_id to access voice-channel categories

~ Added timestamps to output https://i.imgur.com/W5D3uIu.png

Uses

  • Provides a place for messages only pertaining to the people in a voice-channel (so you don't clutter #general or some place and confuse people)
  • Allows people in voice-channels who cannot use voice to talk to the other people in a voice-channel without cluttering another text-channel
  • Tracks people entering/leaving voice-channels
  • Allows customization of associated channel names

This bot creates a hidden text-channel that shares the name of the voice-channel that spawned it for every non-AFK voice channel on a server. Only users in a voice-channel can view and message in a hidden text-channel.

The original by Apexal allows read message history, but this version has TEXT_PERMS.can_read_message_history = false because what I wanted from this bot was to emulate Teamspeak3 text channels.

This version also allows all users to use reaction emotes in a text channel. TEXT_PERMS.can_add_reactions = true

Commands

  • [deprecated, will not work] !conexus "new-default-name" Set's the default name for created text-channels This won't work because this version uses the voice-channel's name for the text channel.
  • !rename "new-name" Set's the name of one associated text-channel (you must use the command in that channel)

Run Yourself

This will require you to have a working ruby installation.

To run the program yourself, just clone it and run the following:

$ git clone [email protected]:Keinkil/Keinexus.git && cd conexus
$ bundle
$ ruby bot.rb <token> <client-id>

As a docker image

I have not uploaded a copy to dockerhub yet, so you're going to have to build it locally(or to dockerhub yourself) and then run it.

To build:

docker build -t <tagyouwant> .

To run:

docker run -e TOKEN='<token>' -e CLIENT_ID='<client_id>' <tag>

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.