mirror of
				https://github.com/Rapptz/discord.py.git
				synced 2025-11-03 23:12:56 +00:00 
			
		
		
		
	
		
			
				
	
	
		
			41 lines
		
	
	
		
			841 B
		
	
	
	
		
			Python
		
	
	
	
	
	
			
		
		
	
	
			41 lines
		
	
	
		
			841 B
		
	
	
	
		
			Python
		
	
	
	
	
	
# -*- coding: utf-8 -*-
 | 
						|
 | 
						|
"""
 | 
						|
Discord API Wrapper
 | 
						|
~~~~~~~~~~~~~~~~~~~
 | 
						|
 | 
						|
A basic wrapper for the Discord API.
 | 
						|
 | 
						|
:copyright: (c) 2015 Rapptz
 | 
						|
:license: MIT, see LICENSE for more details.
 | 
						|
 | 
						|
"""
 | 
						|
 | 
						|
__title__ = 'discord'
 | 
						|
__author__ = 'Rapptz'
 | 
						|
__license__ = 'MIT'
 | 
						|
__copyright__ = 'Copyright 2015 Rapptz'
 | 
						|
__version__ = '0.5.1'
 | 
						|
__build__ = 0x005010
 | 
						|
 | 
						|
from .client import Client
 | 
						|
from .user import User
 | 
						|
from .channel import Channel, PrivateChannel
 | 
						|
from .server import Server, Member, Permissions, Role
 | 
						|
from .message import Message
 | 
						|
from .errors import *
 | 
						|
from .permissions import Permissions
 | 
						|
from .invite import Invite
 | 
						|
from . import utils
 | 
						|
 | 
						|
import logging
 | 
						|
 | 
						|
try:
 | 
						|
    from logging import NullHandler
 | 
						|
except ImportError:
 | 
						|
    class NullHandler(logging.Handler):
 | 
						|
        def emit(self, record):
 | 
						|
            pass
 | 
						|
 | 
						|
logging.getLogger(__name__).addHandler(NullHandler())
 |