mirror of
https://github.com/bombsquad-community/plugin-manager.git
synced 2025-11-07 17:36:00 +00:00
[ci] auto-format
This commit is contained in:
parent
b08b5d12be
commit
3531577e0c
1 changed files with 1 additions and 1 deletions
|
|
@ -761,7 +761,7 @@ class DiscordRP(babase.Plugin):
|
||||||
offlinename = json.loads(bs.get_game_roster()[0]["spec_string"])[
|
offlinename = json.loads(bs.get_game_roster()[0]["spec_string"])[
|
||||||
"n"
|
"n"
|
||||||
]
|
]
|
||||||
if len(offlinename) > 19: # Thanks Rikko
|
if len(offlinename) > 19: # Thanks Rikko
|
||||||
self.rpc_thread.state = offlinename[slice(19)] + "..."
|
self.rpc_thread.state = offlinename[slice(19)] + "..."
|
||||||
else:
|
else:
|
||||||
self.rpc_thread.state = offlinename
|
self.rpc_thread.state = offlinename
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue