We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent dff489c commit 0c8e55eCopy full SHA for 0c8e55e
main.py
@@ -139,19 +139,6 @@ async def on_ready():
139
print('Current working dir: ' + str(os.getcwd()))
140
print(f'System directory: {homedir}')
141
print('------------------')
142
- try:
143
- botpath = 'main.py'
144
- botsize = os.path.getsize(botpath)
145
- print(f'Bot file size: {botsize}b')
146
- print('------------------')
147
- except FileNotFoundError:
148
- if os.name == 'posix':
149
150
- print('Bot file size: ' + os.path.getsize('main.py'))
151
152
153
- print('Bot file size: ' + os.path.getsize(str(os.getcwd() + '\\main.py')))
154
155
156
# Error handler #
157
@client.event
0 commit comments