Skip to content

moedevs/Vigne

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

37 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Vigne

A Discord bot written in Go. Used by the Gabriel Dropout server.

Building

$ git clone https://github.com/moedevs/Vigne
$ cd Vigne
$ go build .

Database structure

The Bold ones are required.

name Hash information description
vigne:hasConfig Should always be 1
vigne:config token, commandRegex, musicChannel, musicVoiceChannel, maxMusicDuration Hash. Simple configuration
vigne:mods Set. User IDs of moderators
vigne:roles Key is the lowercase name of the role. Value is the ID of the role. Hash. Used by the --role command
vigne:validExtractors Set. Whitelisted extractors for Youtube-DL
vigne:welcomer:main ID of the channel where welcome messages should go
vigne:welcomer:secret ID of the channel where messages of leaves and joins should go
vigne:welcomer:text:before Message, that should be displayed when a user joins. Example: Welcome %s! Have fun!
vigne:welcomer:text:after After a short period of time, the original message gets replaced by this one. Example: Welcome %s!
vigne:canPlayLive 1 or 0. Whether the music bot can play live streams or not.
vigne:weebsh:token Token for the weeb.sh service.
vigne:weebsh:tokenType Type of the weeb.sh token. Either "bearer" or "wolke"

Default commands

Every command starts with a prefix. With the default config there are multiple prefixes. The official one is --

Command Description
ping Pong!
role Gives the user a role according to vigne:roles. A user can only have one role from vigne:roles at a time.
help Lists all available, not hidden commands.
types Lists all types from weeb.sh
image Sends a random image with the specified type from weeb.sh
roles Hidden. Can only be used by moderators. Lists all roles available on the server and their IDs.
replace Hidden. Sends Hello then after a short while replaces the text with World!.

Credits

Thank you to

  • Wolke and Akio for making weeb.sh
  • Daniele122898 for making the weeb.go library

Roadmap

  • Documentation
  • Errors that are sent to the user
  • Menu system with Reactions
  • Music Bot

Releases

No releases published

Packages

No packages published

Languages

  • Go 100.0%