{"action":"created","comment":{"url":"https://api.github.com/repos/Twentysix26/Red-Cogs/pulls/comments/66173679","id":66173679,"diff_hunk":"@@ -0,0 +1,617 @@\n+import discord\n+import os\n+import asyncio\n+from discord.ext import commands\n+from .utils.dataIO import fileIO\n+from random import randint\n+from .utils import checks\n+from __main__ import send_cmd_help\n+from cogs.economy import check_folders\n+\n+\n+class Blackjack:\n+    \"\"\"Blackjack economy addition cog\"\"\"\n+\n+    def __init__(self, bot):\n+        self.bot = bot\n+        self.bank = fileIO(\"data/economy/bank.json\", \"load\")","path":"cogs/blackjack/blackjack.py","position":17,"original_position":17,"commit_id":"44a40bc20bc0f76b643ea3d9d7001121116e7ca2","original_commit_id":"44a40bc20bc0f76b643ea3d9d7001121116e7ca2","user":{"login":"irdumbs","id":15660809,"avatar_url":"https://avatars.githubusercontent.com/u/15660809?v=3","gravatar_id":"","url":"https://api.github.com/users/irdumbs","html_url":"https://github.com/irdumbs","followers_url":"https://api.github.com/users/irdumbs/followers","following_url":"https://api.github.com/users/irdumbs/following{/other_user}","gists_url":"https://api.github.com/users/irdumbs/gists{/gist_id}","starred_url":"https://api.github.com/users/irdumbs/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/irdumbs/subscriptions","organizations_url":"https://api.github.com/users/irdumbs/orgs","repos_url":"https://api.github.com/users/irdumbs/repos","events_url":"https://api.github.com/users/irdumbs/events{/privacy}","received_events_url":"https://api.github.com/users/irdumbs/received_events","type":"User","site_admin":false},"body":"don't edit file outside of it's own subfolder please.\r\nyou don't know what the future format of those files will be.\r\nuse the functions economy provides to edit it's data.","created_at":"2016-06-08T00:00:50Z","updated_at":"2016-06-08T00:00:50Z","html_url":"https://github.com/Twentysix26/Red-Cogs/pull/51#discussion_r66173679","pull_request_url":"https://api.github.com/repos/Twentysix26/Red-Cogs/pulls/51","_links":{"self":{"href":"https://api.github.com/repos/Twentysix26/Red-Cogs/pulls/comments/66173679"},"html":{"href":"https://github.com/Twentysix26/Red-Cogs/pull/51#discussion_r66173679"},"pull_request":{"href":"https://api.github.com/repos/Twentysix26/Red-Cogs/pulls/51"}}},"pull_request":{"url":"https://api.github.com/repos/Twentysix26/Red-Cogs/pulls/51","id":72487158,"html_url":"https://github.com/Twentysix26/Red-Cogs/pull/51","diff_url":"https://github.com/Twentysix26/Red-Cogs/pull/51.diff","patch_url":"https://github.com/Twentysix26/Red-Cogs/pull/51.patch","issue_url":"https://api.github.com/repos/Twentysix26/Red-Cogs/issues/51","number":51,"state":"open","locked":false,"title":"Blackjack cog!","user":{"login":"ajm1996","id":7750075,"avatar_url":"https://avatars.githubusercontent.com/u/7750075?v=3","gravatar_id":"","url":"https://api.github.com/users/ajm1996","html_url":"https://github.com/ajm1996","followers_url":"https://api.github.com/users/ajm1996/followers","following_url":"https://api.github.com/users/ajm1996/following{/other_user}","gists_url":"https://api.github.com/users/ajm1996/gists{/gist_id}","starred_url":"https://api.github.com/users/ajm1996/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ajm1996/subscriptions","organizations_url":"https://api.github.com/users/ajm1996/orgs","repos_url":"https://api.github.com/users/ajm1996/repos","events_url":"https://api.github.com/users/ajm1996/events{/privacy}","received_events_url":"https://api.github.com/users/ajm1996/received_events","type":"User","site_admin":false},"body":"Converted blackjack economy cog pull request into it's own cog. Full blackjack\r\nminigame that integrates with Red's economy system and currency.\r\n![image](https://cloud.githubusercontent.com/assets/7750075/15776481/c676b5a6-2955-11e6-9d97-7e959f85b4e2.png)\r\n","created_at":"2016-06-03T10:38:31Z","updated_at":"2016-06-08T00:00:50Z","closed_at":null,"merged_at":null,"merge_commit_sha":"12bce402bd244bb6da78fe48f645d584378f69b7","assignee":null,"milestone":null,"commits_url":"https://api.github.com/repos/Twentysix26/Red-Cogs/pulls/51/commits","review_comments_url":"https://api.github.com/repos/Twentysix26/Red-Cogs/pulls/51/comments","review_comment_url":"https://api.github.com/repos/Twentysix26/Red-Cogs/pulls/comments{/number}","comments_url":"https://api.github.com/repos/Twentysix26/Red-Cogs/issues/51/comments","statuses_url":"https://api.github.com/repos/Twentysix26/Red-Cogs/statuses/44a40bc20bc0f76b643ea3d9d7001121116e7ca2","head":{"label":"ajm1996:master","ref":"master","sha":"44a40bc20bc0f76b643ea3d9d7001121116e7ca2","user":{"login":"ajm1996","id":7750075,"avatar_url":"https://avatars.githubusercontent.com/u/7750075?v=3","gravatar_id":"","url":"https://api.github.com/users/ajm1996","html_url":"https://github.com/ajm1996","followers_url":"https://api.github.com/users/ajm1996/followers","following_url":"https://api.github.com/users/ajm1996/following{/other_user}","gists_url":"https://api.github.com/users/ajm1996/gists{/gist_id}","starred_url":"https://api.github.com/users/ajm1996/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ajm1996/subscriptions","organizations_url":"https://api.github.com/users/ajm1996/orgs","repos_url":"https://api.github.com/users/ajm1996/repos","events_url":"https://api.github.com/users/ajm1996/events{/privacy}","received_events_url":"https://api.github.com/users/ajm1996/received_events","type":"User","site_admin":false},"repo":{"id":60326561,"name":"Red-Cogs","full_name":"ajm1996/Red-Cogs","owner":{"login":"ajm1996","id":7750075,"avatar_url":"https://avatars.githubusercontent.com/u/7750075?v=3","gravatar_id":"","url":"https://api.github.com/users/ajm1996","html_url":"https://github.com/ajm1996","followers_url":"https://api.github.com/users/ajm1996/followers","following_url":"https://api.github.com/users/ajm1996/following{/other_user}","gists_url":"https://api.github.com/users/ajm1996/gists{/gist_id}","starred_url":"https://api.github.com/users/ajm1996/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ajm1996/subscriptions","organizations_url":"https://api.github.com/users/ajm1996/orgs","repos_url":"https://api.github.com/users/ajm1996/repos","events_url":"https://api.github.com/users/ajm1996/events{/privacy}","received_events_url":"https://api.github.com/users/ajm1996/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/ajm1996/Red-Cogs","description":"A repository that hosts user made cogs for Red","fork":true,"url":"https://api.github.com/repos/ajm1996/Red-Cogs","forks_url":"https://api.github.com/repos/ajm1996/Red-Cogs/forks","keys_url":"https://api.github.com/repos/ajm1996/Red-Cogs/keys{/key_id}","collaborators_url":"https://api.github.com/repos/ajm1996/Red-Cogs/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/ajm1996/Red-Cogs/teams","hooks_url":"https://api.github.com/repos/ajm1996/Red-Cogs/hooks","issue_events_url":"https://api.github.com/repos/ajm1996/Red-Cogs/issues/events{/number}","events_url":"https://api.github.com/repos/ajm1996/Red-Cogs/events","assignees_url":"https://api.github.com/repos/ajm1996/Red-Cogs/assignees{/user}","branches_url":"https://api.github.com/repos/ajm1996/Red-Cogs/branches{/branch}","tags_url":"https://api.github.com/repos/ajm1996/Red-Cogs/tags","blobs_url":"https://api.github.com/repos/ajm1996/Red-Cogs/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/ajm1996/Red-Cogs/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/ajm1996/Red-Cogs/git/refs{/sha}","trees_url":"https://api.github.com/repos/ajm1996/Red-Cogs/git/trees{/sha}","statuses_url":"https://api.github.com/repos/ajm1996/Red-Cogs/statuses/{sha}","languages_url":"https://api.github.com/repos/ajm1996/Red-Cogs/languages","stargazers_url":"https://api.github.com/repos/ajm1996/Red-Cogs/stargazers","contributors_url":"https://api.github.com/repos/ajm1996/Red-Cogs/contributors","subscribers_url":"https://api.github.com/repos/ajm1996/Red-Cogs/subscribers","subscription_url":"https://api.github.com/repos/ajm1996/Red-Cogs/subscription","commits_url":"https://api.github.com/repos/ajm1996/Red-Cogs/commits{/sha}","git_commits_url":"https://api.github.com/repos/ajm1996/Red-Cogs/git/commits{/sha}","comments_url":"https://api.github.com/repos/ajm1996/Red-Cogs/comments{/number}","issue_comment_url":"https://api.github.com/repos/ajm1996/Red-Cogs/issues/comments{/number}","contents_url":"https://api.github.com/repos/ajm1996/Red-Cogs/contents/{+path}","compare_url":"https://api.github.com/repos/ajm1996/Red-Cogs/compare/{base}...{head}","merges_url":"https://api.github.com/repos/ajm1996/Red-Cogs/merges","archive_url":"https://api.github.com/repos/ajm1996/Red-Cogs/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/ajm1996/Red-Cogs/downloads","issues_url":"https://api.github.com/repos/ajm1996/Red-Cogs/issues{/number}","pulls_url":"https://api.github.com/repos/ajm1996/Red-Cogs/pulls{/number}","milestones_url":"https://api.github.com/repos/ajm1996/Red-Cogs/milestones{/number}","notifications_url":"https://api.github.com/repos/ajm1996/Red-Cogs/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/ajm1996/Red-Cogs/labels{/name}","releases_url":"https://api.github.com/repos/ajm1996/Red-Cogs/releases{/id}","deployments_url":"https://api.github.com/repos/ajm1996/Red-Cogs/deployments","created_at":"2016-06-03T07:12:09Z","updated_at":"2016-06-03T07:12:10Z","pushed_at":"2016-06-03T10:34:48Z","git_url":"git://github.com/ajm1996/Red-Cogs.git","ssh_url":"git@github.com:ajm1996/Red-Cogs.git","clone_url":"https://github.com/ajm1996/Red-Cogs.git","svn_url":"https://github.com/ajm1996/Red-Cogs","homepage":null,"size":253,"stargazers_count":0,"watchers_count":0,"language":"Python","has_issues":false,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":0,"mirror_url":null,"open_issues_count":0,"forks":0,"open_issues":0,"watchers":0,"default_branch":"master"}},"base":{"label":"Twentysix26:master","ref":"master","sha":"fed340650fba54f2d81afae24ef3a641e3422759","user":{"login":"Twentysix26","id":6267772,"avatar_url":"https://avatars.githubusercontent.com/u/6267772?v=3","gravatar_id":"","url":"https://api.github.com/users/Twentysix26","html_url":"https://github.com/Twentysix26","followers_url":"https://api.github.com/users/Twentysix26/followers","following_url":"https://api.github.com/users/Twentysix26/following{/other_user}","gists_url":"https://api.github.com/users/Twentysix26/gists{/gist_id}","starred_url":"https://api.github.com/users/Twentysix26/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Twentysix26/subscriptions","organizations_url":"https://api.github.com/users/Twentysix26/orgs","repos_url":"https://api.github.com/users/Twentysix26/repos","events_url":"https://api.github.com/users/Twentysix26/events{/privacy}","received_events_url":"https://api.github.com/users/Twentysix26/received_events","type":"User","site_admin":false},"repo":{"id":52436946,"name":"Red-Cogs","full_name":"Twentysix26/Red-Cogs","owner":{"login":"Twentysix26","id":6267772,"avatar_url":"https://avatars.githubusercontent.com/u/6267772?v=3","gravatar_id":"","url":"https://api.github.com/users/Twentysix26","html_url":"https://github.com/Twentysix26","followers_url":"https://api.github.com/users/Twentysix26/followers","following_url":"https://api.github.com/users/Twentysix26/following{/other_user}","gists_url":"https://api.github.com/users/Twentysix26/gists{/gist_id}","starred_url":"https://api.github.com/users/Twentysix26/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Twentysix26/subscriptions","organizations_url":"https://api.github.com/users/Twentysix26/orgs","repos_url":"https://api.github.com/users/Twentysix26/repos","events_url":"https://api.github.com/users/Twentysix26/events{/privacy}","received_events_url":"https://api.github.com/users/Twentysix26/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/Twentysix26/Red-Cogs","description":"A repository that hosts user made cogs for Red","fork":false,"url":"https://api.github.com/repos/Twentysix26/Red-Cogs","forks_url":"https://api.github.com/repos/Twentysix26/Red-Cogs/forks","keys_url":"https://api.github.com/repos/Twentysix26/Red-Cogs/keys{/key_id}","collaborators_url":"https://api.github.com/repos/Twentysix26/Red-Cogs/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/Twentysix26/Red-Cogs/teams","hooks_url":"https://api.github.com/repos/Twentysix26/Red-Cogs/hooks","issue_events_url":"https://api.github.com/repos/Twentysix26/Red-Cogs/issues/events{/number}","events_url":"https://api.github.com/repos/Twentysix26/Red-Cogs/events","assignees_url":"https://api.github.com/repos/Twentysix26/Red-Cogs/assignees{/user}","branches_url":"https://api.github.com/repos/Twentysix26/Red-Cogs/branches{/branch}","tags_url":"https://api.github.com/repos/Twentysix26/Red-Cogs/tags","blobs_url":"https://api.github.com/repos/Twentysix26/Red-Cogs/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/Twentysix26/Red-Cogs/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/Twentysix26/Red-Cogs/git/refs{/sha}","trees_url":"https://api.github.com/repos/Twentysix26/Red-Cogs/git/trees{/sha}","statuses_url":"https://api.github.com/repos/Twentysix26/Red-Cogs/statuses/{sha}","languages_url":"https://api.github.com/repos/Twentysix26/Red-Cogs/languages","stargazers_url":"https://api.github.com/repos/Twentysix26/Red-Cogs/stargazers","contributors_url":"https://api.github.com/repos/Twentysix26/Red-Cogs/contributors","subscribers_url":"https://api.github.com/repos/Twentysix26/Red-Cogs/subscribers","subscription_url":"https://api.github.com/repos/Twentysix26/Red-Cogs/subscription","commits_url":"https://api.github.com/repos/Twentysix26/Red-Cogs/commits{/sha}","git_commits_url":"https://api.github.com/repos/Twentysix26/Red-Cogs/git/commits{/sha}","comments_url":"https://api.github.com/repos/Twentysix26/Red-Cogs/comments{/number}","issue_comment_url":"https://api.github.com/repos/Twentysix26/Red-Cogs/issues/comments{/number}","contents_url":"https://api.github.com/repos/Twentysix26/Red-Cogs/contents/{+path}","compare_url":"https://api.github.com/repos/Twentysix26/Red-Cogs/compare/{base}...{head}","merges_url":"https://api.github.com/repos/Twentysix26/Red-Cogs/merges","archive_url":"https://api.github.com/repos/Twentysix26/Red-Cogs/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/Twentysix26/Red-Cogs/downloads","issues_url":"https://api.github.com/repos/Twentysix26/Red-Cogs/issues{/number}","pulls_url":"https://api.github.com/repos/Twentysix26/Red-Cogs/pulls{/number}","milestones_url":"https://api.github.com/repos/Twentysix26/Red-Cogs/milestones{/number}","notifications_url":"https://api.github.com/repos/Twentysix26/Red-Cogs/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/Twentysix26/Red-Cogs/labels{/name}","releases_url":"https://api.github.com/repos/Twentysix26/Red-Cogs/releases{/id}","deployments_url":"https://api.github.com/repos/Twentysix26/Red-Cogs/deployments","created_at":"2016-02-24T11:21:43Z","updated_at":"2016-05-31T10:49:06Z","pushed_at":"2016-06-03T23:26:47Z","git_url":"git://github.com/Twentysix26/Red-Cogs.git","ssh_url":"git@github.com:Twentysix26/Red-Cogs.git","clone_url":"https://github.com/Twentysix26/Red-Cogs.git","svn_url":"https://github.com/Twentysix26/Red-Cogs","homepage":null,"size":358,"stargazers_count":11,"watchers_count":11,"language":"Python","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":19,"mirror_url":null,"open_issues_count":11,"forks":19,"open_issues":11,"watchers":11,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/Twentysix26/Red-Cogs/pulls/51"},"html":{"href":"https://github.com/Twentysix26/Red-Cogs/pull/51"},"issue":{"href":"https://api.github.com/repos/Twentysix26/Red-Cogs/issues/51"},"comments":{"href":"https://api.github.com/repos/Twentysix26/Red-Cogs/issues/51/comments"},"review_comments":{"href":"https://api.github.com/repos/Twentysix26/Red-Cogs/pulls/51/comments"},"review_comment":{"href":"https://api.github.com/repos/Twentysix26/Red-Cogs/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/Twentysix26/Red-Cogs/pulls/51/commits"},"statuses":{"href":"https://api.github.com/repos/Twentysix26/Red-Cogs/statuses/44a40bc20bc0f76b643ea3d9d7001121116e7ca2"}}}}
{"actor":{"display_login":"irdumbs"}}