2023-12-07 19:47:57 +01:00
|
|
|
CREATE TABLE IF NOT EXISTS commands (
|
|
|
|
id bigserial PRIMARY KEY,
|
2023-12-10 23:50:59 +01:00
|
|
|
name text NOT NULL,
|
|
|
|
channel text NOT NULL,
|
2023-12-07 19:47:57 +01:00
|
|
|
text text NOT NULL,
|
|
|
|
level integer NOT NULL,
|
2023-12-18 00:04:27 +01:00
|
|
|
description text NOT NULL
|
2023-12-07 19:47:57 +01:00
|
|
|
);
|
|
|
|
|
2023-12-18 00:04:27 +01:00
|
|
|
INSERT INTO commands (name,"channel","text","level","description") VALUES
|
|
|
|
('repeat','nouryxd','xset r rate 175 75',0,'Command to set my keyboard repeat rate'),
|
|
|
|
('xset','nouryxd','xset r rate 175 75',0,'Command to set my keyboard repeat rate'),
|
|
|
|
('kek','nouryxd','lmao',0,'kek'),
|
|
|
|
('lmao','nourybot','kek',0,'lmao'),
|
|
|
|
('dockerclean','nouryxd','docker system prune -a --volumes',0,'clean docker');
|
2023-12-07 19:47:57 +01:00
|
|
|
|