mirror of
https://github.com/Cog-Creators/Red-DiscordBot.git
synced 2025-12-06 09:22:31 -05:00
[RPC] Set custom port with flags (#2429)
* [RPC] Set custom port with flags * Add changelog entry
This commit is contained in:
@@ -79,7 +79,7 @@ def init_events(bot, cli_flags):
|
||||
print("Loaded packages: " + ", ".join(packages))
|
||||
|
||||
if bot.rpc_enabled:
|
||||
await bot.rpc.initialize()
|
||||
await bot.rpc.initialize(bot.rpc_port)
|
||||
|
||||
guilds = len(bot.guilds)
|
||||
users = len(set([m for m in bot.get_all_members()]))
|
||||
|
||||
Reference in New Issue
Block a user