This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
      Learn more about bidirectional Unicode characters
    
  
  
    
  | <?php | |
| require __DIR__ . '/../vendor/autoload.php'; | |
| try { | |
| $error = null; | |
| $googleClientId = 'YOUR_GOOGLE_CLIENT_ID'; | |
| $userData = []; | |
| if (isset($_POST['credential'], $_POST['g_csrf_token'])) { | 
  
    
      This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
      Learn more about bidirectional Unicode characters
    
  
  
    
  | from discord.ext import commands | |
| # The check to ensure this is the guild used where the command was made | |
| def guild_check(_custom_commands): | |
| async def predicate(ctx): | |
| return _custom_commands.get(ctx.command.qualified_name) and ctx.guild.id in _custom_commands.get(ctx.command.qualified_name) | |
| return commands.check(predicate) | |
| class CustomCommands(commands.Cog): |