It is currently Thu Aug 17, 2017 10:28 pm
Change font size
The Gent's Club Rage-free Gaming!

Club General Chat

TGCbot

A chat for Club stuff that isn't directly related to a game.

TGCbot

Postby Caridor » Mon Sep 03, 2012 4:38 pm

Can I ask who came up with this thing?
Whenever you type !ban in the chat, it posts the black list.
I'm sure there are other commands but just this one feature is awesome, at least until we can have moderation control.
User avatar
Caridor
 
Posts: 284
Joined: Fri Dec 16, 2011 5:35 pm
Location: The darkest corners of the hearts of men.

Re: TGCbot

Postby Kab00se » Mon Sep 03, 2012 6:12 pm

This is WaruiiKagemusha's work. Quite nifty indeed.
~ Chance favors the prepared mind.

Image
User avatar
Kab00se
Community Moderator
 
Posts: 614
Joined: Mon Nov 21, 2011 1:07 am
Location: Belgium

Re: TGCbot

Postby Ryulin » Fri Sep 14, 2012 10:08 pm

Waruii has been coding it and I've been spec'ing it up for what we need.
Not officially announced as such as it is still in development, and also not online all the time.
Apart from banlist the other main one is !lfg (looking for game).
~Ryulin
User avatar
Ryulin
TGC Founder
 
Posts: 374
Joined: Sun Sep 18, 2011 7:08 pm

Re: TGCbot

Postby Mythinite » Sun Sep 16, 2012 1:24 pm

May I humbly suggest !rules (if it isn't included under the ban list, I haven't used it) and maybe !url too?
All hail to the tail!
User avatar
Mythinite
TGC Founder
 
Posts: 1610
Joined: Sun Sep 18, 2011 6:18 pm
Location: Denmark

Re: TGCbot

Postby Ohayoyaho » Tue Sep 18, 2012 1:52 am

Short description of TGCBot. Last update: 2012-11-18T22:34:00.

Currently there are 6 ingame chat ranks: owner, admin, technician, mod(erator), user and blacklister. Blacklisted users can use none of the commands, unless explicitly stated.

The following users are owners: Krimson, Mythinite, Ryulin.
The list of blacklisted users can be consulted in the thread about blacklisted summoners.

------------------
1. Commands
The following commands work differently for different ranks and, most importantly, usually have different cooldowns.

------------------
1.1 Command overview
This short listing provides an overview over which commands belong semantically together.

The event system:
  • !event add
  • !event rm
  • !event list
  • !event listregged
  • !reg
  • !unreg

The fortune system:
  • !fortune
  • !zen


The lfg system:
  • !lfg
  • !lfNm
  • !lfgnotify
  • !lfgunnotify

The hall of fame system:
  • !hof
  • !hof add
  • !hof rm

The namecall notification system:
  • !notify on namecall
  • !denotify on namecall

The report system:
  • !report
  • !show reports
  • !process report
  • !reset reports
  • !rm report


The topic system:
  • !topic on
  • !topic change
  • !topic interval

------------------
1.2 Public chat commands
These commands can be used in the public TGC chat exclusively.

The commands are:
  • !exec (command)
    • Executes a blocking command on the OS the bot runs on (at the moment: GNU/Linux). The command is run using the same credentials the bot program uses, which grants read access to the bot directory and write access to the logging directory.
    • owners/techs: no cooldown.
  • !fortune [modules]
    • Displays a random fortune cookie. If modules is provided, only fortune cookies from the listed modules will be selected.
      Available fortune modules are:
      Spoiler:
    • owners/admins/techs: no cooldown.
    • mods/users: 10 minutes cooldown.
  • !hall of fame | !hof
    • Shows the TGC hall of fame.
    • owners/admins/mods/techs: no cooldown.
    • users: 5 minutes cooldown.
  • !hall of fame add (num) (entry) | !hof add (num) (entry)
    • Adds a hall of fame entry into position num (moving all entries of equal or lower position one position down).
    • owners/admins/mods/techs: no cooldown.
  • !hall of fame rm (num) | !hof rm (num)
    • Removes the entry in position num from the hall of fame list.
    • owners/admins/mods/techs: no cooldown.
  • !lfg:
    • Shows a list of all currently registered parties still looking for people (to play a game with). Short for "Looking for group".
    • owners/admins/mods/users/techs: cooldown of 1 minute.
  • !lfNm for (gametype):
    • Registers a game for every user in the chat to see. N is the amount of sought-after players and gametype is the type of game the game creator intends to play. The list of registered games can be requested using the !lfg command.
    • owners/admins/mods/users/techs: no cooldown. Abuse will result in a ban.
  • !reg (event)
    • Registers the calling user to the event event. A list of current events can be obtained by use of !listevents.
    • owners/admins/techs/mods: no cooldown.
    • users: 1 minute cooldown.
  • !role change: (username) (role/rank)
    • Changes the role/rank of a user.
    • owner: can change the ranks of everyone but other owners arbitrarily.
    • admin: can promote users to moderators, demote them back and (un)ban users.
    • mods: can (un)ban users.
    • techs: same as owner, but cannot promote themselves to the class of owner themselves
  • !show banlist | techlist | modlist | adminlist | ownerlist
    • Shows a list of users who possess a certain role. Not all lists are available to every class.
    • owner/tech: show every list.
    • admin: show every list but the list of technicians.
    • mod/user: same as for admins, but with a cooldown of 5 minutes.
  • !shutdown
    • Asks the bot to shutdown. It will request a confirmation before actually shutting down (the expected answers to that request are "yes" or "no").
    • owners/techs: no cooldown.
  • !streams
    • Shows, which of the TGC streams are on- and offline.
    • owners/admin/tech: no cooldown.
    • mods: 30 seconds cooldown.
    • users: 5 minutes cooldown.
  • !topic new (new topic)/ !topic change topic (new topic)
    • Changes the current topic. "%n" will be replaced by a newline character.
    • owners/admins/techs: no cooldown.
  • !topic interval (interval)
    • Changes the interval, after which the topic is shown. interval needs to have the following format: (integer)s|m|h. s, m and h denote the unit of the number and understandibly represent seconds, minutes and hours respectively. The topic is, when activated, regularily displayed in the set intervals (beginning from 00:00 or 12am).
    • owners/admins/techs: no cooldown
  • !topic on|off / !topic yes|no
    • [De]activate automatic, regular topic display.
    • owners/admins/techs: no cooldown.
  • !unreg (event)
    • Unregisters the calling user from the event event. A list of current events can be obtained by use of !listevents.
    • owners/admins/techs/mods: no cooldown.
    • users: 1 minute cooldown.

  • !zen
    • Short for !fortune tao wisdom

------------------
1.3 Private commands
These commands will only work in direct communication with the bot. That is, one needs to add the bot to one's contact list first.

The commands are:
  • !event add (min) (max) (until) (event) ; !addevent (min) (max) (until) (event)
    • Adds a new event called event. Users will be able to register to each event.
      • min marks the minimum amount of users needed for registration (if less than min users are registered, unregistering will not be possible).
      • max is the maximum amount of users able to register concurrently.
      • until marks the end of the eventʼs lifetime, after which no further (un)registrations will be possible and the registration list will be frozen. It needs to be either “-” (if no lifetime is wished) or “%Y-%m-%dT%H:%M:%S” (e.g. “2012-04-07T19:30:44”) for a specific date/time. Dates/times are interpreted as UTC times.
    • owners/admins/mods/techs: no cooldown.
  • !denotify on namecall | !denonc
    • Unsubscribes a user if she happened to be registered with the notification on namecall service (cf. !notify on namecall).
    • owners/admins/mods/users/techs: no cooldown.
  • !event rm (event) ; !rmevent (event)
    • Removes an existing event under the name event. The list of registered users will be lost.
    • owners/admins/mods/techs: no cooldown.
  • !exec "(room)" (command)
    • Works just as its public chat pendent, but with the additional specification in which room the results shall be posted. Currently the only valid value for room is "The Gentlemen's Club".
    • owners/techs: no cooldown.
  • !lfgnotify
    • Subscribes the user to a notification service that sends direct messages to registered users whenever someone in the TGC public chat is looking for people to play with. Joining a game or queue will result in a cancelation of the subscription.
    • owners/admins/mods/users/techs: no cooldown.
  • !lfgunnotify
    • Cancels the subscription to the game notification service aquired by using !lfgnotify.
    • owners/admins/mods/users/techs: no cooldown.
  • !notify on namecall [parts of name] | !nonc [parts of name]
    • Subscribes the user to a service that will notify her if the bot thinks it found a reference to them in one of the chat rooms the bot is in. For long names one may specify a space seperated list of words (parts of name) that are alternatively interpreted as the user name (e.g. if you name is PlatinFighter, you may provide “platin fighter” for parts of name, so that either of those words will trigger the notification on namecall).
    • owners/admins/mods/users/techs: no cooldown.
  • !process report (id)
    • Processes the report with the given id. Processed reports are backed up forever and cannot be removed.
    • owners/admins/techs: no cooldown.

  • !report (username)
    • Report a user for non TGC conform behaviour. If used, the bot will wait another 5 minutes for a report reason (simply directly send the bot a message). If none is provided, no report will be logged.
    • owners/admins/mods/users/techs: no cooldown. Abuse is punishable.

  • !reset reports
    • Deletes all unprocessed reports made to the bot by use of !report.
    • owners/admins/techs: no cooldown.

  • !rm report (id)
    • Removes an unprocessed report made to the bot by user of !report.
    • owners/admins/techs: no cooldown.

  • !show reports [id]
    • Shows either the list of all unprocessed reports made to the bot by use of !report or a specific (un)processed report with the given id.
    • owners/admins/techs: no cooldown.

------------------
1.4 Both private and public commands
These commands work both in the TGC public chat as well as in direct communication with the bot. The mentioned cooldowns express the cooldown in the TGC public chat only. In direct communication with the bot, nobody has any cooldowns except for users, who enjoy a 5 second cooldown through the board.

The commands are:
  • !event list ; !listevents
    • Lists all current events that a user can register herself to.
    • owners/admins/techs/mods: no cooldown.
    • users: 5 minutes cooldown
  • !event listregged (event); !listregged (event)
    • Lists all users registered with the event event.
    • owners/admins/mods/techs: no cooldown.
  • !help / !commands / !rules
    • Shows a list of URLs to help / rules listings.
    • owners/admins/techs: no cooldown.
    • mods/users: a cooldown of 2 minutes.
  • !irc
    • Displays a URI for the TGC IRC channel.
    • owner/admins/techs: no cooldown.
    • mods/users: 10 minute cooldown.
  • !lastupdate
    • Displays the last update date of TGCBot.
    • owners/admins/techs: no cooldown.
    • mods/users: 10 minute cooldown.
  • !mumble
    • Displays information regarding the mumble server of The Gentlemen's Club.
    • owners/admins/techs: no cooldown.
    • mods/users: 5 minute cooldown.
  • !news
    • Displays the current TGC news.
    • owners/admins/techs: no cooldown.
    • mods/users: 10 minute cooldown.
  • !patchnotes
    • Displays URLs pointing to the most recent League of Legends patchnotes.
    • owners/admins/techs: no cooldown.
    • mods/users: 5 minute cooldown.
  • !rules (ruleset)
    • Displays a set of rules or hyperlinks to the requested game modes or topics. Current rulesets are:
      Spoiler:
      • tgc: Rules of conduct for behaviour within The Gentlemenʼs Club
      • arab: Rules for the game mode “All random all bottom”
      • araz: Rules for the game mode “All random all zeal”
      • arpg: Rules for the game mode “All random Proving Grounds”
      • bravery: Rules for the game mode “Bravery”
      • cts: Rules for the game mode “Capture the Shroom”
      • ctt: Rules for the game mode “Capture the Teemo”
      • freezetag: Rules for the game mode “Freezetag”
      • draftrace: Rules for the game mode “Draft Race”
      • hns: Rules for the game mode “Hide and Seek”
      • hunter: Rules for the game mode “Hunter”
      • psb: Rules for the game mode “Protect Soraka Bot”

    • owners/admins/techs: no cooldown.
    • mods/users: 10 minute cooldown (except for tgc, which enjoys a 5 minute cooldown).
  • !irc change: (new IRC info)
    • Changes the information displayed on use of !irc.
    • owners/admins/techs: no cooldown.
  • !lastupdate change: (new update info)
    • Changes the information displayed on use of !lastupdate.
    • owners/admins/techs: no cooldown.
  • !mumble change: (new mumble information)
    • Changes the information displayed on use of !mumble.
    • owners/admins/techs: No cooldown.
  • !news change: (new TGC news)
    • Changes the information displayed on use of !news.
    • owners/admins/techs: no cooldown.
  • !patchnotes change: (new patchnotes)
    • Change the information displayed on use of !patchnotes.
    • owners/admins/mods/techs: no cooldown

------------------
2. Special notes
Note that especially !lfg and !lfNm are available in english free form. That means that instead of !lfNm a user can send inquiries such as "+N for (gametype)" or "we need +N for (gametype)". Likewise !lfg can be invoked by asking questions such as "Are there any games up?" or "Is anybody up for a game?".

------------------
3. Acknowledgements
A list of people whose ideas were implemented follows.
  • The !notify on namecall command. Idea by Mafaias.
  • The !mumble command. Idea by Ryulin.
  • The !patchnotes command. Idea by Cloudgazer.
  • The !report command. Idea by eddietagus.
  • The !rules command. Idea by Mythinite.
  • The !streams command. Idea by Krimson.
//en
Ohayoyaho
 
Posts: 21
Joined: Sat Sep 01, 2012 1:07 am

Re: TGCbot

Postby He Who Hungers » Tue Sep 18, 2012 2:36 am

I don't really have a specific idea of how it works, but it looks impressive!
Confucius wrote:The gentleman is modest in his speech, but exceeds in his actions.
User avatar
He Who Hungers
 
Posts: 619
Joined: Wed Jan 25, 2012 1:42 pm
Location: Veenendaal, the Netherlands

Re: TGCbot

Postby Cloudgazer » Tue Sep 18, 2012 1:28 pm

i'd like to have a link to the current patch notes :D

i understand that it is difficult to update the url though, i can imagine more would need rights to update them, but i could be really handy
Cloudgazer
 
Posts: 13
Joined: Sun Apr 29, 2012 6:32 pm

Re: TGCbot

Postby Sunshine » Tue Sep 18, 2012 7:15 pm

That's amazing! I guess I'll have to bookmark this to look up the commands the first time, or simply remember the help command. If all got into it, it'll be a great feature of our chatroom. :)
User avatar
Sunshine
 
Posts: 109
Joined: Wed Feb 01, 2012 6:36 pm
Location: Germany

Re: TGCbot

Postby eddietagus » Fri Oct 12, 2012 5:40 pm

The bot is amazing, but can we have a !report "summoner name" function?
So that a temporary list (if like 5 people report that person) is made and after said summoners evaluated to see if they should be blacklisted.
eddietagus
 
Posts: 2
Joined: Sun Jun 24, 2012 10:36 pm

Re: TGCbot

Postby Cloudgazer » Sun Oct 14, 2012 1:52 pm

i have some ideas you could implement if you're super bored or interested :3

* !show stats (shows how often which commands have been used since start)


and to get some automatism in topic management you could

* 1) !propose topic "bot is awesome - discuss"
2) automatic vote starts where at least 3-5 people have to write 'yes' within the next minute or it gets canceled and then the topic gets replaced by the new one

(not sure how to manage the eligability of the voters though)

anyways, that way you don't need to change the topic yourself anymore and the same proposal system could work for the patch notes url

well if it sounds silly, please don't hesitate to ignore it ^^'
Cloudgazer
 
Posts: 13
Joined: Sun Apr 29, 2012 6:32 pm

Next

Return to Club General Chat

Who is online

Users browsing this forum: No registered users and 1 guest

cron