File tree Expand file tree Collapse file tree 5 files changed +7
-6
lines changed
Expand file tree Collapse file tree 5 files changed +7
-6
lines changed Original file line number Diff line number Diff line change 99SDB_USER = ""
1010SDB_PASS = ""
1111SDB_NAMESPACE = ""
12- SDB_DATABASE = ""
12+ SDB_DATABASE = ""
13+ COMMAND_PREFIX = "a!"
Original file line number Diff line number Diff line change 3030# Set up intents and create the bot client
3131intents = nextcord .Intents .default ()
3232intents .message_content = True
33- client = commands .Bot (command_prefix = "a!" , intents = intents )
33+ client = commands .Bot (command_prefix = config . COMMAND_PREFIX , intents = intents )
3434
3535# Create an aiohttp session
3636session = aiohttp .ClientSession ()
Original file line number Diff line number Diff line change 2121 profiles_sample_rate = 1.0 ,
2222)
2323
24- client = commands .Bot (command_prefix = "a!" )
24+ client = commands .Bot (command_prefix = config . COMMAND_PREFIX )
2525
2626
2727client .help_command = None
Original file line number Diff line number Diff line change 1212
1313client = nerimity .Client (
1414 token = config .NERIMITY_TOKEN ,
15- prefix = 'a!' ,
15+ prefix = config . COMMAND_PREFIX ,
1616)
1717
1818async def send_message (endpoint , params ):
@@ -170,4 +170,4 @@ async def on_ready(client_info: dict):
170170 print (f"Logged in as { client .account .username } #{ client .account .tag } " )
171171 asyncio .create_task (iamup_loop ())
172172
173- client .run ()
173+ client .run ()
Original file line number Diff line number Diff line change 2222 profiles_sample_rate = 1.0 ,
2323)
2424
25- prefix = "gc!"
25+ prefix = config . COMMAND_PREFIX
2626
2727
2828def get_endpoint (server : revolt .Server ):
You can’t perform that action at this time.
0 commit comments