change name

This commit is contained in:
lyx0 2023-10-23 13:48:27 +02:00
parent 7f6496e434
commit e2cbd61f3e
8 changed files with 13 additions and 13 deletions

View file

@ -140,7 +140,7 @@ func (app *application) handleCommand(message twitch.PrivateMessage) {
} }
case "nourybot": case "nourybot":
reply = "Lidl Twitch bot made by @nourylul. Prefix: ()" reply = "Lidl Twitch bot made by @nouryxd. Prefix: ()"
case "phonetic": case "phonetic":
if msgLen == 1 { if msgLen == 1 {

View file

@ -80,7 +80,7 @@ func main() {
switch envFlag { switch envFlag {
case "dev": case "dev":
cfg.db.dsn = os.Getenv("DEV_DSN") cfg.db.dsn = os.Getenv("LOCAL_DSN")
case "prod": case "prod":
cfg.db.dsn = os.Getenv("REMOTE_DSN") cfg.db.dsn = os.Getenv("REMOTE_DSN")
} }
@ -162,7 +162,7 @@ func main() {
// Special rule for #pajlada. // Special rule for #pajlada.
if message.Message == "!nourybot" { if message.Message == "!nourybot" {
app.Send(message.Channel, "Lidl Twitch bot made by @nourylul. Prefix: ()", message) app.Send(message.Channel, "Lidl Twitch bot made by @nouryxd. Prefix: ()", message)
} }
} }
}) })
@ -170,9 +170,9 @@ func main() {
app.TwitchClient.OnConnect(func() { app.TwitchClient.OnConnect(func() {
common.StartTime() common.StartTime()
app.TwitchClient.Join("nourylul") app.TwitchClient.Join("nouryxd")
app.TwitchClient.Join("nourybot") app.TwitchClient.Join("nourybot")
app.TwitchClient.Say("nourylul", "xD!") app.TwitchClient.Say("nouryxd", "xD!")
app.TwitchClient.Say("nourybot", "gopherDance") app.TwitchClient.Say("nourybot", "gopherDance")
// Successfully connected to Twitch // Successfully connected to Twitch

View file

@ -6,7 +6,7 @@ CREATE TABLE IF NOT EXISTS channels (
); );
INSERT INTO channels (added_at,login,twitchid) VALUES INSERT INTO channels (added_at,login,twitchid) VALUES
(NOW(),'nourylul','31437432'), (NOW(),'nouryxd','31437432'),
(NOW(),'nourybot','596581605'), (NOW(),'nourybot','596581605'),
(NOW(),'uudelleenkytkeytynyt','465178364'), (NOW(),'uudelleenkytkeytynyt','465178364'),
(NOW(),'xnoury','197780373'); (NOW(),'xnoury','197780373');

View file

@ -9,7 +9,7 @@ CREATE TABLE IF NOT EXISTS users (
); );
INSERT INTO users (added_at,login,twitchid,"level",location,lastfm_username) VALUES INSERT INTO users (added_at,login,twitchid,"level",location,lastfm_username) VALUES
(NOW(),'nourylul','31437432',1000,'vilnius','nouryqt'), (NOW(),'nouryxd','31437432',1000,'vilnius','nouryqt'),
(NOW(),'nourybot','596581605',1000,'',''), (NOW(),'nourybot','596581605',1000,'',''),
(NOW(),'uudelleenkytkeytynyt','465178364',1000,'',''), (NOW(),'uudelleenkytkeytynyt','465178364',1000,'',''),
(NOW(),'xnoury','197780373',500,'',''), (NOW(),'xnoury','197780373',500,'',''),

View file

@ -8,8 +8,8 @@ CREATE TABLE IF NOT EXISTS timers (
); );
INSERT INTO timers (name,identifier,"text",channel,repeat) VALUES INSERT INTO timers (name,identifier,"text",channel,repeat) VALUES
('nourylul-60m','678efbe2-fa2f-4849-8dbc-9ec32e6ffd3b','timer every 60 minutes :)','nourylul','60m'), ('nouryxd-60m','678efbe2-fa2f-4849-8dbc-9ec32e6ffd3b','timer every 60 minutes :)','nouryxd','60m'),
('nourylul-2m','63142f10-1672-4353-8b03-e72f5a4dd566','timer every 2 minutes :)','nourylul','2m'), ('nouryxd-2m','63142f10-1672-4353-8b03-e72f5a4dd566','timer every 2 minutes :)','nouryxd','2m'),
('nourybot-60m','2ad01f96-05d3-444e-9dd6-524d397caa96','timer every 60 minutes :)','nourybot','60m'), ('nourybot-60m','2ad01f96-05d3-444e-9dd6-524d397caa96','timer every 60 minutes :)','nourybot','60m'),
('nourybot-1h','2353fd22-fef9-4cbd-b01e-bc8804992f4c', 'timer every 1 hour :)','nourybot','1h'), ('nourybot-1h','2353fd22-fef9-4cbd-b01e-bc8804992f4c', 'timer every 1 hour :)','nourybot','1h'),
('xnoury-15m','6e178e14-36c2-45e1-af59-b5dea4903fee','180 minutes timer :)','xnoury','180m'); ('xnoury-15m','6e178e14-36c2-45e1-af59-b5dea4903fee','180 minutes timer :)','xnoury','180m');

View file

@ -12,6 +12,6 @@ CREATE TABLE IF NOT EXISTS uploads (
); );
INSERT INTO uploads (added_at,twitchlogin,twitchid,twitchchannel,twitchmessage,filehoster,downloadurl,uploadurl,identifier) VALUES INSERT INTO uploads (added_at,twitchlogin,twitchid,twitchchannel,twitchmessage,filehoster,downloadurl,uploadurl,identifier) VALUES
(NOW(),'nourylul','31437432','nourylul','()yaf https://www.youtube.com/watch?v=3rBFkwtaQbU','yaf','https://www.youtube.com/watch?v=3rBFkwtaQbU','https://i.yaf.ee/LEFuX.webm','a4af2284-4e13-46fa-9896-393bb1771a9d'), (NOW(),'nouryxd','31437432','nouryxd','()yaf https://www.youtube.com/watch?v=3rBFkwtaQbU','yaf','https://www.youtube.com/watch?v=3rBFkwtaQbU','https://i.yaf.ee/LEFuX.webm','a4af2284-4e13-46fa-9896-393bb1771a9d'),
(NOW(),'uudelleenkytkeytynyt','465178364','nourylul','()gofile https://www.youtube.com/watch?v=st6yupvNkVo','gofile','https://www.youtube.com/watch?v=st6yupvNkVo','https://gofile.io/d/PD1QNr','4ec952cc-42c0-41cd-9b07-637b4ec3c2b3'); (NOW(),'uudelleenkytkeytynyt','465178364','nouryxd','()gofile https://www.youtube.com/watch?v=st6yupvNkVo','gofile','https://www.youtube.com/watch?v=st6yupvNkVo','https://gofile.io/d/PD1QNr','4ec952cc-42c0-41cd-9b07-637b4ec3c2b3');

View file

@ -12,5 +12,5 @@ CREATE TABLE IF NOT EXISTS commands_logs (
); );
INSERT INTO commands_logs (added_at,twitch_login,twitch_id,twitch_channel,twitch_message,command_name,user_level,identifier,raw_message) VALUES INSERT INTO commands_logs (added_at,twitch_login,twitch_id,twitch_channel,twitch_message,command_name,user_level,identifier,raw_message) VALUES
(NOW(),'nourylul','31437432','nourybot','()weather Vilnius','weather',1000,'8441e97b-f622-4c42-b9b1-9bf22ba0d0bd','@badge-info=;badges=moderator/1,game-developer/1;color=#00F2FB;display-name=nourylul;emotes=;first-msg=0;flags=;id=87d40f5c-8c7c-4105-9f57-b1a953bb42d0;mod=1;returning-chatter=0;room-id=596581605;subscriber=0;tmi-sent-ts=1696945359165;turbo=0;user-id=31437432;user-type=mod :nourylul!nourylul@nourylul.tmi.twitch.tv PRIVMSG #nourybot :()weather Vilnius'); (NOW(),'nouryxd','31437432','nourybot','()weather Vilnius','weather',1000,'8441e97b-f622-4c42-b9b1-9bf22ba0d0bd','@badge-info=;badges=moderator/1,game-developer/1;color=#00F2FB;display-name=nouryxd;emotes=;first-msg=0;flags=;id=87d40f5c-8c7c-4105-9f57-b1a953bb42d0;mod=1;returning-chatter=0;room-id=596581605;subscriber=0;tmi-sent-ts=1696945359165;turbo=0;user-id=31437432;user-type=mod :nouryxd!nouryxd@nouryxd.tmi.twitch.tv PRIVMSG #nourybot :()weather Vilnius');

View file

@ -12,4 +12,4 @@ CREATE TABLE IF NOT EXISTS sent_messages_logs (
); );
INSERT INTO sent_messages_logs (added_at,twitch_channel,twitch_message,context_command_name,context_username,context_message,context_user_id,identifier,context_raw) VALUES INSERT INTO sent_messages_logs (added_at,twitch_channel,twitch_message,context_command_name,context_username,context_message,context_user_id,identifier,context_raw) VALUES
(NOW(),'nourybot','Weather for Vilnius, LT: Feels like: 8.07°C. Currently 8.65°C with a high of 9.29°C and a low of 8.49°C, humidity: 66%, wind: 1.54m/s.','weather','nourylul','()weather Vilnius','31437432','654f9761-b2d4-4975-a4fd-84c6ec7f2eb8','@badge-info=;badges=moderator/1,game-developer/1;color=#00F2FB;display-name=nourylul;emotes=;first-msg=0;flags=;id=357d94a4-024e-49ea-ab3d-d97286cd0492;mod=1;returning-chatter=0;room-id=596581605;subscriber=0;tmi-sent-ts=1696952295788;turbo=0;user-id=31437432;user-type=mod :nourylul!nourylul@nourylul.tmi.twitch.tv PRIVMSG #nourybot :()weather Vilnius'); (NOW(),'nourybot','Weather for Vilnius, LT: Feels like: 8.07°C. Currently 8.65°C with a high of 9.29°C and a low of 8.49°C, humidity: 66%, wind: 1.54m/s.','weather','noury','()weather Vilnius','31437432','654f9761-b2d4-4975-a4fd-84c6ec7f2eb8','@badge-info=;badges=moderator/1,game-developer/1;color=#00F2FB;display-name=noury;emotes=;first-msg=0;flags=;id=357d94a4-024e-49ea-ab3d-d97286cd0492;mod=1;returning-chatter=0;room-id=596581605;subscriber=0;tmi-sent-ts=1696952295788;turbo=0;user-id=31437432;user-type=mod :nouryxd!nouryxd@nouryxd.tmi.twitch.tv PRIVMSG #nourybot :()weather Vilnius');