async def setup():
    print("STARTING SETUP...")
    guild = Guild()
    
    # you should have this setup in the .env file beforehand
    guild._id          = int(os.environ.get("CHROMEY_MAINGUILD"))
    
    guild.case_id      = 1
    
    guild.role_birthday      = 123  # put in the role IDs for your server here
    guild.role_nerds         = 123  # put in the role IDs for your server here
    guild.role_moderator     = 123  # put in the role IDs for your server here
    guild.role_mute          = 123  # put in the role IDs for your server here
    guild.role_helpers       = 123
    guild.role_rules         = 123
    guild.role_timeout       = 123

    
    guild.channel_offtopic       = 123  # put in the channel IDs for your server here
    guild.channel_private        = 123  # put in the channel IDs for your server here
    guild.channel_reaction_roles = 123  # put in the channel IDs for your server here
    guild.channel_reports        = 123  # put in the channel IDs for your server here
    guild.channel_support        = 123  # put in the channel IDs for your server here
    guild.channel_deals          = 123  # put in the channel IDs for your server here
    guild.channel_modlogs        = 123  # put in the channel IDs for your server here
    
    guild.logging_excluded_channels = []  # put in a channel if you want (ignored in logging)
    guild.filter_excluded_channels  = []  # put in a channel if you want (ignored in filter)
    guild.filter_excluded_guilds    = []  # put guild ID to whitelist in invite filter if you want
    guild.save()

    print("DONE")
Example #2
0
async def setup():
    print("STARTING SETUP...")
    guild = Guild()

    # you should have this setup in the .env file beforehand
    guild._id = int(os.environ.get("BOTTY_MAINGUILD"))
    guild.nsa_guild_id = int(os.environ.get("BOTTY_NSAGUILD"))

    guild.case_id = 11154

    guild.role_dev = 123  # put in the role IDs for your server here
    guild.role_genius = 123  # put in the role IDs for your server here
    guild.role_member = 123  # put in the role IDs for your server here
    guild.role_memberedition = 123  # put in the role IDs for your server here
    guild.role_memberplus = 123  # put in the role IDs for your server here
    guild.role_memberpro = 123  # put in the role IDs for your server here
    guild.role_moderator = 123  # put in the role IDs for your server here
    guild.role_mute = 123  # put in the role IDs for your server here
    guild.role_sub_mod = 123  # put in the role IDs for your server here
    guild.role_sub_news = 123  # put in the role IDs for your server here

    guild.channel_booster_emoji = 123  # put in the channel IDs for your server here
    guild.channel_botspam = 123  # put in the channel IDs for your server here
    guild.channel_common_issues = 123  # put in the channel IDs for your server here
    guild.channel_emoji_log = 123  # put in the channel IDs for your server here
    guild.channel_private = 123  # put in the channel IDs for your server here
    guild.channel_public = 123  # put in the channel IDs for your server here
    guild.channel_reaction_roles = 123  # put in the channel IDs for your server here
    guild.channel_reports = 123  # put in the channel IDs for your server here
    guild.channel_subnews = 123  # put in the channel IDs for your server here
    guild.channel_music = 123  # put in the channel IDs for your server here

    guild.logging_excluded_channels = [
    ]  # put in a channel if you want (ignored in logging)
    guild.filter_excluded_channels = [
    ]  # put in a channel if you want (ignored in filter)
    guild.filter_excluded_guilds = [
    ]  # put guild ID to whitelist in invite filter if you want
    guild.save()

    print("DONE")