Este sítio funciona melhor com JavaScript.
Página inicial
Ajuda
Iniciar sessão
ben
/
earwigbot
espelho de
https://github.com/earwig/earwigbot
Vigiar
1
Marcar como favorito
1
Derivar
0
Código
Lançamentos
4
Trabalho
Ver a proveniência
moving IRC class modules (base_command.py, connection.py, data.py, rc.py) to irc/classes/
tags/v0.1^2
Ben Kurtovic
há 13 anos
ascendente
d57f2623d2
cometimento
a06e35ecef
15 ficheiros alterados
com
17 adições
e
15 eliminações
Visualização em 2 colunas
Opções das diferenças
Mostrar estatísticas
Descarregar ficheiro patch
Descarregar ficheiro diff
+4
-0
irc/classes/__init__.py
+0
-0
irc/classes/base_command.py
+0
-0
irc/classes/connection.py
+0
-0
irc/classes/data.py
+0
-0
irc/classes/rc.py
+1
-1
irc/commands/afc_status.py
+1
-1
irc/commands/calc.py
+1
-1
irc/commands/chanops.py
+4
-2
irc/commands/git.py
+1
-2
irc/commands/help.py
+1
-1
irc/commands/link.py
+1
-2
irc/commands/tasks.py
+1
-1
irc/commands/test.py
+1
-2
irc/frontend.py
+1
-2
irc/watcher.py
+ 4
- 0
irc/classes/__init__.py
Ver ficheiro
@@ -0,0 +1,4 @@
from base_command import *
from connection import *
from data import *
from rc import *
irc/base_command.py → irc/classes/base_command.py
Ver ficheiro
irc/connection.py → irc/classes/connection.py
Ver ficheiro
irc/data.py → irc/classes/data.py
Ver ficheiro
irc/rc.py → irc/classes/rc.py
Ver ficheiro
+ 1
- 1
irc/commands/afc_status.py
Ver ficheiro
@@ -6,7 +6,7 @@ import json
import re
import urllib
from irc.
base_command
import BaseCommand
from irc.
classes
import BaseCommand
class AFCStatus(BaseCommand):
def get_hooks(self):
+ 1
- 1
irc/commands/calc.py
Ver ficheiro
@@ -5,7 +5,7 @@
import re
import urllib
from irc.
base_command
import BaseCommand
from irc.
classes
import BaseCommand
class Calc(BaseCommand):
def get_hooks(self):
+ 1
- 1
irc/commands/chanops.py
Ver ficheiro
@@ -2,7 +2,7 @@
# Voice/devoice/op/deop users in the channel.
from irc.
base_command
import BaseCommand
from irc.
classes
import BaseCommand
from core import config
class ChanOps(BaseCommand):
+ 4
- 2
irc/commands/git.py
Ver ficheiro
@@ -2,9 +2,11 @@
# Commands to interface with the bot's git repository; use '!git help' for sub-command list.
import shlex, subprocess, re
import shlex
import subprocess
import re
from irc.base_command import BaseCommand
from irc.
classes
import BaseCommand
from core import config
class Git(BaseCommand):
+ 1
- 2
irc/commands/help.py
Ver ficheiro
@@ -2,8 +2,7 @@
# Generates help information.
from irc.base_command import BaseCommand
from irc.data import Data
from irc.classes import BaseCommand, Data
from irc import command_handler
class Help(BaseCommand):
+ 1
- 1
irc/commands/link.py
Ver ficheiro
@@ -4,7 +4,7 @@
import re
from irc.
base_command
import BaseCommand
from irc.
classes
import BaseCommand
class Link(BaseCommand):
def get_hooks(self):
+ 1
- 2
irc/commands/tasks.py
Ver ficheiro
@@ -5,8 +5,7 @@
import threading
import re
from irc.base_command import BaseCommand
from irc.data import *
from irc.classes import BaseCommand, Data, KwargParseException
from wiki import task_manager
from core import config
+ 1
- 1
irc/commands/test.py
Ver ficheiro
@@ -4,7 +4,7 @@
import random
from irc.
base_command
import BaseCommand
from irc.
classes
import BaseCommand
class Test(BaseCommand):
def get_hooks(self):
+ 1
- 2
irc/frontend.py
Ver ficheiro
@@ -13,8 +13,7 @@ from re import findall
from core import config
from irc import command_handler
from irc.connection import *
from irc.data import Data
from irc.classes import Connection, Data, BrokenSocketException
connection = None
+ 1
- 2
irc/watcher.py
Ver ficheiro
@@ -11,8 +11,7 @@ channels in the IRC frontend.
"""
from core import config
from irc.connection import *
from irc.rc import RC
from irc.classes import Connection, RC, BrokenSocketException
from irc import watcher_logic
frontend_conn = None
Escrever
Pré-visualizar
Carregando…
Cancelar
Guardar