class Cat:
def __init__(self, name: str, age: int):
self.name: str = name
self.age: int = age
def say_meow(self) -> None:
print('%s(%s): meow' % (self.name, self.age))
def main():
cat = Cat('yupix', 0)
cat.say_meow()
if __name__ == '__main__':
main()
yupix / discord.py Goto Github PK
View Code? Open in Web Editor NEWThis project forked from rapptz/discord.py
An API wrapper for Discord written in Python.
Home Page: http://discordpy.rtfd.org/en/latest
License: MIT License