def __init__(self, bot):
        self._bot = bot
        self._manager = AccountManager(bot)

        self.earning_rates = {
            "dog": 30,
            "cat": 30,
            "mouse": 15,
            "snake": 50,
            "spider": 50,
            "bird": 30,
            "horse": 100
        }

        self.pet_age = {
            "dog": {
                0: "puppy",
                5: "adolescent",
                10: "adult",
                15: "elder"
            },
            "cat": {
                0: "kitten",
                5: "adolescent",
                10: "adult",
                15: "elder"
            },
            "mouse": {
                0: "pup",
                5: "adolescent",
                10: "adult",
                15: "elder"
            },
            "snake": {
                0: "hatchling",
                5: "adolescent",
                10: "adult",
                15: "elder"
            },
            "spider": {
                0: "spiderling",
                5: "adolescent",
                10: "adult",
                15: "elder"
            },
            "bird": {
                0: "chick",
                5: "adolescent",
                10: "adult",
                15: "elder"
            },
            "horse": {
                0: "foal",
                5: "adolescent",
                10: "adult",
                15: "elder"
            }
        }

        self.managment.start()
Esempio n. 2
0
    def __init__(self, bot):
        self.bot = bot
        self.manager = AccountManager(bot)

        self.shop_items_food = {
            "dog food": 35,
            "cat food": 20,
            "mouse food": 10,
            "snake food": 50,
            "spider food": 45,
            "bird food": 30,
            "horse food": 60
        }
        self.shop_items_water = {
            "water": 5,
            "one bowl": 5,
            "two bowls": 10,
            "three bowls": 15,
            "four bowls": 18,
            "five bowls": 20,
            "six bowls": 22,
            "seven bowls": 25,
        }
        self.conversions = {
            "water": 1,
            "one bowl": 1,
            "two bowls": 2,
            "three bowls": 3,
            "four bowls": 4,
            "five bowls": 5,
            "six bowls": 6,
            "seven bowls": 7,
        }
Esempio n. 3
0
    def __init__(self, bot):
        self._bot = bot
        self._manager = AccountManager(bot)

        self.pet_hunger_rates = {
            "dog": (1.0, 1.5),
            "cat": (1.5, 2.0),
            "mouse": (1.0, 1.5),
            "snake": (1.25, 1.75),
            "spider": (1.0, 1.5),
            "bird": (1.0, 2.0),
            "horse": (0.75, 1.0)
        }
        self.pet_thirst_rates = {
            "dog": (0.5, 0.75),
            "cat": (1.0, 1.25),
            "mouse": (0.5, 0.75),
            "snake": (0.5, 0.75),
            "spider": (0.25, 0.5),
            "bird": (1.0, 1.25),
            "horse": (1.25, 1.5)
        }

        self.managment.start()

        self.loop_index = 0
Esempio n. 4
0
    def __init__(self, bot):
        self.bot = bot
        self.accountmanager = AccountManager(bot)

        self.deposits = {
            **dict.fromkeys(["dog", "cat", "mouse", "bird"], 100),
            **dict.fromkeys(["snake", "spider"], 200), "horse": 300
        }
Esempio n. 5
0
    def __init__(self, bot):
        self.bot = bot
        self.manager = ContManager(bot)
        self.accounts = AccountManager(bot)

        self.looper.start()

        self.chances = None
Esempio n. 6
0
    def __init__(self, bot):
        self.bot = bot
        self.manager = AccountManager(bot)

        self.conversions = {
            True: "<:greenTick:596576670815879169>",
            False: "<:redTick:596576672149667840>",
            **dict.fromkeys(["dm_notifications","dm notifictions","dms","dm"], "dm_notifications")
        }
Esempio n. 7
0
    def __init__(self, bot):
        self.bot = bot
        self.manager = AccountManager(bot)

        self.conversion = {
            "dog food": "Dog Food",
            "cat food": "Cat Food",
            "mouse food": "Mouse Food",
            "snake food": "Snake Food",
            "spider food": "Spider Food",
            "bird food": "Bird Food",
            "horse food": "Horse Food",
            "water bowls": "Water Bowls"
        }
Esempio n. 8
0
    async def convert(self, ctx, argument):
        manager = AccountManager(ctx.bot)
        has_quotes = any(
            word.startswith('"') or word.startswith("'")
            for word in argument.split(" "))

        if has_quotes and not argument.split(" ")[0].startswith(
                "'") and not argument.split(" ")[0].startswith('"'):
            raise commands.BadArgument(
                "If using quotes, they must be on the first argument, e.g. `p-rename \"pet\" new name`"
            )

        arg1 = shlex.split(argument)[0] if has_quotes else argument.split(
            " ")[0]

        return (arg1, ' '.join(argument.split(" ")[1:]))
Esempio n. 9
0
    def __init__(self, bot):
        self.bot = bot
        self.manager = AccountManager(bot)

        self.pets = ["dog", "cat", "mouse", "snake", "spider", "bird", "horse"]

        self.pet_prices = {
            "dog": 500,
            "cat": 450,
            "mouse": 100,
            "snake": 750,
            "spider": 750,
            "bird": 250,
            "horse": 1500
        }

        self.water_rates = {
            1: "one bowl",
            2: "two bowls",
            3: "three bowls",
            4: "four bowls",
            5: "five bowls",
            6: "six bowls",
            7: "seven bowls"
        }

        self.pet_info = {
            "Dog": {"Price": 500, "Earns": 30, "Rarity": "Common"},
            "Cat": {"Price": 450, "Earns": 30, "Rarity": "Common"},
            "Mouse": {"Price": 100, "Earns": 15, "Rarity": "Common"},
            "Snake": {"Price": 750, "Earns": 50, "Rarity": "Uncommon"},
            "Spider": {"Price": 750, "Earns": 50, "Rarity": "Uncommon"},
            "Bird": {"Price": 250, "Earns": 30, "Rarity": "Uncommon"},
            "Horse": {"Price": 1500, "Earns": 100, "Rarity": "Rare"}
        }

        self.baby_names = {
            "dog": "puppy",
            "cat": "kitten",
            "mouse": "pup",
            "snake": "hatchling",
            "spider": "spiderling",
            "bird": "chick",
            "horse": "foal"
        }
Esempio n. 10
0
 def __init__(self, bot):
     self.bot = bot
     self.accounts = AccountManager(bot)
     
     self.crates = {
         "voter": [100, 100, 100, 1000, 1000, 1000, 10000],
         "basic": [100, 100, 100, 1000, 1000, 1000, 10000],
         "uncommon": [1000, 1000, 1000, 10000],
         "rare": [1000, 1000, 10000, 10000],
         "omega": [1000, 10000, 10000]
     }
     
     self.prices = {
         "basic": 1000,
         "uncommon": 2000,
         "rare": 4000,
         "omega": 5000
     }
Esempio n. 11
0
    def __init__(self, **kwargs):
        self.ctx = kwargs.get("ctx")
        self.message = kwargs.get("message")
        self.entries = kwargs.get("entries")

        self.manager = AccountManager(self.ctx.bot)

        self.conversions = {
            True: "<:greenTick:596576670815879169>",
            False: "<:redTick:596576672149667840>"
        }

        self.looping = True
        self.setting = 0
        self.last_page = 0

        self.emotes = {
            "\u2b05": self.last_setting,
            "\u27a1": self.next_setting,
            "\U0001f504": self.switch_setting,
            "\u23f9": self.stop
        }
Esempio n. 12
0
    def __init__(self, bot):
        self.bot = bot
        self.manager = AccountManager(bot)

        self.conversion = {
            "dog food": "Dog Food",
            "cat food": "Cat Food",
            "mouse food": "Mouse Food",
            "snake food": "Snake Food",
            "spider food": "Spider Food",
            "bird food": "Bird Food",
            "horse food": "Horse Food",
            "water bowls": "Water Bowls"
        }

        self.badges = {
            "badget1p": "<:badget1p:652944771744268349>",
            "badget2p": "<:badget2p:652944772159242251>",
            "badgeadmin": "<:badgeadmin:653200112163618847>",
            "badgecurator": "<:badgecurator:653205137938186250>",
            "badgebug": "<:badgebug:653240070886785045>",
            "badgepetmaster": "<:badgepetmaster:653241266791907338>"
        }
Esempio n. 13
0
 def __init__(self, bot):
     self.bot = bot
     self.manager = KennelManager(bot)
     self.accounts = AccountManager(bot)
Esempio n. 14
0
    def __init__(self, bot):
        self.bot = bot

        self.manager = ContestManager(bot)
        self.accounts = AccountManager(bot)
Esempio n. 15
0
    def __init__(self, bot):
        self.bot = bot
        self.accounts = AccountManager(bot)

        self.actions = {"leaderboard": self.accounts.get_lb_accounts}
Esempio n. 16
0
    def __init__(self, bot):
        self.bot = bot
        self.kennels = km(bot)
        self.accounts = AccountManager(bot)

        self.managment.start()