Sign inSign up

devidian/omegabot

By devidian

•Updated about 5 years ago

OmegaBot - A DiscordBot

Image
0

239

devidian/omegabot repository overview

⁠About Omega Bot (Discord Bot)

The OmegaBot Discord bot was started as simple request-response bot where you can add commands that response with information. It was then expanded to have some Streaming-detection stuff to announce when people are streaming (using discord user status) and recently got some more role-management features. Several more features are planned in the future. See HISTORY.md for latest changes

⁠Install

mkdir -p /srv/apps;
cd /srv/apps;
git clone [email protected]:Devidian/omega_bot.git;

HellBot: https://discordapp.com/oauth2/authorize?client_id=606078021497258004&scope=bot&permissions=335801408⁠

OmegaBot: https://discordapp.com/oauth2/authorize?client_id=608270517568274462&scope=bot&permissions=335801408⁠

⁠docker-compose

# create .env file with your settings
docker-compose up -d

⁠Usage

CommandDescriptionPermission
BASICS
?helpprint out help with command listeveryone
!set name [name]set bot nickname to [name]Administrators
!set welcomeMsg [text]set member welcome messageAdministrators
!!clearremove all messages in the current channelAdministrators
!!exportsend guild data as json attachmentAdministrators
!add [what] [text]Adds a new entry to [what]Administrators
!remove [what]Remove everything from [what]Administrators
?[what]print out information regarding [what], shuffle if multiple entries existeveryone
STREAMING STUFF
!setStreamChannelSet the channel as announcement channelAdministrators
!addStreamer @name ...Add one or more streamerAdministrators
!removeStreamer @nameremove a streamer from streaming whitelistAdministrators
!setAllowAll true/falseset true if you want all members streaming to be announcedAdministrators
!set allowAll trueeverybody is announced when streamingAdministrators
!set allowAll falseonly added streamers are announced when streamingAdministrators
!set streamerChannelset streamer channel to this channelAdministrators
!set announcementDelayHours [number]set announcement delay to [number] hoursAdministrators
!set announcementMsg [text]set announcement messageAdministrators
!set sayHello trueAdministrators
!set sayHello falseAdministrators
!set removeJoinCommandAdministrators
!set removeLeaveCommandAdministrators
!set streamerAdministrators
!set roleAdministrators
!setAdministrators
ROLE MANAGEMENT
!rolesAdd @role ...Administrators
!rolesRemove @role ...Administrators
?roleseveryone
!join @roleeveryone
!leave @roleeveryone

⁠.env contents

APP_TITLE=OmegaBot
APP_CLI_PORT=47110
APP_WSS_PORT=47015
APP_TICK=250
APP_LOGLEVEL=0
APP_LOGCOLOR=true
#
SERVICE_USER=nodejs
SERVICE_ID=OBOT
SERVICE_NAME=omega-bot
SERVICE_DESC=OmegaBot-Discord-Bot-Unit
SERVICE_ENV=[]
SERVICE_AFTER=["network.target"]
#
MONGODB_URI=mongodb://mongouser:mongopass@mongohost/omegabot?authSource=admin&retryWrites=true&w=majority
MONGODB_DB=omegabot
MONGODB_APPNAME=OMEGA-BOT
# used for composer mongodb root setup
MONGODB_USER=mongouser
MONGODB_PASSWORD=mongopass
#

Tag summary

Content type

Image

Digest

Size

68.9 MB

Last updated

about 5 years ago

docker pull devidian/omegabot