Bump version to 1.6.0

This commit is contained in:
Zeva Rose 2021-07-25 01:29:28 -06:00
parent 44d6b5675e
commit fb7c49cf5c
3 changed files with 3 additions and 14 deletions

View file

@ -44,7 +44,7 @@ jarvis = commands.Bot(
)
slash = SlashCommand(jarvis, sync_commands=True, sync_on_cog_reload=True)
jarvis_self = Process()
__version__ = "1.5.8"
__version__ = "1.6.0"
db = DBManager(get_config().mongo).mongo

View file

@ -7,8 +7,6 @@ from jarvis.db.types import Setting
from jarvis.utils import build_embed
from jarvis.utils.field import Field
guild_ids = [862402786116763668]
class RolegiverCog(commands.Cog):
def __init__(self, bot):
@ -18,7 +16,6 @@ class RolegiverCog(commands.Cog):
base="rolegiver",
name="add",
description="Add a role to rolegiver",
guild_ids=guild_ids,
options=[
create_option(
name="role",
@ -76,7 +73,6 @@ class RolegiverCog(commands.Cog):
base="rolegiver",
name="remove",
description="Remove a role from rolegiver",
guild_ids=guild_ids,
options=[
create_option(
name="role",
@ -133,7 +129,6 @@ class RolegiverCog(commands.Cog):
base="rolegiver",
name="list",
description="List roles rolegiver",
guild_ids=guild_ids,
)
async def _rolegiver_list(self, ctx: SlashContext):
setting = Setting.get(guild=ctx.guild.id, setting="rolegiver")
@ -171,7 +166,6 @@ class RolegiverCog(commands.Cog):
base="role",
name="get",
description="Get a role from rolegiver",
guild_ids=guild_ids,
options=[
create_option(
name="role",
@ -229,7 +223,6 @@ class RolegiverCog(commands.Cog):
base="role",
name="forfeit",
description="Have rolegiver take away role",
guild_ids=guild_ids,
options=[
create_option(
name="role",

View file

@ -13,8 +13,6 @@ from jarvis.data.robotcamo import emotes, names
from jarvis.utils import build_embed, convert_bytesize, get_repo_hash
from jarvis.utils.field import Field
guild_ids = [862402786116763668]
class UtilCog(commands.Cog):
"""
@ -125,7 +123,6 @@ class UtilCog(commands.Cog):
@cog_ext.cog_slash(
name="roleinfo",
description="Get role info",
guild_ids=guild_ids,
options=[
create_option(
name="role",
@ -179,7 +176,6 @@ class UtilCog(commands.Cog):
@cog_ext.cog_slash(
name="userinfo",
description="Get user info",
guild_ids=guild_ids,
options=[
create_option(
name="user",
@ -199,11 +195,11 @@ class UtilCog(commands.Cog):
fields = [
Field(
name="Joined",
value=user.joined_at.strftime("%a, %b %d, %Y %I:%M %p"),
value=user.joined_at.strftime("%a, %b %-d, %Y %-I:%M %p"),
),
Field(
name="Registered",
value=user.created_at.strftime("%a, %b %d, %Y %I:%M %p"),
value=user.created_at.strftime("%a, %b %-d, %Y %-I:%M %p"),
),
Field(
name=f"Roles [{len(user_roles)}]",