Skip to content

Instantly share code, notes, and snippets.

View tolekk's full-sized avatar
🏠
Working from home

tolekk

🏠
Working from home
  • Poland
View GitHub Profile
Dec 08 22:45:02 tolekk systemd[1]: Started pajbot for 360zeus.
Dec 08 22:45:03 tolekk python3[6748]: [2019-12-08 22:45:03,256] [DEBUG ] Loaded config
Dec 08 22:45:03 tolekk python3[6748]: [2019-12-08 22:45:03,258] [DEBUG ] Cache Miss: api:twitch:helix:user:by-login:brazilbot
Dec 08 22:45:03 tolekk python3[6748]: [2019-12-08 22:45:03,258] [DEBUG ] No app access token present, trying to fetch new OAuth token
Dec 08 22:45:04 tolekk python3[6748]: [2019-12-08 22:45:04,155] [ERROR ] Logging an uncaught exception
Dec 08 22:45:04 tolekk python3[6748]: Traceback (most recent call last):
Dec 08 22:45:04 tolekk python3[6748]: File "main.py", line 74, in <module>
Dec 08 22:45:04 tolekk python3[6748]: run(args)
Dec 08 22:45:04 tolekk python3[6748]: File "main.py", line 40, in run
Dec 08 22:45:04 tolekk python3[6748]: pajbot = Bot(config, args)
!add command ping --reply @$(source:name), $(tb:bot_name) $(tb:version_brief) online for $(tb:bot_uptime)
!add command commands|help --reply @$(source:name), $(tb:bot_name) commands available here: https://$(tb:bot_domain)/commands
!add command ecount --reply @$(source:name), $(1) has been used $(ecount;1) times.
!add command epm --reply @$(source:name), $(1) is currently being used $(epm;1) times per minute.
!add command uptime|downtime --reply @$(source:name), $(tb:broadcaster) has been $(tb:stream_status) for $(tb:status_length)
!add command points|p --reply @$(source:name), $(usersource;1:name) has $(usersource;1:points|number_format) points
!add command lastseen --reply @$(source:name), $(user;1:name) was last seen $(user;1:last_seen|time_since_dt) ago, and last active $(user;1:last_active|time_since_dt) ago.
!add command epmrecord --reply @$(source:name), $(1) per minute record is $(epmrecord;1).
!add command profile --reply @$(source:name) https://$(tb:bot_domain)/user/$(usersource;1:username)
!add com
@tolekk
tolekk / Pepega
Created November 28, 2019 14:13
Pepega
const { ChatClient } = require("dank-twitch-irc");
//Config with login and passwd.
let client = new ChatClient({
username: "tolekkbot", // justinfan12345 by default - For anonymous chat connection
password: "superlongpasswordnam", // undefined by default (no password)
rateLimits: "verifiedBot",