ProjectMoocow

command module
v0.0.0-...-9497138 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Jan 12, 2023 License: Apache-2.0 Imports: 15 Imported by: ? modules, 0 packages

The first number is the count of modules that contain a package that imports this one. The module count is a better indicator of popularity than the package count. A module with 100 importing packages is counted only once instead of 100 times, reflecting the fact that the choice to use the package was likely made only once, not 100 times.
A '?' means that the value hasn't been computed yet.

README

ProjectMoocow

bot to pin messages to another channel and publish to a website

How to start:

  1. make a MySQL user and add their information to config.yml
  2. run the following mysql code (PLEASE CHANGE THE DEFAULT PASSWORD):
CREATE USER 'pinnerboi'@'localhost' IDENTIFIED BY 'p1nnedh1m!!1';
create database pinnerboibot;
use pinnerboibot;
CREATE TABLE pinnedmessages ( serverid CHAR(25), channelid CHAR(25), messageid CHAR(25));
GRANT ALL PRIVILEGES ON pinnerboibot.* TO 'pinnerboi'@'localhost';
  1. also make sure you enable rich prescense and message content perms, the former is possibly not needed but the latter is needed 1. because I am protesting their new slash commands stupidity and 2. even if I did use slash commands, I still need message content to add to the pins

Also, there is some memory leak in here somewhere, I don't know from what or why, but it's there

Documentation

The Go Gopher

There is no documentation for this package.

Directories

Path Synopsis
tools module
web module

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL
⌂ 换网址