Sitelet https://github.com/NuggetzNL/DiscordBot
Skip to content

Latest commit

 

History

34 Commits

Folders and files

NameName
Last commit message
Last commit date
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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 git@github.com: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>

About

No description, website, or topics provided.

Resources

Stars

0 stars

Watchers

1 watching

Forks

Releases

Packages

Contributors

Languages