Removed automation

This commit is contained in:
Maël 2017-07-12 20:04:17 -04:00
parent f473c3a50c
commit af2fad0f06
2 changed files with 148 additions and 127 deletions

View file

@ -2,7 +2,6 @@
<project version="4"> <project version="4">
<component name="ChangeListManager"> <component name="ChangeListManager">
<list default="true" id="51a90df4-b95c-4bec-a2ea-f63465f4cb54" name="Default" comment=""> <list default="true" id="51a90df4-b95c-4bec-a2ea-f63465f4cb54" name="Default" comment="">
<change type="NEW" beforePath="" afterPath="$PROJECT_DIR$/.idea/vcs.xml" />
<change type="MODIFICATION" beforePath="$PROJECT_DIR$/.idea/workspace.xml" afterPath="$PROJECT_DIR$/.idea/workspace.xml" /> <change type="MODIFICATION" beforePath="$PROJECT_DIR$/.idea/workspace.xml" afterPath="$PROJECT_DIR$/.idea/workspace.xml" />
<change type="MODIFICATION" beforePath="$PROJECT_DIR$/bot.py" afterPath="$PROJECT_DIR$/bot.py" /> <change type="MODIFICATION" beforePath="$PROJECT_DIR$/bot.py" afterPath="$PROJECT_DIR$/bot.py" />
</list> </list>
@ -52,18 +51,6 @@
</provider> </provider>
</entry> </entry>
</file> </file>
<file leaf-file-name="funs.py" pinned="false" current-in-tab="false">
<entry file="file://$PROJECT_DIR$/cogs/funs.py">
<provider selected="true" editor-type-id="text-editor">
<state relative-caret-position="286">
<caret line="18" column="27" lean-forward="false" selection-start-line="18" selection-start-column="27" selection-end-line="18" selection-end-column="48" />
<folding>
<element signature="e#0#32#0" expanded="true" />
</folding>
</state>
</provider>
</entry>
</file>
<file leaf-file-name="search.py" pinned="false" current-in-tab="false"> <file leaf-file-name="search.py" pinned="false" current-in-tab="false">
<entry file="file://$PROJECT_DIR$/cogs/search.py"> <entry file="file://$PROJECT_DIR$/cogs/search.py">
<provider selected="true" editor-type-id="text-editor"> <provider selected="true" editor-type-id="text-editor">
@ -79,8 +66,8 @@
<file leaf-file-name="ci.py" pinned="false" current-in-tab="false"> <file leaf-file-name="ci.py" pinned="false" current-in-tab="false">
<entry file="file://$PROJECT_DIR$/cogs/ci.py"> <entry file="file://$PROJECT_DIR$/cogs/ci.py">
<provider selected="true" editor-type-id="text-editor"> <provider selected="true" editor-type-id="text-editor">
<state relative-caret-position="3380"> <state relative-caret-position="1872">
<caret line="137" column="44" lean-forward="false" selection-start-line="137" selection-start-column="44" selection-end-line="137" selection-end-column="44" /> <caret line="79" column="29" lean-forward="false" selection-start-line="79" selection-start-column="29" selection-end-line="79" selection-end-column="29" />
<folding> <folding>
<element signature="e#0#32#0" expanded="true" /> <element signature="e#0#32#0" expanded="true" />
<marker date="1499276637044" expanded="true" signature="272:523" ph="CREATE TABLE... users" /> <marker date="1499276637044" expanded="true" signature="272:523" ph="CREATE TABLE... users" />
@ -101,6 +88,54 @@
</provider> </provider>
</entry> </entry>
</file> </file>
<file leaf-file-name="ci.py" pinned="false" current-in-tab="false">
<entry file="file://$USER_HOME$/Bureau/tuxbot/cogs/ci.py">
<provider selected="true" editor-type-id="text-editor">
<state relative-caret-position="650">
<caret line="32" column="28" lean-forward="false" selection-start-line="32" selection-start-column="28" selection-end-line="32" selection-end-column="28" />
<folding>
<marker date="1497297551652" expanded="true" signature="272:523" ph="CREATE TABLE... users" />
<marker date="1497297551652" expanded="true" signature="1348:1456" ph="SELECT useri... users" />
<marker date="1497297551652" expanded="true" signature="2962:3005" ph="SELECT id, u... users" />
<marker date="1497297551652" expanded="true" signature="3225:3326" ph="INSERT INTO users... " />
<marker date="1497297551652" expanded="true" signature="3928:3971" ph="SELECT id, u... users" />
<marker date="1497297551652" expanded="true" signature="4113:4157" ph="UPDATE users... " />
<marker date="1497297551652" expanded="true" signature="4813:4856" ph="SELECT id, u... users" />
<marker date="1497297551652" expanded="true" signature="4998:5038" ph="UPDATE users... " />
<marker date="1497297551652" expanded="true" signature="5604:5647" ph="SELECT id, u... users" />
<marker date="1497297551652" expanded="true" signature="5777:5819" ph="UPDATE users... " />
<marker date="1497297551652" expanded="true" signature="6241:6271" ph="SELECT id, u... users" />
</folding>
</state>
</provider>
</entry>
</file>
<file leaf-file-name="ci.py" pinned="false" current-in-tab="false">
<entry file="file:///var/www/html/tuxbot/cogs/ci.py">
<provider selected="true" editor-type-id="text-editor">
<state relative-caret-position="2210">
<caret line="92" column="46" lean-forward="false" selection-start-line="92" selection-start-column="46" selection-end-line="92" selection-end-column="46" />
<folding>
<marker date="1499458789793" expanded="true" signature="272:523" ph="CREATE TABLE... users" />
<marker date="1499458789793" expanded="true" signature="1348:1460" ph="SELECT useri... users" />
<marker date="1499458789793" expanded="true" signature="3102:3145" ph="SELECT id, u... users" />
<marker date="1499458789793" expanded="true" signature="3365:3466" ph="INSERT INTO users... " />
<marker date="1499458789793" expanded="true" signature="3952:3995" ph="SELECT id, u... users" />
<marker date="1499458789793" expanded="true" signature="4124:4157" ph="DELETE FROM " />
<marker date="1499458789793" expanded="true" signature="4525:4568" ph="SELECT id, u... users" />
<marker date="1499458789793" expanded="true" signature="4710:4758" ph="UPDATE users... " />
<marker date="1499458789793" expanded="true" signature="5597:5640" ph="SELECT id, u... users" />
<marker date="1499458789793" expanded="true" signature="5782:5826" ph="UPDATE users... " />
<marker date="1499458789793" expanded="true" signature="6482:6525" ph="SELECT id, u... users" />
<marker date="1499458789793" expanded="true" signature="6667:6707" ph="UPDATE users... " />
<marker date="1499458789793" expanded="true" signature="7273:7316" ph="SELECT id, u... users" />
<marker date="1499458789793" expanded="true" signature="7446:7488" ph="UPDATE users... " />
<marker date="1499458789793" expanded="true" signature="7910:7940" ph="SELECT id, u... users" />
</folding>
</state>
</provider>
</entry>
</file>
<file leaf-file-name="admin.py" pinned="false" current-in-tab="false"> <file leaf-file-name="admin.py" pinned="false" current-in-tab="false">
<entry file="file://$PROJECT_DIR$/cogs/admin.py"> <entry file="file://$PROJECT_DIR$/cogs/admin.py">
<provider selected="true" editor-type-id="text-editor"> <provider selected="true" editor-type-id="text-editor">
@ -113,35 +148,24 @@
</provider> </provider>
</entry> </entry>
</file> </file>
<file leaf-file-name="checks.py" pinned="false" current-in-tab="false"> <file leaf-file-name="bot.py" pinned="false" current-in-tab="false">
<entry file="file://$PROJECT_DIR$/cogs/utils/checks.py">
<provider selected="true" editor-type-id="text-editor">
<state relative-caret-position="234">
<caret line="10" column="25" lean-forward="false" selection-start-line="10" selection-start-column="25" selection-end-line="10" selection-end-column="25" />
<folding>
<element signature="e#24#44#0" expanded="true" />
</folding>
</state>
</provider>
</entry>
</file>
<file leaf-file-name="bot.py" pinned="false" current-in-tab="true">
<entry file="file://$PROJECT_DIR$/bot.py"> <entry file="file://$PROJECT_DIR$/bot.py">
<provider selected="true" editor-type-id="text-editor"> <provider selected="true" editor-type-id="text-editor">
<state relative-caret-position="-151"> <state relative-caret-position="447">
<caret line="100" column="4" lean-forward="false" selection-start-line="100" selection-start-column="4" selection-end-line="100" selection-end-column="4" /> <caret line="96" column="0" lean-forward="false" selection-start-line="96" selection-start-column="0" selection-end-line="96" selection-end-column="0" />
<folding /> <folding />
</state> </state>
</provider> </provider>
</entry> </entry>
</file> </file>
<file leaf-file-name="hack.py" pinned="false" current-in-tab="false"> <file leaf-file-name="hack.py" pinned="false" current-in-tab="true">
<entry file="file://$USER_HOME$/Bureau/hack.py"> <entry file="file://$USER_HOME$/Bureau/hack.py">
<provider selected="true" editor-type-id="text-editor"> <provider selected="true" editor-type-id="text-editor">
<state relative-caret-position="962"> <state relative-caret-position="754">
<caret line="38" column="0" lean-forward="false" selection-start-line="38" selection-start-column="0" selection-end-line="42" selection-end-column="0" /> <caret line="41" column="0" lean-forward="true" selection-start-line="41" selection-start-column="0" selection-end-line="41" selection-end-column="0" />
<folding> <folding>
<element signature="e#0#14#0" expanded="true" /> <element signature="e#0#14#0" expanded="true" />
<marker date="1499875343612" expanded="true" signature="289:791" ph="..." />
</folding> </folding>
</state> </state>
</provider> </provider>
@ -224,8 +248,9 @@
<option value="$PROJECT_DIR$/cogs/basics.py" /> <option value="$PROJECT_DIR$/cogs/basics.py" />
<option value="$PROJECT_DIR$/cogs/admin.py" /> <option value="$PROJECT_DIR$/cogs/admin.py" />
<option value="$PROJECT_DIR$/cogs/ci.py" /> <option value="$PROJECT_DIR$/cogs/ci.py" />
<option value="$USER_HOME$/Bureau/hack.py" /> <option value="/var/www/html/tuxbot/cogs/ci.py" />
<option value="$PROJECT_DIR$/bot.py" /> <option value="$PROJECT_DIR$/bot.py" />
<option value="$USER_HOME$/Bureau/hack.py" />
</list> </list>
</option> </option>
</component> </component>
@ -237,9 +262,9 @@
</component> </component>
<component name="ProjectFrameBounds"> <component name="ProjectFrameBounds">
<option name="x" value="1920" /> <option name="x" value="1920" />
<option name="y" value="202" /> <option name="y" value="27" />
<option name="width" value="1890" /> <option name="width" value="1920" />
<option name="height" value="796" /> <option name="height" value="1053" />
</component> </component>
<component name="ProjectView"> <component name="ProjectView">
<navigator currentView="ProjectPane" proportions="" version="1"> <navigator currentView="ProjectPane" proportions="" version="1">
@ -256,8 +281,6 @@
<foldersAlwaysOnTop value="true" /> <foldersAlwaysOnTop value="true" />
</navigator> </navigator>
<panes> <panes>
<pane id="Scratches" />
<pane id="Scope" />
<pane id="ProjectPane"> <pane id="ProjectPane">
<subPane> <subPane>
<PATH> <PATH>
@ -272,6 +295,8 @@
</PATH> </PATH>
</subPane> </subPane>
</pane> </pane>
<pane id="Scope" />
<pane id="Scratches" />
</panes> </panes>
</component> </component>
<component name="PropertiesComponent"> <component name="PropertiesComponent">
@ -472,10 +497,10 @@
</todo-panel> </todo-panel>
</component> </component>
<component name="ToolWindowManager"> <component name="ToolWindowManager">
<frame x="1920" y="202" width="1890" height="796" extended-state="0" /> <frame x="1920" y="27" width="1920" height="1053" extended-state="6" />
<editor active="true" /> <editor active="true" />
<layout> <layout>
<window_info id="Project" active="false" anchor="left" auto_hide="false" internal_type="DOCKED" type="DOCKED" visible="true" show_stripe_button="true" weight="0.21304348" sideWeight="0.5" order="0" side_tool="false" content_ui="combo" /> <window_info id="Project" active="false" anchor="left" auto_hide="false" internal_type="DOCKED" type="DOCKED" visible="true" show_stripe_button="true" weight="0.1684492" sideWeight="0.5" order="0" side_tool="false" content_ui="combo" />
<window_info id="TODO" active="false" anchor="bottom" auto_hide="false" internal_type="DOCKED" type="DOCKED" visible="false" show_stripe_button="true" weight="0.33" sideWeight="0.5" order="6" side_tool="false" content_ui="tabs" /> <window_info id="TODO" active="false" anchor="bottom" auto_hide="false" internal_type="DOCKED" type="DOCKED" visible="false" show_stripe_button="true" weight="0.33" sideWeight="0.5" order="6" side_tool="false" content_ui="tabs" />
<window_info id="Event Log" active="false" anchor="bottom" auto_hide="false" internal_type="DOCKED" type="DOCKED" visible="false" show_stripe_button="true" weight="0.3292683" sideWeight="0.50216216" order="7" side_tool="true" content_ui="tabs" /> <window_info id="Event Log" active="false" anchor="bottom" auto_hide="false" internal_type="DOCKED" type="DOCKED" visible="false" show_stripe_button="true" weight="0.3292683" sideWeight="0.50216216" order="7" side_tool="true" content_ui="tabs" />
<window_info id="Database" active="false" anchor="right" auto_hide="false" internal_type="DOCKED" type="DOCKED" visible="false" show_stripe_button="true" weight="0.33" sideWeight="0.5" order="3" side_tool="false" content_ui="tabs" /> <window_info id="Database" active="false" anchor="right" auto_hide="false" internal_type="DOCKED" type="DOCKED" visible="false" show_stripe_button="true" weight="0.33" sideWeight="0.5" order="3" side_tool="false" content_ui="tabs" />
@ -483,7 +508,7 @@
<window_info id="Python Console" active="false" anchor="bottom" auto_hide="false" internal_type="DOCKED" type="DOCKED" visible="false" show_stripe_button="true" weight="0.11899564" sideWeight="0.49783784" order="8" side_tool="false" content_ui="tabs" /> <window_info id="Python Console" active="false" anchor="bottom" auto_hide="false" internal_type="DOCKED" type="DOCKED" visible="false" show_stripe_button="true" weight="0.11899564" sideWeight="0.49783784" order="8" side_tool="false" content_ui="tabs" />
<window_info id="Run" active="false" anchor="bottom" auto_hide="false" internal_type="DOCKED" type="DOCKED" visible="false" show_stripe_button="true" weight="0.33" sideWeight="0.5" order="2" side_tool="false" content_ui="tabs" /> <window_info id="Run" active="false" anchor="bottom" auto_hide="false" internal_type="DOCKED" type="DOCKED" visible="false" show_stripe_button="true" weight="0.33" sideWeight="0.5" order="2" side_tool="false" content_ui="tabs" />
<window_info id="Structure" active="false" anchor="left" auto_hide="false" internal_type="DOCKED" type="DOCKED" visible="false" show_stripe_button="true" weight="0.24973261" sideWeight="0.5" order="1" side_tool="false" content_ui="tabs" /> <window_info id="Structure" active="false" anchor="left" auto_hide="false" internal_type="DOCKED" type="DOCKED" visible="false" show_stripe_button="true" weight="0.24973261" sideWeight="0.5" order="1" side_tool="false" content_ui="tabs" />
<window_info id="Terminal" active="false" anchor="bottom" auto_hide="false" internal_type="DOCKED" type="DOCKED" visible="true" show_stripe_button="true" weight="0.2706422" sideWeight="0.49783784" order="9" side_tool="false" content_ui="tabs" /> <window_info id="Terminal" active="false" anchor="bottom" auto_hide="false" internal_type="DOCKED" type="DOCKED" visible="true" show_stripe_button="true" weight="0.19978046" sideWeight="0.49783784" order="9" side_tool="false" content_ui="tabs" />
<window_info id="Favorites" active="false" anchor="left" auto_hide="false" internal_type="DOCKED" type="DOCKED" visible="false" show_stripe_button="true" weight="0.33" sideWeight="0.5" order="2" side_tool="true" content_ui="tabs" /> <window_info id="Favorites" active="false" anchor="left" auto_hide="false" internal_type="DOCKED" type="DOCKED" visible="false" show_stripe_button="true" weight="0.33" sideWeight="0.5" order="2" side_tool="true" content_ui="tabs" />
<window_info id="Debug" active="false" anchor="bottom" auto_hide="false" internal_type="DOCKED" type="DOCKED" visible="false" show_stripe_button="true" weight="0.4" sideWeight="0.5" order="3" side_tool="false" content_ui="tabs" /> <window_info id="Debug" active="false" anchor="bottom" auto_hide="false" internal_type="DOCKED" type="DOCKED" visible="false" show_stripe_button="true" weight="0.4" sideWeight="0.5" order="3" side_tool="false" content_ui="tabs" />
<window_info id="Data View" active="false" anchor="right" auto_hide="false" internal_type="DOCKED" type="DOCKED" visible="false" show_stripe_button="true" weight="0.33" sideWeight="0.5" order="4" side_tool="false" content_ui="tabs" /> <window_info id="Data View" active="false" anchor="right" auto_hide="false" internal_type="DOCKED" type="DOCKED" visible="false" show_stripe_button="true" weight="0.33" sideWeight="0.5" order="4" side_tool="false" content_ui="tabs" />
@ -519,30 +544,10 @@
<watches-manager /> <watches-manager />
</component> </component>
<component name="editorHistoryManager"> <component name="editorHistoryManager">
<entry file="file://$PROJECT_DIR$/cogs/admin.py">
<provider selected="true" editor-type-id="text-editor">
<state relative-caret-position="234">
<caret line="16" column="19" lean-forward="false" selection-start-line="16" selection-start-column="19" selection-end-line="16" selection-end-column="19" />
<folding>
<element signature="e#0#32#0" expanded="true" />
</folding>
</state>
</provider>
</entry>
<entry file="file://$PROJECT_DIR$/texts/ytb.json">
<provider selected="true" editor-type-id="text-editor">
<state relative-caret-position="234">
<caret line="9" column="159" lean-forward="false" selection-start-line="9" selection-start-column="159" selection-end-line="9" selection-end-column="159" />
</state>
</provider>
</entry>
<entry file="file://$PROJECT_DIR$/cogs/funs.py"> <entry file="file://$PROJECT_DIR$/cogs/funs.py">
<provider selected="true" editor-type-id="text-editor"> <provider selected="true" editor-type-id="text-editor">
<state relative-caret-position="2054"> <state relative-caret-position="2054">
<caret line="87" column="0" lean-forward="false" selection-start-line="87" selection-start-column="0" selection-end-line="91" selection-end-column="0" /> <caret line="87" column="0" lean-forward="false" selection-start-line="87" selection-start-column="0" selection-end-line="91" selection-end-column="0" />
<folding>
<element signature="e#0#32#0" expanded="true" />
</folding>
</state> </state>
</provider> </provider>
</entry> </entry>
@ -568,9 +573,6 @@
<provider selected="true" editor-type-id="text-editor"> <provider selected="true" editor-type-id="text-editor">
<state relative-caret-position="1066"> <state relative-caret-position="1066">
<caret line="49" column="0" lean-forward="true" selection-start-line="49" selection-start-column="0" selection-end-line="49" selection-end-column="0" /> <caret line="49" column="0" lean-forward="true" selection-start-line="49" selection-start-column="0" selection-end-line="49" selection-end-column="0" />
<folding>
<element signature="e#0#32#0" expanded="true" />
</folding>
</state> </state>
</provider> </provider>
</entry> </entry>
@ -662,9 +664,6 @@
<provider selected="true" editor-type-id="text-editor"> <provider selected="true" editor-type-id="text-editor">
<state relative-caret-position="1170"> <state relative-caret-position="1170">
<caret line="53" column="0" lean-forward="false" selection-start-line="53" selection-start-column="0" selection-end-line="53" selection-end-column="0" /> <caret line="53" column="0" lean-forward="false" selection-start-line="53" selection-start-column="0" selection-end-line="53" selection-end-column="0" />
<folding>
<element signature="e#0#32#0" expanded="true" />
</folding>
</state> </state>
</provider> </provider>
</entry> </entry>
@ -700,9 +699,6 @@
<provider selected="true" editor-type-id="text-editor"> <provider selected="true" editor-type-id="text-editor">
<state relative-caret-position="364"> <state relative-caret-position="364">
<caret line="20" column="27" lean-forward="false" selection-start-line="20" selection-start-column="27" selection-end-line="20" selection-end-column="27" /> <caret line="20" column="27" lean-forward="false" selection-start-line="20" selection-start-column="27" selection-end-line="20" selection-end-column="27" />
<folding>
<element signature="e#0#32#0" expanded="true" />
</folding>
</state> </state>
</provider> </provider>
</entry> </entry>
@ -772,9 +768,6 @@
<provider selected="true" editor-type-id="text-editor"> <provider selected="true" editor-type-id="text-editor">
<state relative-caret-position="286"> <state relative-caret-position="286">
<caret line="18" column="27" lean-forward="false" selection-start-line="18" selection-start-column="27" selection-end-line="18" selection-end-column="48" /> <caret line="18" column="27" lean-forward="false" selection-start-line="18" selection-start-column="27" selection-end-line="18" selection-end-column="48" />
<folding>
<element signature="e#0#32#0" expanded="true" />
</folding>
</state> </state>
</provider> </provider>
</entry> </entry>
@ -789,9 +782,6 @@
<provider selected="true" editor-type-id="text-editor"> <provider selected="true" editor-type-id="text-editor">
<state relative-caret-position="234"> <state relative-caret-position="234">
<caret line="10" column="25" lean-forward="false" selection-start-line="10" selection-start-column="25" selection-end-line="10" selection-end-column="25" /> <caret line="10" column="25" lean-forward="false" selection-start-line="10" selection-start-column="25" selection-end-line="10" selection-end-column="25" />
<folding>
<element signature="e#24#44#0" expanded="true" />
</folding>
</state> </state>
</provider> </provider>
</entry> </entry>
@ -805,29 +795,6 @@
</state> </state>
</provider> </provider>
</entry> </entry>
<entry file="file://$PROJECT_DIR$/cogs/ci.py">
<provider selected="true" editor-type-id="text-editor">
<state relative-caret-position="3380">
<caret line="137" column="44" lean-forward="false" selection-start-line="137" selection-start-column="44" selection-end-line="137" selection-end-column="44" />
<folding>
<element signature="e#0#32#0" expanded="true" />
<marker date="1499276637044" expanded="true" signature="272:523" ph="CREATE TABLE... users" />
<marker date="1499276637044" expanded="true" signature="1348:1456" ph="SELECT useri... users" />
<marker date="1499276637044" expanded="true" signature="2962:3005" ph="SELECT id, u... users" />
<marker date="1499276637044" expanded="true" signature="3225:3326" ph="INSERT INTO users... " />
<marker date="1499276637044" expanded="true" signature="3829:3872" ph="SELECT id, u... users" />
<marker date="1499276637044" expanded="true" signature="4014:4062" ph="UPDATE users... " />
<marker date="1499276637044" expanded="true" signature="4901:4944" ph="SELECT id, u... users" />
<marker date="1499276637044" expanded="true" signature="5086:5130" ph="UPDATE users... " />
<marker date="1499276637044" expanded="true" signature="5786:5829" ph="SELECT id, u... users" />
<marker date="1499276637044" expanded="true" signature="5971:6011" ph="UPDATE users... " />
<marker date="1499276637044" expanded="true" signature="6577:6620" ph="SELECT id, u... users" />
<marker date="1499276637044" expanded="true" signature="6750:6792" ph="UPDATE users... " />
<marker date="1499276637044" expanded="true" signature="7214:7244" ph="SELECT id, u... users" />
</folding>
</state>
</provider>
</entry>
<entry file="file://$PROJECT_DIR$/cogs/basics.py"> <entry file="file://$PROJECT_DIR$/cogs/basics.py">
<provider selected="true" editor-type-id="text-editor"> <provider selected="true" editor-type-id="text-editor">
<state relative-caret-position="546"> <state relative-caret-position="546">
@ -865,16 +832,6 @@
</state> </state>
</provider> </provider>
</entry> </entry>
<entry file="file://$USER_HOME$/Bureau/hack.py">
<provider selected="true" editor-type-id="text-editor">
<state relative-caret-position="962">
<caret line="38" column="0" lean-forward="false" selection-start-line="38" selection-start-column="0" selection-end-line="42" selection-end-column="0" />
<folding>
<element signature="e#0#14#0" expanded="true" />
</folding>
</state>
</provider>
</entry>
<entry file="file://$USER_HOME$/Téléchargements/tuxbot-bot/main.py"> <entry file="file://$USER_HOME$/Téléchargements/tuxbot-bot/main.py">
<provider selected="true" editor-type-id="text-editor"> <provider selected="true" editor-type-id="text-editor">
<state relative-caret-position="9672"> <state relative-caret-position="9672">
@ -885,13 +842,91 @@
</state> </state>
</provider> </provider>
</entry> </entry>
<entry file="file://$PROJECT_DIR$/cogs/ci.py">
<provider selected="true" editor-type-id="text-editor">
<state relative-caret-position="1872">
<caret line="79" column="29" lean-forward="false" selection-start-line="79" selection-start-column="29" selection-end-line="79" selection-end-column="29" />
<folding>
<element signature="e#0#32#0" expanded="true" />
<marker date="1499276637044" expanded="true" signature="272:523" ph="CREATE TABLE... users" />
<marker date="1499276637044" expanded="true" signature="1348:1456" ph="SELECT useri... users" />
<marker date="1499276637044" expanded="true" signature="2962:3005" ph="SELECT id, u... users" />
<marker date="1499276637044" expanded="true" signature="3225:3326" ph="INSERT INTO users... " />
<marker date="1499276637044" expanded="true" signature="3829:3872" ph="SELECT id, u... users" />
<marker date="1499276637044" expanded="true" signature="4014:4062" ph="UPDATE users... " />
<marker date="1499276637044" expanded="true" signature="4901:4944" ph="SELECT id, u... users" />
<marker date="1499276637044" expanded="true" signature="5086:5130" ph="UPDATE users... " />
<marker date="1499276637044" expanded="true" signature="5786:5829" ph="SELECT id, u... users" />
<marker date="1499276637044" expanded="true" signature="5971:6011" ph="UPDATE users... " />
<marker date="1499276637044" expanded="true" signature="6577:6620" ph="SELECT id, u... users" />
<marker date="1499276637044" expanded="true" signature="6750:6792" ph="UPDATE users... " />
<marker date="1499276637044" expanded="true" signature="7214:7244" ph="SELECT id, u... users" />
</folding>
</state>
</provider>
</entry>
<entry file="file://$USER_HOME$/Bureau/tuxbot/cogs/ci.py">
<provider selected="true" editor-type-id="text-editor">
<state relative-caret-position="650">
<caret line="32" column="28" lean-forward="false" selection-start-line="32" selection-start-column="28" selection-end-line="32" selection-end-column="28" />
<folding>
<marker date="1497297551652" expanded="true" signature="272:523" ph="CREATE TABLE... users" />
<marker date="1497297551652" expanded="true" signature="1348:1456" ph="SELECT useri... users" />
<marker date="1497297551652" expanded="true" signature="2962:3005" ph="SELECT id, u... users" />
<marker date="1497297551652" expanded="true" signature="3225:3326" ph="INSERT INTO users... " />
<marker date="1497297551652" expanded="true" signature="3928:3971" ph="SELECT id, u... users" />
<marker date="1497297551652" expanded="true" signature="4113:4157" ph="UPDATE users... " />
<marker date="1497297551652" expanded="true" signature="4813:4856" ph="SELECT id, u... users" />
<marker date="1497297551652" expanded="true" signature="4998:5038" ph="UPDATE users... " />
<marker date="1497297551652" expanded="true" signature="5604:5647" ph="SELECT id, u... users" />
<marker date="1497297551652" expanded="true" signature="5777:5819" ph="UPDATE users... " />
<marker date="1497297551652" expanded="true" signature="6241:6271" ph="SELECT id, u... users" />
</folding>
</state>
</provider>
</entry>
<entry file="file:///var/www/html/tuxbot/cogs/ci.py">
<provider selected="true" editor-type-id="text-editor">
<state relative-caret-position="2210">
<caret line="92" column="46" lean-forward="false" selection-start-line="92" selection-start-column="46" selection-end-line="92" selection-end-column="46" />
<folding>
<marker date="1499458789793" expanded="true" signature="272:523" ph="CREATE TABLE... users" />
<marker date="1499458789793" expanded="true" signature="1348:1460" ph="SELECT useri... users" />
<marker date="1499458789793" expanded="true" signature="3102:3145" ph="SELECT id, u... users" />
<marker date="1499458789793" expanded="true" signature="3365:3466" ph="INSERT INTO users... " />
<marker date="1499458789793" expanded="true" signature="3952:3995" ph="SELECT id, u... users" />
<marker date="1499458789793" expanded="true" signature="4124:4157" ph="DELETE FROM " />
<marker date="1499458789793" expanded="true" signature="4525:4568" ph="SELECT id, u... users" />
<marker date="1499458789793" expanded="true" signature="4710:4758" ph="UPDATE users... " />
<marker date="1499458789793" expanded="true" signature="5597:5640" ph="SELECT id, u... users" />
<marker date="1499458789793" expanded="true" signature="5782:5826" ph="UPDATE users... " />
<marker date="1499458789793" expanded="true" signature="6482:6525" ph="SELECT id, u... users" />
<marker date="1499458789793" expanded="true" signature="6667:6707" ph="UPDATE users... " />
<marker date="1499458789793" expanded="true" signature="7273:7316" ph="SELECT id, u... users" />
<marker date="1499458789793" expanded="true" signature="7446:7488" ph="UPDATE users... " />
<marker date="1499458789793" expanded="true" signature="7910:7940" ph="SELECT id, u... users" />
</folding>
</state>
</provider>
</entry>
<entry file="file://$PROJECT_DIR$/bot.py"> <entry file="file://$PROJECT_DIR$/bot.py">
<provider selected="true" editor-type-id="text-editor"> <provider selected="true" editor-type-id="text-editor">
<state relative-caret-position="-151"> <state relative-caret-position="447">
<caret line="100" column="4" lean-forward="false" selection-start-line="100" selection-start-column="4" selection-end-line="100" selection-end-column="4" /> <caret line="96" column="0" lean-forward="false" selection-start-line="96" selection-start-column="0" selection-end-line="96" selection-end-column="0" />
<folding /> <folding />
</state> </state>
</provider> </provider>
</entry> </entry>
<entry file="file://$USER_HOME$/Bureau/hack.py">
<provider selected="true" editor-type-id="text-editor">
<state relative-caret-position="754">
<caret line="41" column="0" lean-forward="true" selection-start-line="41" selection-start-column="0" selection-end-line="41" selection-end-column="0" />
<folding>
<element signature="e#0#14#0" expanded="true" />
<marker date="1499875343612" expanded="true" signature="289:791" ph="..." />
</folding>
</state>
</provider>
</entry>
</component> </component>
</project> </project>

16
bot.py
View file

@ -83,22 +83,8 @@ async def on_message(message):
if message.author.bot: if message.author.bot:
return return
if re.search(r'^(cc |bonjour |salut |hello |bjr |slt |s\'lut)?([^ ]+ ){0,3}(qui s\'y conna(î|i)(t|s)|des gens|quelqu\'un|qqun|des personnes|du monde s\'y connait)[^\?]+\?$',message.content):
await bot.send_message(message.channel, ":question: N'hésite pas à poser ta question directement {}, il n'est pas utile de demander si quelqu'un connait quelque chose avant ! :wink:".format(message.author.mention))
if re.match(r'^<@(\w+)>$', message.content):
await bot.send_message(message.channel, message.author.mention + " > Tu voulais lui dire quoi ? Tu le mentionne sans message !")
if re.match(r"[A-Z]{5,}", message.content) and not message.author.bot and len(message.content) > 5:
await bot.send_message(message.channel, message.author.mention + " > Evite les messages en majuscule, ce n'est pas la peine de crier !")
await bot.process_commands(message) await bot.process_commands(message)
#CHUTE
#ON RECUPERE LES MESSAGES#
print("{}@{}@{} - {}".format(message.author, message.channel.name, message.server, message.content))
fichier = open("messages.txt", "a")
fichier.write("{}@{}@{} - {} \n".format(message.author, message.channel.name, message.server, message.content))
@bot.command(pass_context=True, hidden=True) @bot.command(pass_context=True, hidden=True)
@checks.is_owner() @checks.is_owner()
async def do(ctx, times : int, *, command): async def do(ctx, times : int, *, command):