Merge branch 'dev' into database-rewrite

This commit is contained in:
2021-11-22 10:53:00 +01:00
4 changed files with 20 additions and 19 deletions
+6
View File
@@ -111,6 +111,12 @@ class TuneBot(commands.Bot):
print(f"Version: {discord.__version__}")
print(f"Invite: {self.invite_link}")
ll = self.config["lavalink"]
self.lavalink = lavalink.Client(self.user.id)
self.lavalink.add_node(
ll["host"], ll["port"], ll["password"], ll["region"], ll["name"]
)
def process_colours(self, colors: Dict[str, str]) -> Dict[str, Color]:
colour_dict: Dict[str, Color] = {}
for name, color in colors.items():