File tree Expand file tree Collapse file tree 4 files changed +4
-118
lines changed Expand file tree Collapse file tree 4 files changed +4
-118
lines changed Original file line number Diff line number Diff line change 6
6
from datetime import datetime
7
7
8
8
from configuration import Config
9
- from messages import Messages
10
9
11
10
# Add cogs
12
11
from comandos .ping import Ping
16
15
from comandos .limpia import Limpia
17
16
from comandos .archivar import Archivar
18
17
from comandos .enviar import Enviar
19
- from comandos .roles import Roles
20
18
21
19
# Global instance of the server
22
20
guild = None
@@ -76,13 +74,14 @@ async def main():
76
74
bot .data_mod = data_mod [~ data_mod ["message_id" ].isin (ready_ids )]
77
75
78
76
await bot .add_cog (Ping (bot ))
79
- await bot .add_cog (Moderacion (bot ))
80
77
await bot .add_cog (Ayuda (bot ))
81
- await bot . add_cog ( FloodSpam ( bot ))
78
+
82
79
await bot .add_cog (Limpia (bot ))
83
80
await bot .add_cog (Archivar (bot ))
81
+
82
+ await bot .add_cog (Moderacion (bot ))
83
+ await bot .add_cog (FloodSpam (bot ))
84
84
await bot .add_cog (Enviar (bot ))
85
- await bot .add_cog (Roles (bot ))
86
85
87
86
# Removing the help command
88
87
# bot.remove_command("help")
Load Diff This file was deleted.
Original file line number Diff line number Diff line change @@ -12,11 +12,6 @@ muted_role="..."
12
12
[server]
13
13
guild=
14
14
15
- [roles]
16
- channel=
17
- [roles.X]
18
- desc="..."
19
-
20
15
[channels]
21
16
[channels.eventos]
22
17
main=
Original file line number Diff line number Diff line change @@ -30,9 +30,6 @@ def __init__(self):
30
30
self .BOT_ID = config ["bot" ]["id" ]
31
31
self .LOG_FILE = config ["bot" ]["log_file" ]
32
32
33
- self .ROLES_CHANNEL = config ["roles" ]["channel" ]
34
- self .ROLES = roles_info = {k :v ["desc" ] for k , v in config ["roles" ].items () if k != "channel" }
35
-
36
33
self .MOD_MAIN = config ["moderation" ]["channel_id" ]
37
34
self .MOD_ROLE = config ["moderation" ]["role" ]
38
35
self .MUTED_ROLE = config ["moderation" ]["muted_role" ]
You can’t perform that action at this time.
0 commit comments