-
Notifications
You must be signed in to change notification settings - Fork 0
III. Dependencies
These are backend and frontend requirements that must be fulfilled in order for the bot to function. It is assumed that the raw Python code itself is all present and functional.
aiohttp==3.7.4.post0
async-timeout==3.0.1
attrs==21.4.0
certifi==2021.10.8
chardet==4.0.0
charset-normalizer==2.0.10
discord==1.7.3
discord.py==1.7.3
docopt==0.6.2
idna==3.3
multidict==5.2.0
pipreqs==0.4.11
requests==2.27.1
typing_extensions==4.0.1
urllib3==1.26.7
yarg==0.1.9
yarl==1.7.2from datetime import datetime
import time
import asyncio
import discord
from discord import channel
from discord.client import Client
from discord.errors import NotFound
from discord.ext import commands
import urllib.request
import urllib.error
import re
import json
import logging
import turtle_jsonSeveral of these are for quality of life additions to the bot, however most are required for the core functionality.
import discord is the most important of all. This imports Discord.py.
import urllib.request and import urllib.error are for checking the user's RSI name and verifying, in the least, that it exists. Although no simple solution can be implemented to verify that the user is giving their true RSI username, this can help cut down on typos and human error.
import turtle_json is the statement to import a custom library that I wrote for this project. Using JSON, it properly reads and writes in a dictionary-convertible format for the Discord API. On top of this, it is customizable for our specific logging purposes for the organization.
import logging is a Discord.py specific module that automates session-by-session logging for the Discord client. It does not make the error log, that is custom. This is only for sessions and wipes after the session, exclusively used for debugging.
The rest are fairly standard Python libraries for simplicity of code and more diverse functionality.
| Home
| INVFED Website
| INVFED RSI Page
| INVFED Discord Server
| Turtle-12 GitHub
| Please report issues on the issues page.
|
This is an unofficial Star Citizen tool, not affiliated with the Cloud Imperium group of companies. All content on this site not authored by its host or users are property of their respective owners. This project is not endorsed by or affiliated with the Cloud Imperium or Roberts Space Industries group of companies. All game content and materials are copyright Cloud Imperium Rights LLC, Cloud Imperium Rights Ltd, Star Citizen®, Squadron 42®, Roberts Space Industries®, and Cloud Imperium® are registered trademarks of Cloud Imperium Rights LLC. All rights reserved.