mirror of
https://github.com/UiO-Gaming/ShiteMusicBot.git
synced 2026-11-06 14:24:30 +01:00
Merge branch 'master' into dev
This commit is contained in:
commit
2885a6284c
3 files changed
+8
-3
No files matched your search
@@ -1,6 +1,7 @@
|
||||
# Discord Packages
|
||||
import discord
|
||||
from discord.ext import commands
|
||||
from discord.flags import MemberCacheFlags
|
||||
|
||||
import codecs
|
||||
import os
|
||||
@@ -41,8 +42,12 @@ def _get_prefix(bot, message):
|
||||
|
||||
class Bot(commands.Bot):
|
||||
def __init__(self, datadir, debug: bool = False):
|
||||
intents = discord.Intents.all()
|
||||
super().__init__(command_prefix=_get_prefix,
|
||||
description=conf["bot"]["description"])
|
||||
description=conf["bot"]["description"],
|
||||
intents=intents,
|
||||
member_cache_flags=MemberCacheFlags.from_intents(intents)
|
||||
)
|
||||
|
||||
self.settings = Settings(datadir, **conf['default server settings'])
|
||||
self.APIkeys = conf.get('APIkeys', {})
|
||||
|
||||
@@ -1 +1 @@
|
||||
bot_version = "0.1.7"
|
||||
bot_version = "0.1.11"
|
||||
+1
-1
@@ -1,4 +1,4 @@
|
||||
discord.py
|
||||
discord.py == 1.7.*
|
||||
git+https://github.com/Devoxin/Lavalink.py@dev
|
||||
asyncio
|
||||
pyyaml
|
||||
|
||||
Reference in new issue
Block a user